:root {
  color-scheme: light;
  --ink: #24352c; --ink-dark: #183226; --muted: #6e756d; --paper: #f7f6f0; --line: #e2e2d8;
  --green: #244738; --coral: #e7a176; --cream: #e9e9dc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #dc9c69; outline-offset: 3px; }
.skip { position: absolute; left: -9999px; z-index: 30; background: #fff; padding: 12px; }
.skip:focus { left: 10px; top: 10px; }
.site { overflow: clip; }
.topbar { max-width: 1440px; margin: auto; display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding: 0 5.3%; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark { background: var(--green); width: 41px; height: 41px; display: grid; place-items: center; font-size: 26px; color: var(--paper); font-family: Georgia, serif; font-weight: 800; letter-spacing: -5px; padding-right: 6px; border-radius: 3px; }
.brand-dot { color: var(--coral); }
.brand-name { font-size: 12px; letter-spacing: .16em; font-weight: 600; white-space: nowrap; }
.brand-name b { font-weight: 900; }
.nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 54px); color: #4c6254; font-size: 13px; font-weight: 550; }
.nav a { transition: color .2s; }
.nav a:hover { color: #bb774a; }
.nav-back { border: 1px solid #cdd4c9; border-radius: 999px; padding: 11px 17px; }
.nav-back span { margin-left: 12px; }
.hero { max-width: 1440px; margin: auto; min-height: 600px; padding: 96px 5.3% 64px; position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; }
.hero-copy { z-index: 1; padding: 18px 0 48px; }
.eyebrow, .section-kicker, .outro-kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #52725c; }
.tiny-asterisk { font-size: 23px; color: #ad7a55; line-height: 0; }
.eyebrow-rule { height: 1px; width: 31px; background: #abb4a6; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .section-intro h2, .outro h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.055em; }
.hero h1 { font-size: clamp(53px, 5.7vw, 85px); line-height: 1.08; margin: 33px 0 31px; text-wrap: balance; }
.hero h1 em, .section-intro h2 em, .outro h2 em { font-weight: 400; color: #71856f; }
.period { color: #d58f5b; }
.hero-description { max-width: 480px; color: #667167; line-height: 1.82; font-size: 16px; margin-bottom: 37px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.primary-cta { display: inline-flex; align-items: center; gap: 38px; padding: 17px 22px; border-radius: 3px; background: var(--green); color: #fff; font-size: 13px; font-weight: 650; transition: transform .2s, background .2s; }
.primary-cta:hover { transform: translateY(-3px); background: #315a46; }
.primary-cta span { font-size: 17px; }
.hero-note { font-size: 12px; color: #92968d; }
.hero-art { position: relative; height: 450px; min-width: 0; display: grid; place-items: center; }
.orbit { position: absolute; aspect-ratio: 1; border: 1px solid #c9cfc3; border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 90%; max-width: 490px; }
.orbit-two { width: 66%; max-width: 360px; border-style: dashed; opacity: .8; }
.orbit-three { width: 40%; max-width: 230px; }
.orbit-center { height: 142px; width: 142px; border-radius: 50%; background: #254536; color: #f7f5ed; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; box-shadow: 0 0 0 15px #e8eadf, 0 0 0 16px #d9dfd3; }
.orbit-center span { font-family: Georgia, serif; font-size: 31px; letter-spacing: -.07em; }
.orbit-center small { font-size: 8px; letter-spacing: .18em; line-height: 1.5; opacity: .72; text-align: center; }
.orbit-point { position: absolute; border-radius: 50%; background: #e5a176; width: 19px; height: 19px; }
.p1 { left: 5%; top: 48%; }.p2 { right: 16%; top: 14%; width: 13px; height: 13px; background: #98ab8d; }.p3 { right: 7%; bottom: 22%; width: 9px; height: 9px; background: #425e4b; }
.art-label { position: absolute; font-size: 9px; font-weight: 750; letter-spacing: .18em; color: #839388; }
.al1 { top: 15%; left: 4%; }.al2 { bottom: 14%; left: 10%; }.al3 { top: 30%; right: 2%; }
.art-sun { position: absolute; font-size: 54px; color: #ddaa7f; opacity: .8; bottom: 2%; right: 12%; }
.hero-serial { position: absolute; bottom: 26px; left: 5.3%; color: #8c988b; font-size: 9px; letter-spacing: .18em; font-weight: 750; }
.section-intro { max-width: 1440px; margin: auto; border-top: 1px solid var(--line); padding: 75px 5.3% 32px; display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.section-kicker { color: #6b826d; }
.section-kicker span { color: #e09c70; margin: 0 7px; }
.section-intro h2 { font-size: clamp(43px, 5vw, 65px); margin: 17px 0 0; line-height: 1.1; }
.section-intro > p { max-width: 240px; font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.library { max-width: 1440px; margin: auto; padding: 0 5.3% 120px; }
.filter-toolbar { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.search-box { background: #fff; border: 1px solid var(--line); height: 54px; width: min(560px, 100%); display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.search-icon { font-size: 28px; color: #7e8e80; line-height: 1; }
.search-box input { border: 0; outline: 0; min-width: 0; flex: 1; font-size: 14px; color: var(--ink); background: transparent; }
.search-box:focus-within { border-color: #638470; }
.search-box input::placeholder { color: #9ca39a; }
.search-box kbd { border: 1px solid #ddd; border-radius: 3px; color: #a3a9a1; font-size: 11px; padding: 2px 7px; }
.sort-box { display: flex; gap: 14px; align-items: center; }
.sort-box span { font-size: 10px; font-weight: 750; color: #7d8c7c; letter-spacing: .12em; }
.sort-box select, .secondary-filters select { background: transparent; border: 0; color: #273d2e; font-size: 13px; font-weight: 600; outline-offset: 4px; max-width: 140px; }
.category-tabs { display: flex; align-items: center; overflow-x: auto; gap: 6px; padding: 25px 0 26px; scrollbar-width: thin; }
.category { background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 11px 19px; color: #788477; font-size: 13px; font-weight: 600; white-space: nowrap; transition: .2s; }
.category span { opacity: .55; margin-left: 3px; font-size: 11px; }
.category:hover { border-color: #b1c1b3; }
.category.active { background: var(--green); color: #fff; }
.results-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 21px 0 26px; }
.results-top p { margin: 0; color: #737f73; font-size: 12px; }
.secondary-filters { display: flex; gap: 20px; }
.secondary-filters label { color: #899186; font-size: 11px; display: flex; align-items: center; gap: 6px; }
.secondary-filters select { font-size: 11px; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.article-card { background: #fff; border: 1px solid #e7e7df; min-width: 0; transition: box-shadow .25s, transform .25s; animation: fadeUp .45s ease both; animation-delay: calc(var(--entry) * 50ms); }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px #24352c12; }
.card-link { display: block; height: 100%; }
.card-cover { position: relative; overflow: hidden; height: 230px; background: #dbd7e5; isolation: isolate; }
.card-cover::before, .card-cover::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid #ffffff66; width: 440px; height: 440px; top: -130px; right: -60px; transform: rotate(-18deg); }
.card-cover::after { width: 290px; height: 290px; top: -55px; right: 20px; }
.theme-violet { background: #dcd9eb; color: #433767; }.theme-mint { background: #d4e9d7; color: #315a45; }.theme-amber { background: #e8ddc5; color: #755330; }.theme-sky { background: #d0e7ed; color: #2c5f74; }.theme-coral { background: #f0d9cf; color: #864d41; }
.cover-number, .cover-bottom { position: absolute; z-index: 2; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.cover-number { top: 21px; left: 22px; }
.cover-bottom { bottom: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; }
.cover-bottom span { font-size: 19px; line-height: 0; }
.graphic-sphere { position: absolute; width: 144px; height: 144px; top: 43px; left: calc(50% - 72px); border-radius: 50%; background: radial-gradient(circle at 25% 24%, #f7f1ff, #9b8ab9 45%, #433767 82%); box-shadow: 16px 20px 35px #43376738; }
.graphic-ring { position: absolute; top: 76px; left: calc(50% - 130px); width: 260px; height: 87px; border: 10px solid #f7f5ff9c; border-radius: 50%; transform: rotate(-25deg); }
.graphic-code { position: absolute; font-family: ui-monospace, Menlo, monospace; left: 13%; top: 37%; background: #3b6953; color: #d8f7d5; padding: 20px; border-radius: 8px; font-size: clamp(13px, 1.3vw, 18px); box-shadow: 12px 12px 0 #86b998; transform: rotate(-6deg); }
.card-body { padding: 26px 25px 22px; display: flex; flex-direction: column; min-height: 238px; }
.card-meta { display: flex; gap: 9px; align-items: center; font-size: 10px; color: #748679; font-weight: 750; text-transform: uppercase; letter-spacing: .09em; }
.meta-dot { font-size: 16px; line-height: 0; }
.card-body h3 { margin: 15px 0 11px; font-family: Georgia, serif; font-size: 27px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; }
.card-body p { color: #7a857a; font-size: 13px; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.card-bottom { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { color: #809282; font-size: 10px; background: #f2f5ef; padding: 6px 9px; }
.read-arrow { font-size: 21px; color: #657e6b; transition: transform .2s; }
.article-card:hover .read-arrow { transform: translate(3px,-3px); }
.empty { text-align: center; padding: 65px 15px; border: 1px dashed #becabe; }
.empty[hidden] { display: none; }
.empty > span { font-size: 40px; color: #cb9b73; }
.empty h3 { font-family: Georgia, serif; font-size: 25px; font-weight: normal; margin: 10px 0; }
.empty p { color: #7d8a7d; font-size: 13px; }
.empty button { background: var(--green); color: #fff; border: 0; padding: 12px 17px; margin-top: 8px; }
.load-error { padding: 36px; color: #9b4a33; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; font-size: 12px; color: #758373; }
.pagination button { color: var(--green); border: 1px solid #becabe; padding: 12px 17px; background: transparent; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.outro { background: #264334; color: #f4f3e9; padding: 88px max(5.3%, calc((100vw - 1290px)/2)) 97px; position: relative; overflow: hidden; }
.outro-kicker { color: #b4c5b5; }
.outro h2 { font-size: clamp(41px, 5vw, 65px); line-height: 1.13; margin: 28px 0; position: relative; z-index: 1; }
.outro h2 em { color: #d1c9a8; }
.outro p { max-width: 520px; line-height: 1.85; color: #b8cabb; font-size: 14px; position: relative; z-index: 1; }
.outro a { font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 7px; display: inline-flex; gap: 28px; margin-top: 14px; position: relative; z-index: 1; }
.outro-star { position: absolute; font-size: clamp(220px, 39vw, 570px); line-height: 1; color: #345b44; right: -4%; bottom: -30%; pointer-events: none; }
.footer { max-width: 1440px; margin: auto; min-height: 110px; padding: 28px 5.3%; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #889489; font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.footer-brand { color: var(--ink); font-size: 12px; }
.footer-brand span { font-size: 18px; margin-left: 8px; color: #dd9b70; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1080px) {
  .hero { min-height: 510px; padding-top: 60px; }
  .hero-art { height: 365px; }
  .hero h1 { font-size: clamp(51px, 6vw, 72px); }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .topbar { min-height: 72px; padding: 0 5%; }
  .brand-name { font-size: 11px; }
  .brand-mark { width: 35px; height: 35px; font-size: 22px; }
  .nav { gap: 14px; font-size: 11px; }
  .nav a[href="#about"] { display: none; }
  .nav-back { padding: 8px 10px; }
  .hero { display: block; padding: 74px 5% 44px; min-height: 0; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(46px, 10vw, 71px); margin: 25px 0; }
  .hero-description { max-width: 530px; font-size: 14px; }
  .hero-art { display: none; }
  .hero-serial { display: none; }
  .section-intro { padding: 65px 5% 25px; display: block; }
  .section-intro h2 { font-size: 46px; }
  .section-intro p { margin: 20px 0 0; }
  .library { padding: 0 5% 80px; }
  .filter-toolbar { flex-direction: column; align-items: stretch; gap: 15px; }
  .search-box { width: 100%; }
  .sort-box { justify-content: flex-end; }
  .results-top { flex-wrap: wrap; }
  .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
  .card-cover { height: 170px; }
  .card-body { padding: 20px 17px 15px; min-height: 230px; }
  .card-body h3 { font-size: 22px; }
  .card-body p { font-size: 12px; }
  .graphic-sphere { width: 110px; height: 110px; top: 30px; left: calc(50% - 55px); }
  .graphic-ring { width: 180px; left: calc(50% - 90px); top: 58px; height: 58px; border-width: 7px; }
  .outro { padding: 72px 5%; }
  .footer { padding: 28px 5%; flex-wrap: wrap; }
}
@media (max-width: 470px) {
  .nav a[href="#browse"] { display: none; }
  .hero h1 { font-size: 44px; }
  .hero-note { width: 100%; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .card-cover { height: 215px; }
  .card-body { min-height: 0; }
  .card-body h3 { font-size: 27px; }
  .secondary-filters { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
