:root {
  color-scheme: light;
  --paper: #f3f2ef;
  --paper-deep: #e9e7e2;
  --surface: #fbfaf8;
  --ink: #171715;
  --ink-soft: #3e3e3a;
  --muted: #77766f;
  --line: #d9d7d0;
  --line-dark: #a8a69e;
  --accent: #a7885c;
  --accent-light: #e5dac6;
  --danger: #9f5148;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 max(32px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(23, 23, 21, .13);
  background: rgba(243, 242, 239, .9);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand__logo { display: none; }
.brand__mark { font-size: 19px; font-weight: 780; letter-spacing: -.085em; }
.brand__dot, .footer-brand span { color: var(--accent); }
.header-nav { display: flex; gap: clamp(20px, 3vw, 42px); align-items: center; }
.header-nav a { position: relative; color: var(--muted); font-size: 11px; transition: color .2s ease; }
.header-nav a:hover { color: var(--ink); }
.header-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: var(--accent); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.header-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.language-toggle { display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.language-toggle__slash { color: #aaa79f; }
.language-toggle__next { color: var(--muted); }
.header-enter { display: inline-flex; align-items: center; gap: 9px; padding: 10px 0; border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.header-enter span:last-child { color: var(--accent); font-size: 15px; transition: transform .2s ease; }
.header-enter:hover span:last-child { transform: translate(2px,-2px); }

.hero { position: relative; min-height: min(690px, calc(100svh - 74px)); display: flex; flex-direction: column; justify-content: space-between; padding-block: 26px 24px; overflow: hidden; }
.hero::before { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(23,23,21,.12) .6px, transparent .6px); background-size: 7px 7px; opacity: .14; content: ''; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 75%, transparent); }
.hero__topline, .hero__bottomline { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .15em; }
.hero__pulse { display: inline-flex; align-items: center; gap: 8px; }
.hero__pulse i, .demo-live i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #6d9273; box-shadow: 0 0 0 4px rgba(109,146,115,.12); animation: pulse 2.4s ease-out infinite; }
.hero__content { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 36px; padding-block: 50px 70px; }
.hero__identity { position: relative; z-index: 2; animation: rise-in .9s both; }
.eyebrow { margin: 0 0 16px; color: var(--muted); font-size: 9px; font-weight: 740; letter-spacing: .18em; line-height: 1.5; }
.eyebrow-star { margin-left: 5px; color: var(--accent); font-size: 12px; }
.hero__identity h1 { margin: 0 0 22px -7px; font-size: clamp(62px, 10vw, 132px); line-height: .92; font-weight: 780; letter-spacing: -.105em; }
.hero__period { color: var(--accent); }
.hero__description { max-width: 420px; margin: 0 0 30px; color: var(--muted); font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 22px; padding: 0 20px; border: 1px solid transparent; cursor: pointer; font-size: 9px; font-weight: 750; letter-spacing: .14em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .55; transform: none; }
.button--dark { background: var(--ink); color: var(--paper); }
.button--dark:hover { background: #33332f; }
.button--outline { border-color: var(--line-dark); background: transparent; color: var(--ink); }
.button--outline:hover { border-color: var(--ink); background: var(--surface); }
.hero__enter { min-width: 160px; }
.button-arrow { color: #c7b18f; font-size: 16px; }
.hero__art { position: relative; display: grid; width: min(38vw, 390px); aspect-ratio: 1; place-items: center; justify-self: center; animation: fade-in 1.3s both .15s; }
.hero__art::before { position: absolute; inset: 16%; border: 1px solid rgba(23,23,21,.12); border-radius: 50%; content: ''; }
.hero__art::after { position: absolute; inset: 26%; border: 1px dashed rgba(23,23,21,.2); border-radius: 50%; content: ''; animation: rotate 36s linear infinite; }
.orbit { position: absolute; border: 1px solid rgba(23,23,21,.16); border-radius: 50%; }
.orbit--one { inset: 4%; transform: rotate(31deg) scaleY(.66); }
.orbit--two { inset: 4%; transform: rotate(-31deg) scaleY(.66); }
.orbit--three { inset: 2%; border-style: dotted; opacity: .7; animation: rotate 55s linear infinite reverse; }
.hero__core { position: relative; z-index: 1; display: grid; width: 108px; aspect-ratio: 1; place-items: center; border-radius: 30px; background: var(--ink); color: var(--paper); box-shadow: 0 22px 54px rgba(23,23,21,.18); transform: rotate(-7deg); animation: core-float 5s ease-in-out infinite; }
.hero__core span { margin-top: -8px; font-family: var(--serif); font-size: 78px; font-weight: 700; line-height: 1; }
.hero__art-label { position: absolute; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.hero__art-label--top { top: 6%; right: 14%; }
.hero__art-label--bottom { bottom: 3%; left: 5%; }
.hero__bottomline { border-top: 1px solid rgba(23,23,21,.16); padding-top: 15px; }

.feed-section { padding-block: clamp(78px, 10vw, 132px) 110px; scroll-margin-top: 72px; }
.feed-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 52px; }
.feed-intro h2, .section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 6vw, 64px); font-weight: 400; letter-spacing: -.055em; line-height: 1.08; }
.feed-intro__text { max-width: 330px; margin: 0 0 5px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.category-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 18px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tab { display: inline-flex; min-height: 37px; flex: 0 0 auto; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid transparent; color: var(--muted); font-size: 10px; transition: .2s ease; }
.category-tab:hover { border-color: var(--line); color: var(--ink); }
.category-tab.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.category-tab__count { color: #b7b4ac; font-size: 9px; }
.category-tab__arrow { color: var(--accent); font-size: 13px; }
.feed-search { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 10px 22px; padding-block: 18px 22px; border-bottom: 1px solid var(--line); }
.feed-search__label { color: var(--muted); font-size: 9px; font-weight: 720; letter-spacing: .12em; }
.feed-search__controls { display: flex; min-width: 0; align-items: center; gap: 9px; }
.feed-search input { width: 100%; min-width: 0; min-height: 42px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; outline: none; background: rgba(251,250,248,.55); color: var(--ink); font: inherit; font-size: 12px; transition: border-color .2s ease, background .2s ease; }
.feed-search input:focus { border-color: var(--ink); background: var(--surface); }
.feed-search input::placeholder { color: #99968d; }
.feed-search__controls button { display: inline-flex; min-height: 42px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; font-size: 9px; font-weight: 720; letter-spacing: .08em; transition: background .2s ease, color .2s ease; }
.feed-search__controls button:hover { background: transparent; color: var(--ink); }
.feed-search__clear { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
.feed-search__clear:hover { color: var(--ink); }
.feed-search__summary { grid-column: 2; margin: 0; color: var(--muted); font-size: 10px; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 20px; }
.post-card { position: relative; display: flex; min-height: 310px; flex-direction: column; padding: 27px 28px 23px; border: 1px solid var(--line); background: rgba(251,250,248,.7); opacity: 0; animation: card-in .65s cubic-bezier(.2,.75,.25,1) forwards; }
.post-card:nth-child(1) { animation-delay: .04s; }
.post-card:nth-child(2) { animation-delay: .12s; }
.post-card:nth-child(3) { animation-delay: .2s; }
.post-card:hover { border-color: #aaa69c; background: var(--surface); }
.post-card--feature { grid-column: span 2; min-height: 340px; padding: clamp(28px, 5vw, 52px); }
.post-card__top, .post-card__bottom { display: flex; justify-content: space-between; align-items: center; }
.category-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 0 9px; border: 1px solid var(--line); color: var(--ink-soft); font-size: 8px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.category-pill--life { border-color: #d3c5ac; background: #f2ede4; }
.category-pill--hacking-coding { border-color: #c8d0c8; background: #edf0eb; }
.category-pill--downloads { border-color: #cbc9d5; background: #efeff3; }
.post-card__number { color: #a5a39c; font-family: var(--serif); font-size: 12px; font-style: italic; }
.post-card__title { max-width: 730px; margin: 38px 0 14px; font-family: var(--serif); font-size: clamp(27px, 4vw, 41px); font-weight: 400; letter-spacing: -.045em; line-height: 1.15; }
.post-card--feature .post-card__title { font-size: clamp(34px, 5vw, 55px); }
.post-card__title a { background: linear-gradient(var(--accent),var(--accent)) no-repeat 0 100% / 0 1px; transition: background-size .3s ease; }
.post-card__title a:hover { background-size: 100% 1px; }
.post-card__excerpt { max-width: 690px; margin: 0 0 34px; color: var(--muted); font-family: var(--serif); font-size: 15px; line-height: 1.75; }
.post-card__bottom { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 9px; }
.post-card__actions { display: flex; align-items: center; gap: 16px; }
.mini-like, .action-button { display: inline-flex; align-items: center; gap: 7px; padding: 4px 0; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 10px; transition: color .2s ease; }
.mini-like:hover, .action-button:hover { color: var(--ink); }
.like-heart { color: #96938a; font-size: 19px; line-height: 1; transition: color .2s ease, transform .2s ease; }
.is-liked .like-heart { color: #a94f51; transform: scale(1.15); }
.card-arrow { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--line); color: var(--ink); font-size: 13px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.card-arrow:hover { transform: translate(2px,-2px); border-color: var(--ink); background: var(--ink); color: var(--paper); }
.empty-state { display: grid; min-height: 310px; justify-items: center; align-content: center; padding: 36px; text-align: center; }
.empty-state__mark { color: var(--accent); font-size: 28px; animation: rotate 24s linear infinite; }
.empty-state h3 { margin: 20px 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 5px; width: fit-content; border: 0; background: none; cursor: pointer; color: var(--ink); font-size: 10px; font-weight: 700; }
.text-link:hover { color: var(--accent); }

.article-page { padding-block: 42px 112px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; transition: color .2s ease; }
.back-link:hover { color: var(--ink); }
.article-heading { max-width: 880px; margin: 64px auto 54px; text-align: center; animation: rise-in .7s both; }
.article-heading__meta { display: flex; justify-content: center; align-items: center; gap: 13px; color: var(--muted); font-size: 10px; }
.article-title { margin: 28px 0 18px; font-family: var(--serif); font-size: clamp(42px, 7.8vw, 85px); font-weight: 400; letter-spacing: -.065em; line-height: 1.04; }
.article-submeta { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; letter-spacing: .05em; }
.submeta-dot { color: var(--accent); }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 220px; justify-content: center; gap: clamp(40px, 8vw, 110px); }
.article-copy { color: #383833; font-family: var(--serif); font-size: clamp(17px, 2vw, 19px); line-height: 1.92; white-space: normal; }
.article-copy::first-letter { color: var(--accent); }
.article-copy br + br { display: block; content: ''; margin-top: 1.15em; }
.article-copy br { content: ''; }
.article-aside { padding-top: 20px; }
.aside-card { position: sticky; top: 110px; padding: 18px; border: 1px solid var(--line); background: rgba(251,250,248,.55); }
.aside-card__index, .aside-card__brand { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.aside-card p { margin: 35px 0; font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.aside-card__line { display: block; width: 30px; height: 1px; margin-bottom: 15px; background: var(--accent); }
.article-actions { display: flex; align-items: center; gap: 24px; margin-top: 48px; padding-block: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.action-button { gap: 8px; font-size: 11px; }
.action-count { color: var(--muted); font-size: 9px; }
.comments { margin-top: 74px; }
.section-heading--small { margin-bottom: 25px; }
.section-heading--small .eyebrow { margin-bottom: 9px; }
.section-heading--small h2 { font-size: 33px; }
.comment-total { color: var(--muted); font-family: var(--sans); font-size: 13px; }
.comment-form { display: grid; gap: 11px; padding: 21px; border: 1px solid var(--line); background: rgba(251,250,248,.68); }
.comment-form input, .comment-form textarea, .admin-form input, .admin-form textarea, .admin-form select, .subscribe-form input[type=email] { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; background: var(--surface); color: var(--ink); transition: border .2s ease, box-shadow .2s ease; }
.comment-form input, .admin-form input, .admin-form select, .subscribe-form input[type=email] { min-height: 43px; padding: 0 12px; }
.comment-form textarea, .admin-form textarea { min-height: 120px; padding: 12px; resize: vertical; line-height: 1.65; }
.comment-form input:focus, .comment-form textarea:focus, .admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus, .subscribe-form input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(167,136,92,.12); }
.comment-form input::placeholder, .comment-form textarea::placeholder, .admin-form input::placeholder, .admin-form textarea::placeholder, .subscribe-form input::placeholder { color: #a29f97; }
.comment-submit { justify-self: start; min-height: 42px; }
.form-note { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.honey-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; }
.comment-list { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.comment-item { padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise-in .45s both; }
.comment-item__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.comment-item__top strong { font-size: 11px; }
.comment-item__top time { color: var(--muted); font-size: 9px; }
.comment-item p { margin: 10px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 15px; line-height: 1.7; }
.empty-comments { color: var(--muted); font-family: var(--serif); font-size: 15px; }
.not-found { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found h1 { max-width: 700px; margin: 0 0 25px; font-family: var(--serif); font-size: clamp(42px, 7vw, 78px); font-weight: 400; letter-spacing: -.06em; }

.learning-demo { position: relative; margin: 58px 0 18px; padding: clamp(22px, 4vw, 38px); border: 1px solid #c9c5ba; background: #eeece6; overflow: hidden; }
.learning-demo::before { position: absolute; top: -68px; right: -60px; width: 170px; height: 170px; border: 1px solid rgba(167,136,92,.3); border-radius: 50%; box-shadow: 0 0 0 22px rgba(167,136,92,.04), 0 0 0 44px rgba(167,136,92,.03); content: ''; pointer-events: none; }
.learning-demo__top { position: relative; display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 35px; }
.demo-index, .demo-live { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .15em; }
.demo-live { display: inline-flex; align-items: center; gap: 8px; }
.demo-live i { width: 5px; height: 5px; }
.learning-demo .eyebrow { position: relative; margin-bottom: 9px; }
.learning-demo h2 { position: relative; margin: 0 0 14px; font-family: var(--serif); font-size: clamp(27px, 4vw, 40px); font-weight: 400; letter-spacing: -.04em; }
.demo-scenario { position: relative; max-width: 620px; margin: 0 0 23px; color: #5f5d56; font-family: var(--serif); font-size: 15px; line-height: 1.75; }
.demo-choices { position: relative; display: grid; gap: 7px; }
.demo-choices button { display: grid; grid-template-columns: 26px 1fr 18px; gap: 11px; align-items: center; min-height: 56px; padding: 9px 12px; border: 1px solid #d1cec6; background: rgba(251,250,248,.7); cursor: pointer; text-align: left; color: var(--ink-soft); font-size: 11px; line-height: 1.55; transition: border .2s ease, background .2s ease, transform .2s ease; }
.demo-choices button:hover { transform: translateX(3px); border-color: var(--accent); background: var(--surface); }
.demo-choices button.is-selected { border-color: var(--accent); background: #f7f2e9; }
.demo-choice__letter { color: var(--accent); font-family: var(--serif); font-size: 16px; }
.demo-choice__arrow { justify-self: end; color: var(--muted); }
.demo-feedback { position: relative; margin-top: 15px; padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--surface); color: var(--ink-soft); font-family: var(--serif); font-size: 14px; line-height: 1.65; animation: rise-in .3s both; }
.demo-feedback--good { border-left-color: #5f8064; }
.demo-feedback--careful { border-left-color: var(--danger); }
.demo-footnote { position: relative; margin: 18px 0 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.gamble-controls { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin: 25px 0 14px; }
.gamble-controls label, .subscribe-form > label:not(.consent-line) { display: grid; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.gamble-controls select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid #d1cec6; border-radius: 0; background: var(--surface); color: var(--ink); }
.gamble-buttons { position: relative; display: flex; flex-wrap: wrap; gap: 9px; }
.gamble-buttons .button { min-height: 43px; }
.gamble-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 20px; background: var(--line); border: 1px solid var(--line); }
.gamble-stats div { display: grid; gap: 9px; padding: 14px 12px; background: #f7f6f3; }
.gamble-stats span { color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .07em; }
.gamble-stats strong { font-size: clamp(13px, 2vw, 17px); font-weight: 620; }
.gamble-log { position: relative; min-height: 40px; margin: 13px 0 0; padding: 12px; border: 1px dashed #cbc7bd; color: var(--ink-soft); font-size: 10px; line-height: 1.6; }
.server-demo > .button { position: relative; min-height: 43px; margin: 0 0 13px; }
.server-output { position: relative; display: grid; gap: 0; }
.server-line { display: grid; grid-template-columns: 35px 1fr; gap: 12px; padding: 14px 9px; border-top: 1px solid #d4d0c7; animation: rise-in .35s both; }
.server-line__number { color: var(--accent); font-size: 9px; font-weight: 750; }
.server-line__label { display: block; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .13em; }
.server-line code { display: inline-block; margin-top: 5px; padding: 4px 6px; background: #e4e1d9; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; }
.server-line p { margin: 7px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 13px; line-height: 1.5; }
.server-note { position: relative; margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.updates-section { padding-bottom: 100px; scroll-margin-top: 92px; }
.updates-panel { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(35px, 8vw, 110px); padding: clamp(30px, 6vw, 66px); background: var(--ink); color: var(--paper); }
.updates-copy .eyebrow { color: #aaa79f; }
.updates-copy .eyebrow-star { color: #c7ad85; }
.updates-copy h2 { margin: 0 0 17px; font-family: var(--serif); font-size: clamp(34px, 5.4vw, 59px); font-weight: 400; letter-spacing: -.055em; line-height: 1.09; }
.updates-copy > p:not(.eyebrow) { max-width: 400px; margin: 0; color: #c0beb7; font-family: var(--serif); font-size: 15px; line-height: 1.65; }
.updates-sender { display: block; margin-top: 27px; color: #98958d; font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.updates-form-wrap { align-self: center; }
.subscribe-form { display: grid; gap: 12px; }
.subscribe-form > label:not(.consent-line) { color: #c0beb7; }
.subscribe-form__row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.subscribe-form input[type=email] { min-height: 48px; border-color: #595852; background: #252522; color: var(--paper); }
.subscribe-form input[type=email]:focus { border-color: #c7ad85; }
.subscribe-form input::placeholder { color: #8c8980; }
.subscribe-form .button { min-height: 48px; background: var(--paper); color: var(--ink); }
.subscribe-form .button:hover { background: #e6dfd3; }
.consent-line { display: flex; gap: 9px; align-items: flex-start; color: #b5b2aa; font-size: 9px; line-height: 1.55; }
.consent-line input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.subscribe-form .form-note { color: #8d8b83; }
.subscription-notice { margin-bottom: 14px; padding: 12px; border: 1px solid #656158; color: #e8e2d8; font-size: 10px; line-height: 1.55; }
.clipboard-fallback { position: fixed; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; min-height: 92px; border-top: 1px solid var(--line); }
.footer-brand { width: fit-content; font-size: 17px; font-weight: 780; letter-spacing: -.08em; }
.site-footer p { margin: 0; color: var(--muted); text-align: center; font-family: var(--serif); font-size: 12px; }
.footer-copy { justify-self: end; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; max-width: min(390px, calc(100vw - 44px)); padding: 13px 17px; border: 1px solid #454540; background: var(--ink); color: var(--paper); font-size: 11px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.admin-body { background: #eeede9; }
.admin-header { grid-template-columns: 1fr auto 1fr; }
.admin-header__label { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.logout-form { display: inline-flex; }
.admin-shell { min-height: calc(100svh - 166px); padding-block: 50px 90px; }
.login-panel { width: min(470px, 100%); margin: 5vh auto; padding: clamp(27px, 5vw, 48px); border: 1px solid var(--line); background: var(--surface); animation: rise-in .6s both; }
.login-panel h1, .admin-welcome h1 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 5.5vw, 54px); font-weight: 400; letter-spacing: -.05em; }
.login-panel__intro { margin: 13px 0 28px; color: var(--muted); font-family: var(--serif); font-size: 15px; line-height: 1.6; }
.admin-form { display: grid; gap: 9px; }
.admin-form label { margin-top: 6px; color: var(--ink-soft); font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.admin-form input, .admin-form textarea, .admin-form select { border-color: #d4d1c8; background: #fdfcfa; font-size: 12px; }
.admin-form select { width: fit-content; min-width: 210px; }
.admin-form .button { justify-self: start; margin-top: 10px; }
.login-form .button { width: 100%; justify-content: space-between; margin-top: 14px; }
.login-panel__foot { margin: 30px 0 0; color: #a19e95; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.admin-flash { margin-bottom: 24px; padding: 13px 16px; border: 1px solid #b9c7b8; background: #edf2eb; color: #3e6542; font-size: 11px; line-height: 1.5; }
.admin-flash--error { border-color: #d6bbb6; background: #f7eeec; color: #8a4840; }
.admin-welcome { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
.admin-welcome .eyebrow { margin-bottom: 10px; }
.admin-welcome > .button { flex: 0 0 auto; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: 16px; align-items: start; }
.admin-panel { border: 1px solid var(--line); background: var(--surface); }
.admin-panel--editor { padding: clamp(22px, 4vw, 38px); }
.admin-panel__heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 27px; }
.admin-panel__heading .eyebrow { margin-bottom: 8px; }
.admin-panel__heading h2, .password-panel h2 { margin: 0; font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -.04em; }
.admin-panel__heading--compact { margin: 0 0 18px; }
.admin-panel__heading--compact h2 { font-size: 24px; }
.post-editor { gap: 11px; }
.admin-language-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.admin-field { display: grid; gap: 8px; align-content: start; }
.admin-field textarea { min-height: 270px; font-family: var(--serif); font-size: 13px; }
.char-count { justify-self: end; color: #9c9991; font-size: 8px; }
.char-count--near { color: var(--danger); }
.editor-note { margin: 3px 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.notify-check { display: flex; gap: 9px; align-items: flex-start; margin: 5px 0 0 !important; padding: 12px; border: 1px solid var(--line); background: #f5f3ee; color: var(--ink-soft) !important; font-size: 9px !important; line-height: 1.6; }
.notify-check input { flex: 0 0 auto; width: 14px; height: 14px; min-height: 0; margin: 1px 0 0; accent-color: var(--accent); }
.editor-submit { justify-self: stretch !important; justify-content: space-between; margin-top: 9px !important; }
.admin-sidebar { display: grid; gap: 15px; }
.post-list-panel, .password-panel { padding: 22px; }
.admin-post-list { display: grid; }
.admin-post-row { padding: 14px 0; border-top: 1px solid var(--line); }
.admin-post-row__meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 8px; }
.admin-post-row h3 { margin: 9px 0 12px; font-family: var(--serif); font-size: 17px; font-weight: 400; line-height: 1.35; }
.admin-post-row__actions { display: flex; align-items: center; gap: 14px; }
.admin-post-row__actions .text-link { font-size: 9px; }
.delete-form { margin-left: auto; }
.text-link--danger { color: var(--danger); }
.password-panel .eyebrow { margin-bottom: 8px; }
.password-panel h2 { margin-bottom: 18px; font-size: 24px; }
.password-form { gap: 8px; }
.password-form label { font-size: 8px; }
.password-form .button { min-height: 40px; margin-top: 5px; }
.email-panel { padding: 22px; }
.email-panel .eyebrow { margin-bottom: 8px; }
.email-panel h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: -.04em; }
.email-panel__sender { margin: 11px 0 18px; color: var(--muted); font-size: 9px; }
.email-panel__sender strong { color: var(--ink-soft); font-weight: 650; }
.email-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-bottom: 14px; border: 1px solid var(--line); background: var(--line); }
.email-stats div { display: grid; gap: 5px; padding: 12px 10px; background: #f7f6f3; }
.email-stats strong { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.email-stats span { color: var(--muted); font-size: 8px; line-height: 1.45; }
.subscriber-list { display: grid; margin-top: 15px; border-top: 1px solid var(--line); }
.subscriber-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 9px; overflow-wrap: anywhere; }
.subscriber-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 7px; }
.subscriber-row .text-link { flex: 0 0 auto; font-size: 8px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(109,146,115,.08); } 50% { box-shadow: 0 0 0 6px rgba(109,146,115,.02); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes core-float { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-9px); } }

@media (max-width: 900px) {
  .header-nav { gap: 17px; }
  .header-nav a { font-size: 10px; }
  .hero { min-height: 610px; }
  .hero__content { grid-template-columns: 1fr .72fr; gap: 15px; }
  .hero__art { width: min(35vw, 300px); }
  .article-layout { grid-template-columns: minmax(0, 680px); }
  .article-aside { display: none; }
  .admin-grid { grid-template-columns: minmax(0, 1.25fr) minmax(245px, .75fr); }
  .admin-language-pair { grid-template-columns: 1fr; }
  .admin-field textarea { min-height: 200px; }
}
@media (max-width: 650px) {
  .shell { width: min(100% - 36px, 560px); }
  .site-header { min-height: 64px; grid-template-columns: 1fr auto; padding-inline: 18px; }
  .header-nav { display: none; }
  .header-actions { gap: 15px; }
  .hero { min-height: 650px; min-height: calc(100svh - 64px); padding-block: 18px; }
  .hero__topline, .hero__bottomline { font-size: 7px; letter-spacing: .1em; }
  .hero__pulse { gap: 6px; }
  .hero__content { grid-template-columns: 1fr; gap: 0; padding-block: 38px 48px; }
  .hero__identity { align-self: center; }
  .hero__identity h1 { font-size: clamp(63px, 16vw, 98px); }
  .hero__description { max-width: 340px; font-size: 17px; }
  .hero__art { position: absolute; right: -7%; bottom: 13%; width: min(45vw, 220px); opacity: .44; }
  .hero__core { width: 62px; border-radius: 18px; }
  .hero__core span { font-size: 48px; }
  .hero__art-label { display: none; }
  .feed-section { padding-block: 72px 74px; }
  .feed-intro { display: block; margin-bottom: 30px; }
  .feed-intro h2 { font-size: 43px; }
  .feed-intro__text { max-width: 330px; margin-top: 13px; font-size: 12px; }
  .category-tabs { gap: 3px; }
  .category-tab { min-height: 34px; padding-inline: 10px; font-size: 9px; }
  .feed-search { grid-template-columns: 1fr; gap: 9px; padding-block: 15px 18px; }
  .feed-search__controls { gap: 6px; }
  .feed-search__controls button { gap: 5px; padding-inline: 10px; }
  .feed-search__summary { grid-column: 1; }
  .post-grid { grid-template-columns: 1fr; gap: 9px; padding-top: 12px; }
  .post-card, .post-card--feature { grid-column: auto; min-height: 280px; padding: 21px 20px 18px; }
  .post-card__title, .post-card--feature .post-card__title { margin-top: 30px; font-size: 31px; }
  .post-card__excerpt { margin-bottom: 26px; font-size: 14px; }
  .post-card__meta { gap: 6px; font-size: 8px; }
  .article-page { padding-block: 28px 72px; }
  .article-heading { margin: 48px auto 39px; }
  .article-title { margin-block: 22px 14px; font-size: clamp(41px, 11vw, 66px); }
  .article-copy { font-size: 17px; line-height: 1.85; }
  .article-actions { margin-top: 34px; }
  .comments { margin-top: 54px; }
  .comment-form { padding: 14px; }
  .learning-demo { margin-top: 43px; padding: 19px; }
  .learning-demo__top { margin-bottom: 28px; }
  .demo-live, .demo-index { font-size: 7px; letter-spacing: .09em; }
  .gamble-controls { grid-template-columns: 1fr; }
  .gamble-stats { grid-template-columns: 1fr 1fr; }
  .gamble-stats div { padding: 12px 10px; }
  .updates-section { padding-bottom: 70px; }
  .updates-panel { grid-template-columns: 1fr; gap: 30px; padding: 26px 20px; }
  .updates-copy h2 { font-size: 42px; }
  .subscribe-form__row { grid-template-columns: 1fr; }
  .subscribe-form .button { justify-content: space-between; }
  .site-footer { grid-template-columns: 1fr auto; min-height: 82px; }
  .site-footer p { display: none; }
  .footer-copy { font-size: 7px; }
  .admin-header__label { display: none; }
  .admin-shell { padding-block: 28px 60px; }
  .login-panel { margin: 5vh auto; padding: 25px 20px; }
  .admin-welcome { align-items: flex-start; flex-direction: column; }
  .admin-welcome > .button { min-height: 42px; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-panel--editor { padding: 19px; }
  .admin-panel__heading h2 { font-size: 27px; }
  .admin-language-pair { gap: 13px; }
  .admin-field textarea { min-height: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
