/* Local, licensed type and the approved mark keep the publisher self-contained. */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/Literata-latin.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fff;
  --ink: #183348;
  --body: #3d4e59;
  --rule: #c6cdca;
  --on-ink: #e2e9ed;
  --display: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; scrollbar-color: var(--ink) var(--paper); scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
::selection { color: var(--white); background: var(--ink); }
a { color: inherit; text-underline-offset: 0.3em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
svg { flex: 0 0 auto; }
.container { width: min(100% - 6rem, 1184px); margin-inline: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-optical-sizing: auto; text-wrap: balance; }
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  z-index: 2;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.header-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.25rem;
}
.brand { display: block; margin-left: -1rem; }
/* Only blank canvas margins are cropped; the approved PNG is unchanged. */
.brand-frame { display: block; position: relative; width: 260px; height: 60px; overflow: hidden; }
.brand img { position: absolute; width: 260px; height: auto; top: 50%; transform: translateY(-50%); }
.primary-nav { display: flex; justify-content: flex-end; align-items: center; gap: 1.8rem; font-size: 0.95rem; }
.primary-nav a { display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; text-decoration: none; }
.primary-nav a:hover { text-decoration: underline; }
.language-switch {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2.25rem;
  border-left: 1px solid var(--rule);
  font-size: 0.85rem;
}
.language-switch a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; }
.language-switch a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; }
.language-switch a:hover { text-decoration: underline; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  align-items: end;
  gap: 3.5rem;
  padding-block: 6rem 5.5rem;
}
h1 { font-size: clamp(2.75rem, 5.25vw, 4.65rem); line-height: 1.14; letter-spacing: -0.035em; }
h1 span { display: block; }
.hero-introduction { padding-bottom: 0.25rem; }
.hero-description { color: var(--body); max-width: 68ch; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 50px;
  margin-top: 1.75rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: #294c64; border-color: #294c64; }
.journals { padding-block: 2.5rem 4.5rem; border-top: 1px solid var(--rule); }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.15rem); line-height: 1.3; letter-spacing: -0.025em; }
.journal {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 2fr);
  gap: 3rem;
  margin-top: 2rem;
  padding: 3rem;
  background: var(--ink);
  color: var(--paper);
}
.journal-abbreviation {
  padding-top: 0.15rem;
  font-family: "Literata", Georgia, serif;
  font-size: clamp(2.75rem, 4.2vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.journal-content { min-width: 0; padding-left: 3rem; border-left: 1px solid #7c929f; }
h3 { max-width: 32ch; font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.27; letter-spacing: -0.025em; }
.journal-content p { margin-top: 1.3rem; max-width: 68ch; color: var(--on-ink); }
.journal-facts { margin: 1.5rem 0 0; padding: 0; color: var(--on-ink); font-size: 1rem; }
.journal-facts > div { padding-block: 0.8rem; border-top: 1px solid #7c929f; }
.journal-facts dt { color: var(--paper); font-weight: 600; }
.journal-facts dd { margin: 0.15rem 0 0; max-width: 68ch; }
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 48px;
  margin-top: 1.65rem;
  padding: 0.55rem 1rem;
  border: 1px solid #a9bdc9;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.journal a:focus-visible { outline-color: var(--paper); }
.about, .author-resources {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: 4rem;
  padding-block: 3rem 4.5rem;
  border-top: 1px solid var(--rule);
}
.about p, .author-resources p { max-width: 68ch; color: var(--body); }
.resource-links { margin: 1.25rem 0 0; padding: 0; list-style: none; }
.resource-links li { border-bottom: 1px solid var(--rule); }
.resource-links a { display: flex; align-items: center; min-height: 48px; padding-block: 0.65rem; font-size: 1rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 1.25rem; font-size: 0.875rem; color: var(--body); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { text-decoration-thickness: 2px; }
html[lang="zh-Hans"] { --display: "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif; --sans: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif; }
html[lang="zh-Hans"] h1 { font-size: clamp(2.75rem, 4.5vw, 4rem); line-height: 1.3; letter-spacing: 0; }
html[lang="zh-Hans"] h2 { letter-spacing: 0; }
html[lang="zh-Hans"] h1 .hero-phrase { display: inline-block; white-space: nowrap; }
html[lang="zh-Hans"] .journal-content h3 { font-family: "Literata", Georgia, serif; }
html[lang="zh-Hant"] { --display: "Noto Serif CJK TC", "Source Han Serif TC", PMingLiU, serif; --sans: "Microsoft JhengHei", "PingFang TC", "Segoe UI", sans-serif; }
html[lang="zh-Hant"] h1 { font-size: clamp(2.75rem, 4.5vw, 4rem); line-height: 1.3; letter-spacing: 0; }
html[lang="zh-Hant"] h2 { letter-spacing: 0; }
html[lang="zh-Hant"] h1 .hero-phrase { display: inline-block; white-space: nowrap; }
html[lang="zh-Hant"] .journal-content h3 { font-family: "Literata", Georgia, serif; }
@media (max-width: 1023px) {
  .container { width: calc(100% - 4rem); }
  .header-inner { gap: 1.5rem; }
  .brand-frame { width: 215px; height: 56px; }
  .brand img { width: 215px; }
  .primary-nav { gap: 1rem; }
  .language-switch { gap: 0.8rem; padding-left: 1.5rem; }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 4.5rem 4rem; }
  h1 { font-size: clamp(3rem, 6.7vw, 4.5rem); }
  .hero-introduction { max-width: 42rem; }
  .journal { grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr); padding: 2rem; gap: 2rem; }
  .journal-content { padding-left: 2rem; }
  .about, .author-resources { gap: 3rem; }
}
@media (max-width: 767px) {
  .container { width: calc(100% - 2.5rem); }
  .header-inner { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-block: 0.45rem; }
  .brand { grid-column: 1 / -1; margin-left: -0.7rem; }
  .brand-frame { width: 195px; height: 50px; }
  .brand img { width: 195px; }
  .primary-nav { justify-content: flex-start; gap: 1rem; font-size: 0.8rem; }
  .language-switch { padding-left: 0; border-left: 0; gap: 0.85rem; font-size: 0.8rem; }
  .hero { gap: 1.6rem; padding-block: 3.25rem 3rem; }
  h1 { font-size: clamp(2.4rem, 7.9vw, 3.7rem); line-height: 1.16; letter-spacing: -0.03em; }
  .hero-description { font-size: 1.05rem; }
  .button { margin-top: 1.4rem; }
  .journals { padding-block: 2rem 3rem; }
  h2 { font-size: 1.8rem; }
  .journal { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.6rem; padding: 1.75rem 1.5rem; }
  .journal-abbreviation { font-size: 2.5rem; }
  .journal-content { padding-top: 1.5rem; padding-left: 0; border-top: 1px solid #7c929f; border-left: 0; }
  h3 { font-size: clamp(1.85rem, 5.6vw, 2.35rem); }
  .journal-content p { font-size: 1.05rem; }
  .text-link { margin-top: 1.5rem; }
  .about, .author-resources { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2.25rem 3rem; }
  .about p, .author-resources p { font-size: 1.05rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 0.5rem; padding-block: 1rem; font-size: 0.8rem; }
  .footer-links { gap: 0.25rem 1.5rem; }
  html[lang="zh-Hans"] h1 { font-size: clamp(2.2rem, 7.5vw, 3.5rem); line-height: 1.4; }
  html[lang="zh-Hant"] h1 { font-size: clamp(2.2rem, 7.5vw, 3.5rem); line-height: 1.4; }
}
@media (max-width: 359px) {
  .header-inner { grid-template-columns: 1fr; }
  .language-switch { grid-row: 3; }
  .primary-nav { gap: 1.5rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
