@charset "UTF-8";

:root {
  --paper: #f8f5ef;
  --paper-deep: #eee9df;
  --ink: #202723;
  --muted: #6d716a;
  --green: #173f35;
  --green-light: #28584a;
  --terracotta: #b45132;
  --line: #d5d0c6;
  --white: #fffdf8;
  --serif: "Noto Serif Bengali", Georgia, serif;
  --sans: "Anek Bangla", sans-serif;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.35; }
::selection { background: #d7b6a6; color: var(--green); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 88px; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 18px; background: var(--white); color: var(--green); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.topbar { background: var(--green); color: #e8e7dc; font-size: 13px; letter-spacing: .02em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; }
.topbar p { color: #d4ddd6; }
.topbar-right { display: flex; align-items: center; gap: 17px; }
.topbar-divider { width: 1px; height: 13px; background: #6e887d; }
.language-button { border: 0; background: transparent; padding: 3px 0; font-size: 13px; }
.language-button span { margin-left: 5px; color: #b5c4bb; }

.site-header { position: relative; z-index: 30; background: var(--paper); }
.masthead { min-height: 126px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; color: var(--green); }
.brand-mark { width: 58px; height: 58px; flex: 0 0 auto; }
.brand-type { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 37px; line-height: 1.15; font-weight: 700; letter-spacing: -.045em; }
.brand-english { font-family: Georgia, serif; font-size: 9px; letter-spacing: .34em; margin-top: 6px; padding-left: 3px; }
.brand-tagline { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 14px; color: #5f665f; white-space: nowrap; }
.brand-tagline i { color: var(--terracotta); font-style: normal; font-size: 10px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a { width: 23px; height: 23px; display: grid; place-items: center; font-family: Arial, sans-serif; font-size: 15px; font-weight: 600; color: #626b65; transition: color .2s; }
.social-links a:hover { color: var(--terracotta); }
.search-trigger { border: 0; border-left: 1px solid var(--line); background: transparent; display: flex; gap: 8px; align-items: center; padding: 4px 0 4px 22px; font-size: 15px; }
.search-trigger svg, .search-field svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search-trigger:hover { color: var(--terracotta); }
.menu-trigger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; padding: 10px; }
.menu-trigger span { display: block; height: 1px; background: var(--green); margin: 5px 0; }

.desktop-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.nav-list { display: flex; align-items: stretch; justify-content: space-between; min-height: 50px; }
.nav-list > li { position: relative; display: flex; align-items: stretch; }
.nav-list > li > a, .nav-list > li > button { display: flex; align-items: center; gap: 4px; white-space: nowrap; padding: 12px 5px 11px; border: 0; background: transparent; font-size: 14px; font-weight: 500; line-height: 1.4; position: relative; }
.nav-list > li > a::after, .nav-list > li > button::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: -1px; height: 2px; background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-list > li:hover > a::after, .nav-list > li:hover > button::after, .nav-list > li > .active::after, .nav-list > li.is-open > button::after { transform: scaleX(1); }
.nav-list > li > button > span { font-size: 12px; margin-top: -4px; color: #7f837d; }
.dropdown { position: absolute; z-index: 40; top: 100%; left: 0; width: 280px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green); box-shadow: 0 16px 35px rgba(23, 42, 33, .12); padding: 9px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown, .has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { position: relative; }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 20px; font-size: 15px; line-height: 1.45; transition: background .15s, color .15s; }
.dropdown a:hover, .dropdown a:focus { background: #f0ede5; color: var(--terracotta); }
.dropdown .en-label { font-family: Georgia, serif; font-size: 10px; color: #8b8c85; }
.submenu { position: absolute; left: 100%; top: -10px; width: 220px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(23, 42, 33, .1); padding: 9px 0; opacity: 0; visibility: hidden; transform: translateX(6px); transition: .18s; }
.has-submenu:hover > .submenu, .has-submenu:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateX(0); }
.align-left .dropdown { left: auto; right: 0; }
.align-left .submenu { left: auto; right: 100%; }

.menu-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(13, 27, 22, .6); backdrop-filter: blur(2px); }
.mobile-menu { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(410px, 92vw); background: var(--paper); transform: translateX(102%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(13, 27, 22, .18); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; min-height: 80px; padding: 15px 24px; border-bottom: 1px solid var(--line); }
.mobile-brand { font-family: var(--serif); font-weight: 700; font-size: 30px; color: var(--green); }
.mobile-close, .search-close { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; font-family: Arial, sans-serif; font-size: 28px; font-weight: 300; line-height: 1; }
.mobile-menu-body { padding: 12px 24px 30px; overflow-y: auto; flex: 1; }
.mobile-home, .mobile-menu-body > details > summary { min-height: 51px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: 17px; cursor: pointer; }
.mobile-menu-body summary { list-style: none; }
.mobile-menu-body summary::-webkit-details-marker { display: none; }
.mobile-menu-body summary span { font-family: var(--sans); font-size: 21px; font-weight: 400; color: var(--terracotta); transition: transform .2s; }
.mobile-menu-body details[open] > summary span { transform: rotate(45deg); }
.mobile-submenu { display: flex; flex-direction: column; padding: 7px 0 10px 14px; border-bottom: 1px solid var(--line); }
.mobile-submenu > a { padding: 8px 0; font-size: 15px; color: #555f57; }
.mobile-submenu > a:hover { color: var(--terracotta); }
.nested-details summary { display: flex; justify-content: space-between; padding: 8px 0; color: var(--green); cursor: pointer; }
.nested-details .mobile-submenu { border-bottom: 0; }
.mobile-menu-foot { padding: 18px 24px; background: var(--green); color: #d7dfd8; font-size: 12px; text-align: center; }

.search-dialog { width: min(850px, calc(100% - 40px)); max-height: 85vh; margin-top: 7vh; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.search-dialog::backdrop { background: rgba(12, 30, 24, .75); backdrop-filter: blur(4px); }
.search-dialog-inner { padding: 36px 42px 28px; }
.search-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.eyebrow { display: block; color: var(--terracotta); font-size: 12px; letter-spacing: .12em; margin-bottom: 5px; }
.search-head h2 { font-size: 30px; }
.search-field { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--green); padding: 10px 0 13px; }
.search-field svg { width: 25px; height: 25px; flex: 0 0 auto; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-family: var(--serif); font-size: 22px; color: var(--ink); }
.search-field input::placeholder { color: #92948d; }
.search-field kbd { border: 1px solid var(--line); border-radius: 2px; padding: 0 6px; font-family: Arial, sans-serif; font-size: 10px; color: var(--muted); }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.search-suggestions > span { margin-right: 5px; font-size: 13px; color: var(--muted); }
.search-suggestions button { border: 1px solid var(--line); border-radius: 30px; background: transparent; padding: 4px 13px; font-size: 13px; }
.search-suggestions button:hover { border-color: var(--terracotta); color: var(--terracotta); }
.search-results { margin-top: 20px; max-height: 340px; overflow-y: auto; }
.search-result { display: grid; grid-template-columns: 105px 1fr 20px; gap: 16px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }
.search-result-type { font-size: 12px; color: var(--terracotta); }
.search-result h3 { font-size: 17px; font-weight: 500; }
.search-result small { color: var(--muted); font-size: 12px; }
.search-result > span:last-child { color: var(--green); }
.search-empty { padding: 25px 0 10px; color: var(--muted); }
.search-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: 68px; padding-block: 64px 58px; align-items: center; }
.section-kicker { display: flex; align-items: center; gap: 12px; color: var(--terracotta); font-size: 13px; font-weight: 600; letter-spacing: .06em; margin-bottom: 23px; }
.section-kicker > span:last-child { color: var(--muted); font-weight: 400; }
.kicker-line { width: 30px; height: 1px; background: var(--line); }
.hero h1 { font-size: clamp(39px, 4vw, 57px); line-height: 1.38; letter-spacing: -.035em; font-weight: 600; }
.hero h1 em { color: var(--terracotta); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: 2px; height: 1px; background: var(--terracotta); }
.hero-deck { max-width: 520px; margin-top: 23px; color: #60675f; font-size: 18px; line-height: 1.8; }
.article-byline { display: flex; gap: 24px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.article-byline strong { color: var(--ink); font-weight: 500; }
.article-byline > span + span { position: relative; padding-left: 25px; }
.article-byline > span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: #8d918b; position: absolute; left: 0; top: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; width: max-content; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: 15px; font-weight: 500; color: var(--green); transition: color .2s, gap .2s; }
.text-link:hover { color: var(--terracotta); gap: 25px; }
.hero-copy > .text-link { margin-top: 25px; }
.hero-note { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 15px; align-items: center; }
.hero-note-number { font-family: Georgia, serif; font-size: 28px; font-style: italic; color: var(--terracotta); }
.hero-note strong { display: block; font-size: 12px; font-weight: 600; color: var(--green); }
.hero-note p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.hero-visual { min-width: 0; }
.hero-image-wrap { position: relative; aspect-ratio: 1.24 / 1; overflow: hidden; background: #ddd8ce; }
.hero-image-wrap::before { content: ""; position: absolute; z-index: 1; inset: 12px; border: 1px solid rgba(255, 255, 255, .42); pointer-events: none; }
.hero-image-wrap img { height: 100%; object-fit: cover; }
.image-index { position: absolute; z-index: 2; bottom: 0; left: 0; background: var(--paper); padding: 9px 15px 7px; font-size: 11px; letter-spacing: .06em; color: var(--green); }
.hero-visual figcaption { display: flex; justify-content: space-between; gap: 25px; margin-top: 12px; font-size: 11px; line-height: 1.55; color: var(--muted); }
.hero-visual figcaption > span:first-child { max-width: 66%; }
.hero-visual figcaption > a { white-space: nowrap; }
.hero-visual figcaption > a:hover { color: var(--terracotta); }

.dispatch-strip { border-block: 1px solid var(--line); background: #f2eee6; }
.dispatch-inner { min-height: 52px; display: flex; align-items: center; gap: 18px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.dispatch-label { background: var(--terracotta); color: var(--white); padding: 3px 10px; margin-right: 3px; font-size: 12px; }
.dispatch-inner a:hover { color: var(--terracotta); }
.dispatch-inner i { font-style: normal; color: #a5a399; }
.dispatch-all { margin-left: auto; color: var(--green); font-weight: 600; }
.dispatch-all span { margin-left: 8px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--ink); padding-bottom: 16px; margin-bottom: 32px; }
.section-number { display: block; margin-bottom: 6px; color: var(--terracotta); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.section-heading h2, .popular-head h2 { font-size: 32px; letter-spacing: -.02em; }
.section-heading .text-link { margin-bottom: 4px; }
.feature-grid { display: grid; grid-template-columns: 1.16fr 1fr 1fr; }
.feature-card { min-width: 0; padding-inline: 25px; }
.feature-card:first-child { padding-left: 0; }
.feature-card:last-child { padding-right: 0; }
.feature-card + .feature-card { border-left: 1px solid var(--line); }
.card-image { display: block; position: relative; overflow: hidden; aspect-ratio: 1.38 / 1; background: #ded9cf; }
.card-image img { height: 100%; object-fit: cover; transition: transform .5s ease, filter .4s; }
.feature-card:hover .card-image img { transform: scale(1.025); filter: saturate(.85); }
.card-tag { position: absolute; bottom: 0; left: 0; background: var(--paper); padding: 6px 11px; font-size: 11px; color: var(--green); }
.photo-credit { position: absolute; top: 0; right: 0; background: rgba(248, 245, 239, .9); padding: 3px 7px; color: #62675f; font-family: Arial, sans-serif; font-size: 8px; }
.photo-credit:hover { color: var(--terracotta); }
.card-body { padding-top: 19px; }
.card-meta { display: flex; align-items: center; gap: 18px; color: var(--terracotta); font-size: 12px; }
.card-meta > * + * { position: relative; color: var(--muted); }
.card-meta > * + *::before { content: ""; position: absolute; left: -11px; top: 12px; width: 3px; height: 3px; border-radius: 50%; background: #aaa89f; }
.feature-card h3 { margin-top: 10px; font-size: 23px; line-height: 1.5; }
.feature-card-large h3 { font-size: 27px; }
.feature-card h3 a, .latest-item h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s; }
.feature-card h3 a:hover, .latest-item h3 a:hover { background-size: 100% 1px; }
.feature-card .card-body > p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.card-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.card-footer > span { color: #4d574f; }

.latest-layout { display: grid; grid-template-columns: 1.85fr .85fr; gap: 64px; padding-top: 20px; }
.section-heading.compact { margin-bottom: 0; }
.latest-item { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 25px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.latest-thumb { height: 132px; overflow: hidden; background: #ded9cf; }
.latest-thumb img { height: 100%; object-fit: cover; transition: transform .4s; }
.latest-item:hover .latest-thumb img { transform: scale(1.035); }
.latest-item h3 { margin-top: 7px; padding-right: 30px; font-size: 21px; }
.latest-item p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.source-line { display: block; margin-top: 8px; color: #85877f; font-size: 10px; }
.list-index { position: absolute; right: 0; top: 28px; font-family: Georgia, serif; font-size: 12px; color: #a09f95; }
.popular { align-self: start; padding: 27px 30px 22px; background: var(--paper-deep); border-top: 3px solid var(--green); }
.popular-head { padding-bottom: 15px; border-bottom: 1px solid #c9c4b9; }
.popular-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-block: 18px; border-bottom: 1px solid #d4cfc4; }
.popular-list li > span { font-family: Georgia, serif; font-size: 29px; font-style: italic; line-height: 1.25; color: var(--terracotta); }
.popular-list a { display: block; font-family: var(--serif); font-size: 16px; font-weight: 500; line-height: 1.6; }
.popular-list a:hover { color: var(--terracotta); }
.popular-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.popular-more { display: flex; justify-content: space-between; margin-top: 18px; color: var(--green); font-size: 14px; font-weight: 600; }

.personalities-section { padding-block: 80px 0; background: var(--green); color: #f3f0e7; }
.section-heading.light { border-color: #6b8178; }
.light .section-number { color: #d59b80; }
.light .text-link { color: #e8e7dc; }
.section-intro { max-width: 620px; margin-top: -12px; margin-bottom: 38px; color: #b9c6be; font-size: 16px; }
.personality-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; border-block: 1px solid #597269; }
.personality-card { padding: 36px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.personality-card + .personality-card { border-left: 1px solid #597269; }
.personality-card:first-child { padding-left: 0; }
.personality-card:last-child { padding-right: 0; }
.featured-person { display: grid; grid-template-columns: 160px 1fr; gap: 30px; align-items: center; }
.person-monogram { width: 130px; height: 130px; border: 1px solid #799087; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.person-monogram::before, .person-monogram::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #d59b80; top: 50%; transform: translateY(-50%); }
.person-monogram::before { left: -3px; }
.person-monogram::after { right: -3px; }
.person-monogram > span { font-family: var(--serif); font-size: 51px; line-height: 1.2; color: #e4d9c6; }
.person-monogram small { font-family: Georgia, serif; font-size: 9px; letter-spacing: .08em; color: #a9bbb2; }
.person-field { color: #d59b80; font-size: 12px; }
.person-content h3 { margin-top: 5px; font-size: 25px; color: #fffaf0; }
.person-content p { margin-top: 9px; color: #bac6bf; font-size: 14px; line-height: 1.75; }
.person-content a { display: inline-flex; gap: 18px; margin-top: 19px; padding-bottom: 2px; border-bottom: 1px solid #8b9e95; font-size: 13px; color: #f0e7d9; }
.person-content a:hover { color: #e5a88c; }
.archive-quote { padding: 35px 0 38px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 18px; }
.archive-quote > span { font-family: Georgia, serif; font-size: 60px; line-height: .6; color: #d59b80; }
.archive-quote blockquote { font-family: var(--serif); font-size: 18px; color: #d8dfd8; }
.archive-quote small { color: #8fa49a; font-size: 11px; }

.heritage-layout { display: grid; grid-template-columns: 1.75fr .85fr; gap: 65px; }
.heritage-feature .section-heading { margin-bottom: 27px; }
.heritage-image { display: block; position: relative; height: 340px; overflow: hidden; }
.heritage-image img { height: 100%; object-fit: cover; filter: saturate(.75); transition: filter .4s, transform .5s; }
.heritage-image:hover img { filter: saturate(1); transform: scale(1.015); }
.vertical-caption { position: absolute; right: 0; top: 0; writing-mode: vertical-rl; background: var(--paper); padding: 12px 7px; font-size: 10px; letter-spacing: .08em; }
.heritage-copy { padding: 22px 0 0 50px; position: relative; }
.heritage-copy::before { content: ""; position: absolute; left: 0; top: 27px; width: 30px; height: 1px; background: var(--terracotta); }
.heritage-copy h3 { margin-top: 12px; font-size: 32px; }
.heritage-copy p { max-width: 620px; margin-top: 13px; color: var(--muted); font-size: 15px; }
.heritage-copy .text-link { margin-top: 20px; }
.timeline { margin-top: 5px; padding-left: 32px; border-left: 1px solid var(--line); }
.timeline-head { padding-bottom: 22px; border-bottom: 2px solid var(--green); }
.timeline-head h3 { font-size: 26px; }
.timeline-head p { margin-top: 5px; font-size: 13px; color: var(--muted); }
.timeline ol li { display: grid; grid-template-columns: 64px 1fr; gap: 15px; padding-block: 23px; border-bottom: 1px solid var(--line); }
.timeline time { font-family: Georgia, serif; font-size: 17px; font-style: italic; color: var(--terracotta); padding-top: 3px; }
.timeline h4 { font-size: 16px; }
.timeline li p { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.timeline li a { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--green); border-bottom: 1px solid #acb7af; }
.timeline-all { display: flex; justify-content: space-between; margin-top: 22px; font-size: 13px; font-weight: 600; }

.archive-section { padding-block: 82px; background: var(--paper-deep); border-top: 1px solid var(--line); }
.archive-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: end; }
.archive-heading h2 { font-size: 40px; line-height: 1.45; }
.archive-intro p { color: var(--muted); font-size: 15px; max-width: 500px; }
.outline-button { border: 1px solid var(--green); background: transparent; padding: 10px 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; color: var(--green); font-size: 14px; transition: background .2s, color .2s; }
.outline-button:hover { background: var(--green); color: var(--white); }
.archive-intro .outline-button { margin-top: 18px; }
.archive-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 42px 35px; border-block: 1px solid #c9c3b8; }
.archive-stats > div { padding: 20px 25px; display: flex; flex-direction: column; }
.archive-stats > div:first-child { padding-left: 0; }
.archive-stats > div + div { border-left: 1px solid #c9c3b8; }
.archive-stats strong { font-family: Georgia, var(--serif), serif; font-weight: 400; font-size: 27px; color: var(--green); }
.archive-stats span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.archive-card { background: var(--paper); border: 1px solid #d4cec2; transition: transform .25s, box-shadow .25s; }
.archive-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(42, 47, 38, .08); }
.archive-thumb { height: 170px; position: relative; overflow: hidden; background: #d7d2c8; }
.archive-thumb img { height: 100%; object-fit: cover; transition: transform .4s; }
.archive-card:hover .archive-thumb img { transform: scale(1.03); }
.archive-thumb > span { position: absolute; bottom: 0; left: 0; background: var(--green); color: #eceee7; padding: 4px 9px; font-size: 10px; }
.archive-thumb.sepia img { filter: sepia(.7) saturate(.6); }
.archive-thumb.grayscale img { filter: grayscale(1); }
.archive-card-copy { padding: 18px 19px 20px; }
.archive-id { font-family: Georgia, serif; color: var(--terracotta); font-size: 10px; letter-spacing: .07em; }
.archive-card h3 { margin-top: 4px; font-size: 20px; }
.archive-card p { min-height: 48px; margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.archive-count { display: block; margin-top: 15px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 11px; color: var(--green); }
.contribute-note { margin-top: 35px; border-top: 1px solid #c9c3b8; padding-top: 25px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.contribute-note > div { display: flex; align-items: center; gap: 16px; }
.contribute-icon { font-family: Arial, sans-serif; font-size: 35px; color: var(--terracotta); }
.contribute-note p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.contribute-note strong { color: var(--ink); font-family: var(--serif); font-size: 15px; font-weight: 500; }
.contribute-note > a { display: inline-flex; gap: 25px; border-bottom: 1px solid var(--green); font-size: 13px; color: var(--green); }

.newsletter { margin-block: 70px; padding: 36px 40px; border: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr 1.2fr; gap: 35px; align-items: center; position: relative; }
.newsletter::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: var(--terracotta); }
.newsletter-symbol { width: 65px; height: 65px; display: grid; place-items: center; border: 1px solid #a8b4aa; border-radius: 50%; font-family: var(--serif); font-size: 33px; color: var(--green); }
.newsletter-copy h2 { font-size: 25px; line-height: 1.5; }
.newsletter-form > label { display: block; margin-bottom: 7px; font-size: 12px; color: var(--muted); }
.email-field { display: flex; border-bottom: 1px solid var(--green); }
.email-field input { min-width: 0; width: 100%; border: 0; background: transparent; outline: 0; padding: 10px 4px; font-family: Arial, sans-serif; font-size: 14px; }
.email-field button { flex: 0 0 auto; border: 0; background: transparent; color: var(--green); padding: 8px 0 8px 15px; font-size: 13px; font-weight: 600; }
.email-field button span { margin-left: 15px; }
.newsletter-form > p { margin-top: 8px; font-size: 10px; color: var(--muted); }
.newsletter-form > p.success { color: var(--green); font-size: 12px; }

.site-footer { background: #122f28; color: #c5d0c8; padding-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.6fr .8fr .9fr 1fr; gap: 60px; padding-bottom: 50px; }
.site-footer .brand { color: #f4efe4; }
.site-footer .brand-mark { width: 50px; height: 50px; }
.site-footer .brand-name { font-size: 32px; }
.footer-brand > p { margin-top: 20px; color: #9daf9f; font-family: var(--serif); font-size: 14px; line-height: 1.9; }
.footer-social { display: flex; gap: 18px; margin-top: 24px; }
.footer-social a { font-size: 11px; color: #bdc9c0; }
.footer-social a:hover { color: #e4a78d; }
.footer-links, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links h3, .footer-contact h3 { margin-bottom: 9px; color: #f2eee3; font-family: var(--sans); font-size: 13px; font-weight: 600; }
.footer-links a, .footer-contact a, .footer-contact p { color: #a8b9af; font-size: 13px; }
.footer-links a:hover, .footer-contact a:hover { color: #f2eee3; }
.footer-contact p { line-height: 1.8; margin-bottom: 3px; }
.footer-bottom { min-height: 65px; border-top: 1px solid #3a5249; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #82988c; font-size: 11px; }
.footer-bottom a { color: #c3cfc7; }
.back-to-top { position: fixed; z-index: 25; right: 25px; bottom: 25px; width: 42px; height: 42px; border: 1px solid #b8c3ba; background: var(--green); color: var(--white); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1180px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .masthead { grid-template-columns: 1fr auto; }
  .brand-tagline { display: none; }
  .desktop-nav { display: none; }
  .menu-trigger { display: block; }
  .hero { gap: 45px; }
  .hero h1 { font-size: 44px; }
  .feature-card { padding-inline: 18px; }
  .latest-layout, .heritage-layout { gap: 40px; }
  .personality-grid { grid-template-columns: 1.35fr 1fr 1fr; }
  .featured-person { grid-template-columns: 120px 1fr; gap: 20px; }
  .featured-person .person-monogram { width: 110px; height: 110px; }
  .personality-card { padding-inline: 22px; }
  .archive-grid { gap: 14px; }
  .archive-card-copy { padding-inline: 15px; }
  .footer-top { gap: 35px; }
}

@media (max-width: 900px) {
  .section { padding-block: 65px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 48px; }
  .hero-copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .section-kicker, .hero h1 { grid-column: 1 / -1; }
  .hero-deck { grid-column: 1; }
  .article-byline { grid-column: 1; }
  .hero-copy > .text-link { grid-column: 1; }
  .hero-note { grid-column: 2; grid-row: 3 / 6; margin-top: 23px; align-self: start; }
  .hero-image-wrap { aspect-ratio: 1.7 / 1; }
  .dispatch-inner { overflow-x: auto; scrollbar-width: none; }
  .dispatch-all { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .feature-card-large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 25px; padding: 0 0 35px; border-bottom: 1px solid var(--line); }
  .feature-card:nth-child(2) { padding-left: 0; border-left: 0; }
  .feature-card-large .card-image { aspect-ratio: 1.5 / 1; }
  .latest-layout { grid-template-columns: 1fr; padding-top: 5px; }
  .popular { padding-inline: 35px; }
  .popular-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 35px; }
  .popular-list li:last-child { display: none; }
  .personality-grid { grid-template-columns: 1fr 1fr; }
  .featured-person { grid-column: 1 / -1; grid-template-columns: 150px 1fr; padding: 35px 0; border-bottom: 1px solid #597269; }
  .personality-card:nth-child(2) { padding-left: 0; border-left: 0; }
  .archive-quote { grid-template-columns: 40px 1fr; }
  .archive-quote small { grid-column: 2; }
  .heritage-layout { grid-template-columns: 1fr; }
  .timeline { padding-left: 0; border-left: 0; }
  .timeline ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .timeline ol li { grid-template-columns: 1fr; gap: 7px; }
  .archive-heading { gap: 40px; }
  .archive-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .archive-thumb { height: 220px; }
  .newsletter { grid-template-columns: 60px 1fr; }
  .newsletter-form { grid-column: 2; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contact { grid-column: 2; }
  .footer-bottom > span:nth-child(2) { display: none; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 25px; }
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .section { padding-block: 52px; }
  .topbar-inner { min-height: 32px; justify-content: center; }
  .topbar-inner > p, .today, .topbar-divider { display: none; }
  .topbar-right { width: 100%; justify-content: center; }
  .language-button { font-size: 12px; }
  .masthead { min-height: 86px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 43px; height: 43px; }
  .brand-name { font-size: 29px; }
  .brand-english { font-size: 7px; margin-top: 4px; letter-spacing: .28em; }
  .header-actions { gap: 10px; }
  .social-links { display: none; }
  .search-trigger { border: 0; padding: 6px; }
  .search-trigger span { display: none; }
  .search-trigger svg { width: 22px; height: 22px; }
  .menu-trigger { width: 38px; height: 38px; padding: 8px; }
  .search-dialog { width: calc(100% - 24px); margin-top: 3vh; max-height: 92vh; }
  .search-dialog-inner { padding: 25px 20px 20px; }
  .search-head { margin-bottom: 18px; }
  .search-head h2 { font-size: 24px; }
  .search-field input { font-size: 16px; }
  .search-field kbd { display: none; }
  .search-suggestions > span { width: 100%; }
  .search-result { grid-template-columns: 1fr 18px; gap: 5px 10px; }
  .search-result-type { grid-column: 1 / -1; }
  .search-note { line-height: 1.5; }
  .hero { padding-block: 36px 34px; gap: 30px; }
  .hero-copy { display: block; }
  .section-kicker { margin-bottom: 15px; font-size: 11px; }
  .hero h1 { font-size: clamp(34px, 10vw, 43px); line-height: 1.42; }
  .hero-deck { margin-top: 17px; font-size: 16px; line-height: 1.75; }
  .article-byline { margin-top: 18px; gap: 18px; font-size: 11px; }
  .article-byline > span + span { padding-left: 19px; }
  .hero-copy > .text-link { margin-top: 20px; }
  .hero-note { display: none; }
  .hero-image-wrap { aspect-ratio: 1.22 / 1; }
  .hero-image-wrap::before { inset: 8px; }
  .hero-visual figcaption { flex-direction: column; gap: 3px; font-size: 10px; }
  .hero-visual figcaption > span:first-child { max-width: 100%; }
  .dispatch-inner { width: 100%; padding-left: 18px; gap: 14px; min-height: 47px; }
  .dispatch-label { position: sticky; left: 0; z-index: 2; }
  .section-heading { align-items: flex-end; padding-bottom: 12px; margin-bottom: 23px; }
  .section-heading h2, .popular-head h2 { font-size: 27px; }
  .section-heading > .text-link { font-size: 12px; gap: 7px; }
  .section-heading > .text-link:hover { gap: 7px; }
  .section-number { font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; gap: 0; }
  .feature-card, .feature-card:first-child, .feature-card:nth-child(2), .feature-card:last-child { display: block; grid-column: auto; padding: 0 0 28px; margin-bottom: 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { margin-bottom: 0; border-bottom: 0; }
  .feature-card .card-image { aspect-ratio: 1.55 / 1; }
  .feature-card h3, .feature-card-large h3 { font-size: 23px; }
  .card-footer { margin-top: 15px; }
  .latest-layout { padding-top: 0; gap: 45px; }
  .latest-item { grid-template-columns: 110px 1fr; gap: 15px; padding-block: 20px; }
  .latest-thumb { height: 112px; }
  .latest-item .card-meta { gap: 12px; font-size: 10px; }
  .latest-item .card-meta time { display: none; }
  .latest-item h3 { padding-right: 0; font-size: 17px; line-height: 1.5; }
  .latest-item p, .source-line { display: none; }
  .list-index { display: none; }
  .popular { padding: 23px 20px 18px; }
  .popular-list { display: block; }
  .popular-list li { padding-block: 15px; }
  .popular-list li:last-child { display: grid; }
  .personalities-section { padding-top: 52px; }
  .section-intro { margin-top: 0; font-size: 14px; }
  .personality-grid { grid-template-columns: 1fr; }
  .personality-card, .personality-card:first-child, .personality-card:last-child, .personality-card:nth-child(2) { padding: 28px 0; border-left: 0; border-bottom: 1px solid #597269; }
  .featured-person { grid-template-columns: 100px 1fr; gap: 20px; }
  .featured-person .person-monogram, .person-monogram { width: 95px; height: 95px; }
  .person-monogram > span { font-size: 38px; }
  .person-content h3 { font-size: 22px; }
  .person-content p { font-size: 13px; }
  .archive-quote { padding-block: 30px; gap: 10px; grid-template-columns: 28px 1fr; }
  .archive-quote blockquote { font-size: 15px; }
  .heritage-layout { gap: 48px; }
  .heritage-image { height: 250px; }
  .heritage-copy { padding-left: 0; }
  .heritage-copy::before { display: none; }
  .heritage-copy h3 { font-size: 27px; }
  .timeline ol { grid-template-columns: 1fr; gap: 0; }
  .timeline ol li { grid-template-columns: 62px 1fr; gap: 15px; }
  .archive-section { padding-block: 52px; }
  .archive-heading { grid-template-columns: 1fr; gap: 22px; }
  .archive-heading h2 { font-size: 31px; }
  .archive-stats { grid-template-columns: 1fr 1fr; margin-block: 30px; }
  .archive-stats > div { padding: 15px 18px; }
  .archive-stats > div:first-child { padding-left: 18px; }
  .archive-stats > div:nth-child(3) { border-left: 0; border-top: 1px solid #c9c3b8; }
  .archive-stats > div:nth-child(4) { border-top: 1px solid #c9c3b8; }
  .archive-stats strong { font-size: 23px; }
  .archive-grid { grid-template-columns: 1fr; gap: 18px; }
  .archive-card { display: grid; grid-template-columns: 125px 1fr; }
  .archive-thumb { height: 100%; min-height: 170px; }
  .archive-thumb > span { writing-mode: vertical-rl; padding: 8px 4px; }
  .archive-card-copy { padding: 16px; }
  .archive-card h3 { font-size: 18px; }
  .archive-card p { min-height: 0; font-size: 12px; }
  .archive-count { margin-top: 10px; }
  .contribute-note { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contribute-note > div { align-items: flex-start; }
  .newsletter { margin-block: 45px; padding: 27px 23px; grid-template-columns: 1fr; gap: 20px; }
  .newsletter-symbol { display: none; }
  .newsletter-copy h2 { font-size: 23px; }
  .newsletter-form { grid-column: 1; }
  .email-field button { font-size: 12px; }
  .email-field button span { margin-left: 5px; }
  .site-footer { padding-top: 45px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { padding-block: 20px; min-height: 0; flex-wrap: wrap; font-size: 10px; }
  .back-to-top { right: 15px; bottom: 15px; width: 38px; height: 38px; }
}

.brand-image-link { align-items: center; }
.brand-logo { width: 182px; height: 82px; object-fit: contain; }
.account-link { color: #e8e7dc; font-size: 12px; }
.account-link:hover { color: #fff; }
.language-button { text-decoration: none; }
.site-footer .brand-logo { width: 172px; height: 76px; }
.site-messages { position: fixed; z-index: 120; top: 22px; right: 22px; width: min(420px, calc(100% - 44px)); display: grid; gap: 10px; }
.site-message { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; background: var(--green); color: var(--white); border-left: 3px solid #d59b80; box-shadow: 0 10px 35px rgba(0,0,0,.18); font-size: 14px; }
.site-message.error { background: #743a2c; }
.site-message button { border: 0; background: transparent; color: inherit; font-size: 22px; }
.article-page { padding-block: 58px 70px; }
.breadcrumbs { display: flex; gap: 12px; align-items: center; margin-bottom: 35px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--terracotta); }
.article-header { max-width: 920px; margin-inline: auto; text-align: center; }
.article-header h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.03em; }
.article-deck { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }
.article-header .article-byline { justify-content: center; flex-wrap: wrap; }
.article-figure { max-width: 1080px; margin: 42px auto 0; }
.article-figure img { width: 100%; max-height: 680px; object-fit: cover; }
.article-figure figcaption { margin-top: 8px; text-align: right; color: var(--muted); font-size: 11px; }
.article-content { max-width: 760px; margin: 50px auto 0; }
.article-body { font-family: var(--serif); font-size: 18px; line-height: 2; }
.article-body p + p { margin-top: 24px; }
.article-sources { margin-top: 45px; padding: 24px; border-top: 2px solid var(--green); background: var(--paper-deep); color: var(--muted); font-size: 13px; }
.article-sources h2 { margin-bottom: 10px; color: var(--ink); font-size: 18px; }
.related-section { border-top: 1px solid var(--line); }
.related-section .feature-card { padding-inline: 22px; }
.access-panel { max-width: 800px; margin: 55px auto 0; padding: 35px; border: 1px solid var(--line); border-top: 3px solid var(--terracotta); text-align: center; }
.access-lock { display: block; color: var(--terracotta); font-size: 40px; }
.access-panel h2 { margin-top: 5px; font-size: 28px; }
.access-panel p { max-width: 560px; margin: 12px auto 20px; color: var(--muted); }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--green); background: var(--green); color: var(--white); padding: 11px 20px; font-size: 14px; }
.primary-button:hover { background: var(--green-light); }
.secondary-link { display: block; width: max-content; margin: 14px auto 0; border-bottom: 1px solid var(--line); color: var(--green); font-size: 13px; }
.access-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; text-align: left; }
.access-action { border: 1px solid var(--line); padding: 15px; }
.access-action:only-child { grid-column: 1 / -1; }
.access-action summary { color: var(--green); cursor: pointer; font-weight: 600; }
.access-action form { display: grid; gap: 12px; margin-top: 18px; }
.access-action textarea, .access-action input, .auth-card input { width: 100%; border: 1px solid var(--line); background: var(--white); padding: 10px 12px; color: var(--ink); }
.archive-page .archive-heading h1 { font-size: 40px; }
.archive-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 35px 0; }
.archive-filters a { border: 1px solid var(--line); padding: 6px 13px; font-size: 12px; }
.archive-filters a.selected, .archive-filters a:hover { border-color: var(--green); background: var(--green); color: var(--white); }
.archive-card h2 { margin-top: 4px; font-size: 20px; }
.archive-metadata { max-width: 800px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.archive-metadata > div { padding: 18px; display: grid; gap: 4px; }
.archive-metadata > div + div { border-left: 1px solid var(--line); }
.archive-metadata strong { font-size: 12px; color: var(--muted); }
.download-button { margin: 30px auto 0; display: flex; width: max-content; }
.auth-page { min-height: 65vh; display: grid; place-items: center; padding-block: 65px; }
.auth-card { width: min(480px, 100%); padding: 38px; border: 1px solid var(--line); background: var(--white); }
.auth-card h1 { font-size: 31px; }
.auth-card > p { margin: 10px 0 25px; color: var(--muted); font-size: 14px; }
.auth-card form { display: grid; gap: 10px; margin-top: 25px; }
.auth-card label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.auth-card small, .auth-card .errorlist { color: var(--muted); font-size: 11px; }
.auth-card .errorlist { color: #9b3927; }
.auth-card .primary-button { margin-top: 15px; }
.auth-switch { margin-bottom: 0 !important; text-align: center; }
.auth-switch a { color: var(--terracotta); border-bottom: 1px solid currentColor; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--ink); }
.account-heading h1 { font-size: 36px; }
.account-heading p { color: var(--muted); }
.account-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; margin-top: 35px; }
.account-grid h2 { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 21px; }
.account-record { display: grid; gap: 5px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.account-record strong { font-family: var(--serif); font-weight: 500; }
.account-record span { color: var(--muted); font-size: 12px; }
.account-record .status.approved { color: var(--green); }
.account-record .status.rejected { color: var(--terracotta); }

@media (max-width: 900px) {
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .brand-logo { width: 139px; height: 64px; }
  .site-footer .brand-logo { width: 155px; height: 70px; }
  .topbar-right { gap: 12px; }
  .article-page { padding-block: 35px 45px; }
  .article-header h1 { font-size: 34px; }
  .article-deck { font-size: 16px; }
  .article-header .article-byline > span + span::before { display: none; }
  .article-header .article-byline > span + span { padding-left: 0; }
  .article-content { margin-top: 32px; }
  .article-body { font-size: 16px; }
  .access-panel { padding: 25px 18px; }
  .access-actions { grid-template-columns: 1fr; }
  .archive-page .archive-heading h1 { font-size: 31px; }
  .archive-metadata { grid-template-columns: 1fr; }
  .archive-metadata > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .auth-card { padding: 28px 22px; }
  .account-heading { align-items: flex-start; flex-direction: column; }
}

.public-theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #6e887d; border-radius: 20px; background: transparent; color: #e8e7dc; padding: 2px 9px; font-size: 12px; line-height: 1.5; }
.public-theme-toggle:hover { border-color: #d59b80; color: #f2c4ae; }
.public-theme-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html { color-scheme: light; }
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #13201b;
  --paper-deep: #1b2c25;
  --ink: #e6ebe7;
  --muted: #a5b0a8;
  --line: #3a4a42;
  --terracotta: #d17b5c;
}
html[data-theme="dark"] body { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .brand-tagline, html[data-theme="dark"] .social-links a { color: #b1bdb5; }
html[data-theme="dark"] .hero-deck { color: var(--muted); }
html[data-theme="dark"] .dispatch-strip { background: #18271f; }
html[data-theme="dark"] .text-link, html[data-theme="dark"] .secondary-link, html[data-theme="dark"] .access-action summary, html[data-theme="dark"] .timeline li a, html[data-theme="dark"] .contribute-note > a, html[data-theme="dark"] .popular-more, html[data-theme="dark"] .timeline-all, html[data-theme="dark"] .outline-button { color: #9cc8b5; }
html[data-theme="dark"] .outline-button { border-color: #9cc8b5; }
html[data-theme="dark"] .outline-button:hover { background: #9cc8b5; color: #13201b; }
html[data-theme="dark"] .dropdown, html[data-theme="dark"] .submenu { background: #1b2c25; }
html[data-theme="dark"] .dropdown a:hover, html[data-theme="dark"] .dropdown a:focus { background: #2a3d33; }
html[data-theme="dark"] .card-tag { background: var(--paper); }
html[data-theme="dark"] .archive-card { background: #17251f; }
html[data-theme="dark"] .archive-filters a.selected, html[data-theme="dark"] .archive-filters a:hover { background: #9cc8b5; border-color: #9cc8b5; color: #13201b; }
html[data-theme="dark"] .auth-card { background: #1b2c25; }
html[data-theme="dark"] .access-action textarea, html[data-theme="dark"] .access-action input, html[data-theme="dark"] .auth-card input, html[data-theme="dark"] .email-field input { background: #13201b; color: #e6ebe7; border-color: #465b50; }
html[data-theme="dark"] .search-suggestions button:hover { color: #d17b5c; }
html[data-theme="dark"] .primary-button { border-color: #28584a; }
html[data-theme="dark"] .primary-button:hover { background: #356d5b; }
html[data-theme="dark"] .site-message { border-left-color: #d17b5c; }
html[data-theme="dark"] .search-result:hover h3 { color: #d17b5c; }
html[data-theme="dark"] .archive-stats, html[data-theme="dark"] .archive-stats > div, html[data-theme="dark"] .contribute-note { border-color: var(--line); }
html[data-theme="dark"] .archive-stats > div:nth-child(3), html[data-theme="dark"] .archive-stats > div:nth-child(4) { border-color: var(--line); }
@media (max-width: 640px) {
  .public-theme-toggle { padding: 3px 7px; }
  .public-theme-toggle .theme-toggle-text { display: none; }
  .public-theme-toggle svg { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
