@font-face {
  font-family: "Pinyon Script";
  src: url("/fonts/pinyon-script.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --forest: #182C25;
  --ivory: #F2EDE3;
  --bronze: #A68B58;
  --warm-gold: #C5A66A;
  --walnut: #49372C;
  --ink: #262626;
  --deep: var(--forest);
  --muted: var(--walnut);
  --line: color-mix(in srgb, var(--walnut) 26%, var(--ivory));
  --pale: color-mix(in srgb, var(--bronze) 11%, var(--ivory));
  --serif: Georgia, "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: system-ui, -apple-system, "Noto Sans TC", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --brand-serif: "Cormorant Garamond", Georgia, serif;
  --brand-shadow: 1px 3px 3px rgba(0, 0, 0, .65);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.75 var(--sans); }
a { color: var(--deep); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--deep); font-weight: 500; line-height: 1.18; margin: 0 0 .55em; }
h1 { font-size: clamp(2.35rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.85rem); }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap, .measure { margin-inline: auto; width: min(calc(100% - 3rem), 74rem); }
.measure { max-width: 49rem; }
.skip { position: absolute; inset: .5rem auto auto .5rem; z-index: 20; padding: .5rem 1rem; background: var(--ivory); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header, .site-footer, .gallery-hero { background: var(--forest); color: var(--ivory); }
.site-header { position: relative; z-index: 4; border-bottom: 1px solid var(--bronze); }
.header-inner { min-height: 5.25rem; display: flex; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.wordmark { display: block; flex: none; width: clamp(10.75rem, 24vw, 14.2rem); text-decoration: none; }
.wordmark img { width: 100%; aspect-ratio: 227.379 / 48.516; }
.footer-brand {
  color: var(--warm-gold);
  font: 400 clamp(1.6rem, 3vw, 2.15rem)/.95 var(--script);
  text-shadow: var(--brand-shadow);
}
.footer-brand small {
  display: block;
  margin-top: .2rem;
  font: 400 clamp(.75rem, 1.6vw, 1.05rem)/1.1 var(--brand-serif);
  letter-spacing: .075em;
}
.header-inner nav, .site-footer nav { display: flex; gap: .5rem clamp(.75rem, 2.1vw, 2rem); flex-wrap: wrap; }
.header-inner nav a, .site-footer nav a { color: inherit; text-decoration: none; }
.header-inner nav a:is(:hover,[aria-current]), .site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--bronze); }
.menu-toggle { display: none; background: transparent; color: inherit; border: 1px solid var(--bronze); padding: .38rem .74rem; }
.hero-grid, .feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.hero-grid { min-height: min(40rem, 84svh); padding-block: clamp(3rem, 6vw, 6rem); }
.hero-grid h1 { color: var(--ivory); font-size: clamp(2.6rem, 5.8vw, 5.25rem); letter-spacing: -.045em; }
.hero-grid h1 + p { font-size: clamp(1.16rem, 2vw, 1.55rem); }
.motto { font-family: var(--serif); font-style: italic; margin-bottom: .8rem; }
.hero-grid figure, .collection-hero figure { width: min(100%, 28rem); justify-self: end; }
.hero-grid figure img, .feature-image img, .collection-hero figure img, .collection-card > a > img { width: 100%; object-fit: contain; }
.hero-grid figure img { border: 1px solid var(--bronze); }
.hero-grid figcaption { display: flex; justify-content: space-between; gap: .5rem; padding-top: .55rem; font-size: .8rem; }
.button, button[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .58rem 1.15rem; min-height: 2.75rem; background: var(--forest); color: var(--ivory); border: 1px solid var(--forest); text-decoration: none; }
.button:hover, button[type=submit]:hover { background: var(--walnut); color: var(--ivory); }
.button-light { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.eyebrow { color: var(--walnut); font: 600 .74rem/1.4 var(--sans); letter-spacing: .15em; text-transform: uppercase; margin-bottom: .85rem; }
.gallery-section, .collection-hero { padding-block: clamp(2.75rem, 6vw, 5rem); }
.feature { margin-top: 1.5rem; }
.collection-hero { margin-top: 0; }
.feature-image, .collection-hero figure img, .collection-card > a > img { border: 1px solid var(--line); }
.feature-image { max-width: 34rem; }
.feature-image img { aspect-ratio: 960/942; }
.collection-hero figcaption { color: var(--muted); font-size: .85rem; padding-top: .5rem; }
.series-line { color: var(--walnut); font: italic 1.3rem var(--serif); margin-bottom: .35em; }
.text-link { font-weight: 600; }
.journal-section, .closing { border-top: 1px solid var(--line); }
.reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 1.35rem; }
.reading-grid article { border-top: 2px solid var(--bronze); background: var(--pale); padding: 1.35rem; }
.reading-grid a { text-decoration: none; }
.reading-grid a:hover { text-decoration: underline; }
.closing, .footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 1rem 3rem; flex-wrap: wrap; }
.closing { padding-block: 2rem 3rem; }
.footer-inner { padding-block: 2.25rem; }
.footer-inner p:last-child { margin-bottom: 0; }
.footer-brand { margin-bottom: .55rem; }
.intro { padding-block: clamp(2.25rem, 5vw, 4rem) 1.25rem; }
.intro p:last-child, .subtle { color: var(--muted); }
.prose { padding-bottom: 3.5rem; }
.prose h2:not(:first-child) { margin-top: 1.75rem; }
.collections-index { line-height: 1.5; }
.collections-index .intro { padding-block: clamp(1.5rem, 3vw, 2.75rem) clamp(1.25rem, 2vw, 1.75rem); }
.collections-index .intro h1 { margin-bottom: .25em; }
.collections-index .intro p { margin-bottom: 0; }
.collections-index .gallery-section { padding-block: 0 clamp(1.75rem, 3vw, 2.75rem); }
.collections-index .eyebrow { margin-bottom: .4rem; }
.collections-index .gallery-section > h2 { margin-bottom: .35em; }
.collection-card { max-width: 28rem; }
.collection-card h2 { margin: .45rem 0 .25rem; }
.collection-card p { color: var(--muted); margin-bottom: 0; }
.curta-collection-title { display: flex; align-items: center; gap: .35em; white-space: nowrap; }
.curta-collection-title img { flex: none; width: 1.1em; height: auto; mix-blend-mode: multiply; }
.collection-card .curta-collection-title { font-size: clamp(1.125rem, 2.2vw, 1.55rem); }
.curta-collection-copy { container-type: inline-size; }
.curta-collection-copy .curta-collection-title { font-size: clamp(1rem, 9.3cqi, 3rem); }
.story-site-header { position: sticky; top: 0; }
.history-controls { position: sticky; top: var(--story-header-height, 84px); z-index: 2; background: var(--ivory); border-block: 1px solid var(--line); }
.original-story-preview .story-navigation-shell .continuous-navigation::after {
  --story-cursor-red: #DD2328;
  background: var(--story-cursor-red);
  box-shadow: 0 0 5px color-mix(in srgb, var(--story-cursor-red) 33%, transparent);
}
.original-story-preview .continuous-navigation .year-arrow {
  display: grid;
  place-items: center;
}
.original-story-preview .continuous-navigation .year-arrow::before {
  display: block;
}
.original-story-preview .continuous-story .history-year-cover {
  position: relative;
  top: auto;
  background: transparent;
  text-align: center;
}
.original-story-preview .history-year-cover h2 {
  margin: 0;
  font: inherit;
}
.original-story-preview .story-stamps {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(.75rem, 3vw, 2rem);
  max-width: 52rem;
  margin: 2rem auto;
  text-align: center;
}
.original-story-preview .history-addition .story-stamps figure {
  margin: 0;
}
.original-story-preview .history-addition .story-stamps img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}
.original-story-preview .story-stamps figcaption a {
  display: block;
}
@media (max-width: 767px) {
  .original-story-preview .continuous-story #legacy .section-cover .cover_date {
    font-size: 6rem;
  }
}
.continuous-navigation { position: relative; padding-inline: 2.6rem; }
.year-rail { overflow: auto hidden; scrollbar-width: none; cursor: grab; touch-action: pan-y; user-select: none; }
.year-rail:active { cursor: grabbing; }
.year-track { position: relative; height: 5.2rem; }
.year-link, .ruler-tick { position: absolute; }
.year-link { bottom: calc(.65rem + var(--lane) * 1.05rem); padding: .15rem .4rem; text-decoration: none; color: var(--walnut); font-size: .92rem; white-space: nowrap; }
.year-link small { display: none; }
.year-link[aria-current] { background: var(--forest); color: var(--ivory); }
.ruler-tick { bottom: .05rem; font-size: .65rem; height: 11px; color: var(--muted); border-left: 1px solid var(--line); padding-inline-start: .2em; }
.year-arrow { position: absolute; top: 0; bottom: 0; border: 0; background: var(--pale); color: var(--deep); width: 2.6rem; font-size: 1.9rem; }
.year-arrow:disabled { opacity: .45; cursor: default; }
.year-prev { left: 0; }
.year-next { right: 0; }
.story-links { margin-block: 1rem 2rem; }
.history-article section { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.story-site-header + main .history-article section { scroll-margin-top: calc(var(--story-header-height, 84px) + 6rem); }
.history-article figure { margin-block: 1rem; max-width: 34rem; }
.history-article figcaption, .story-credit { color: var(--muted); font-size: .86rem; }
.story-credit { margin-block: 1rem 3rem; }
.history-article blockquote, .history-note { padding: .65em 1em; margin: 1em 0; border-inline-start: 2px solid var(--bronze); }
.split { display: grid; }
.guide-prose { max-width: 52rem; }
.guide-references { padding-bottom: 2rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.7fr); gap: 2rem; padding-block: 1.5rem 3.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem 1rem; }
#inquiry-form label { display: block; margin-bottom: .8em; }
#inquiry-form label span, .notice { color: var(--muted); font-size: .9rem; }
#inquiry-form :is(input:not([type=checkbox]), textarea) { width: 100%; border: 1px solid var(--line); padding: .55rem; background: var(--ivory); color: var(--ink); }
#inquiry-form textarea { resize: vertical; }
#inquiry-form input[type=checkbox] { margin-inline-end: .4rem; }
#form-status { margin-block: .85rem; }
#summary-panel { padding: 1rem; background: var(--pale); }
#summary { white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-success { max-width: min(90vw,32rem); padding: 1.5rem; background: var(--ivory); border: 1px solid var(--bronze); }
.contact-success::backdrop { background: color-mix(in srgb, var(--forest) 50%, transparent); }
.contact-success-dismiss { display: flex; justify-content: end; }
.contact-success-details { padding: 0; list-style: none; }
.contact-success-details li { display: flex; align-items: center; gap: .4rem; }
@media (max-width: 760px) {
  .wrap, .measure { width: min(calc(100% - 2rem), 74rem); }
  .header-inner { min-height: 4rem; flex-wrap: wrap; gap: .4rem 1rem; padding-block: .55rem; }
  .menu-toggle { display: block; }
  .header-inner nav { display: none; flex-basis: 100%; padding-block: .4rem; }
  .header-inner nav.is-open { display: flex; }
  .hero-grid, .feature, .reading-grid, .contact-layout { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .hero-grid { min-height: 0; padding-block: 2.25rem; }
  .hero-grid figure, .collection-hero figure { justify-self: start; }
  .guide-comparison { overflow-wrap: anywhere; }
}
@media (max-width: 390px) {
  .form-grid { grid-template-columns: minmax(0,1fr); }
}
