:root {
  --page: #f9f7f0;
  --hairline: #cdc6b7;
  --ink: #302d26;
  --muted: #686154;
  --accent: #795b40;
  --body: "Remorphis Menu", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--page); color: var(--ink); }
.room, .room-footer { font-family: var(--body); }
.room, .footer-inner { width: min(1392px, 90%); margin-inline: auto; }
.room a, .room-footer a { color: inherit; text-decoration: none; }
.room a:focus-visible, .room button:focus-visible, .room-footer a:focus-visible { outline: 2px solid #9c7953; outline-offset: 4px; }
.room h1, .room h2, .room h3, .room p, .room figure { margin: 0; }
.room h1, .room h2, .room h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; line-height: 1.06; }
.room a:hover .story-title, .archive-link:hover { text-decoration: underline; text-underline-offset: .13em; text-decoration-thickness: 1px; }
.room-head, .archive-head { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.room-head { border-bottom: 1px solid var(--hairline); margin-top: clamp(32px, 4.1vw, 64px); padding-bottom: 15px; }
.room-head h1 { font-size: clamp(34px, 3.65vw, 62px); }
.room-head time, .story-meta, .section-label, .archive-table th { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; }
.room-head time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.spread { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2.02fr) minmax(0,1fr); grid-template-areas: "side lead notes"; gap: clamp(18px, 2.1vw, 34px); align-items: start; padding: 18px 0 clamp(42px, 5.4vw, 82px); }
.lead-story { grid-area: lead; }
.side-story { grid-area: side; }
.side-notes { grid-area: notes; }
.story-link { display: block; }
.story-meta { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: baseline; }
.story-meta time { color: var(--muted); }
.story-meta span { color: var(--accent); font-weight: 540; }
.spread .story-meta { margin-bottom: 11px; }
.media-frame { border-radius: 4px; overflow: hidden; background: #ded7c9; }
.media-frame img { display: block; height: 100%; width: 100%; object-fit: cover; }
.lead-img { aspect-ratio: 16/9; }
.lead-img img { object-position: 57% 51%; }
.side-img { aspect-ratio: 16/9; }
.side-img img { object-position: 50% 51%; }
.room .story-title { font-size: clamp(27px, 2.1vw, 37px); }
.room .lead-title { font-size: clamp(36px, 3.6vw, 64px); }
.story-link .media-frame { margin-bottom: 14px; }
.story-dek { color: #514b40; font-size: clamp(14px, 1.04vw, 17px); line-height: 1.5; max-width: 54ch; }
.story-title + .story-dek { margin-top: 9px; }
.side-notes article + article { border-top: 1px solid var(--hairline); margin-top: 23px; padding-top: 19px; }
.featured { border-block: 1px solid var(--hairline); padding-block: 12px clamp(32px, 4.6vw, 70px); }
.room .section-label { font: 500 13px/1.5 var(--body); letter-spacing: 0; color: var(--ink); }
.feature-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: clamp(20px, 4.5vw, 68px); margin-top: 19px; align-items: stretch; }
.feature-copy { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; }
.feature-copy h3 { font-size: clamp(32px, 3.2vw, 54px); margin: 13px 0 12px; }
.feature-copy .story-dek { max-width: 33ch; }
.feature-copy .visit { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; padding: 8px 16px; margin-top: 20px; border: 1px solid #c4bbab; border-radius: 24px; font-size: 14px; }
.feature-copy .visit:hover { background: #eae5d9; }
.visual { position: relative; width: 100%; min-width: 0; display: grid; align-items: center; justify-items: center; isolation: isolate; overflow: hidden; min-height: 240px; aspect-ratio: 2.3; border-radius: 5px; color: #f7f0e1 !important; background: #292d26; }
.visual > picture { position: absolute; inset: 0; z-index: -2; }
.visual > picture img { width: 100%; height: 100%; object-fit: cover; }
.visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg,rgba(24,25,19,.55),rgba(28,24,19,.26)); z-index: -1; }
.mail-excerpt { width: min(82%, 440px); margin: 24px; padding: clamp(16px, 2.1vw, 32px); border: 1px solid #d1c6b2; border-radius: 5px; box-shadow: 0 7px 32px #19191238; background: #f4efe3; color: #362f25; }
.mail-line { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #cfc4b3; padding-bottom: 9px; margin-bottom: 12px; color: #685845; font-size: 12px; }
.mail-excerpt b { font-size: clamp(22px, 2vw, 33px); font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.room .mail-excerpt p { margin: 7px 0 12px; font-size: 14px; line-height: 1.5; }
.mail-status { display: inline-block; color: #5d4935; font-size: 12px; border-top: 1px solid #cfc4b3; padding-top: 8px; }
.archive { padding: clamp(40px, 5.4vw, 82px) 0; }
.archive h2 { font-size: clamp(36px, 3.6vw, 58px); }
.filters { align-self: center; display: inline-flex; border-radius: 30px; border: 1px solid #d2c9b9; background: #eee9de; padding: 2px; }
.filters a { font: inherit; font-size: 13px; border: 0; border-radius: 28px; background: none; padding: 4px 16px; min-height: 44px; color: var(--ink); cursor: pointer; }
.filters [aria-current="true"] { background: #39372f; color: #fffaf0; }
.archive-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.archive-table th, .archive-table td { text-align: left; vertical-align: middle; padding: 14px 12px; border-bottom: 1px solid var(--hairline); }
.archive-table th:first-child, .archive-table td:first-child { padding-left: 0; }
.archive-table th:last-child, .archive-table td:last-child { padding-right: 0; text-align: right; }
.archive-table th { letter-spacing: .025em; font-weight: 500; }
.archive-table td { font-size: 14px; color: var(--muted); line-height: 1.5; }
.archive-table td:first-child { width: 56%; }
.archive-table td time { white-space: nowrap; }
.room .archive-link { display: inline-flex; align-items: center; min-height: 44px; font: 400 clamp(19px, 1.55vw, 26px)/1.22 var(--serif); color: var(--ink); }
.room-footer { background: #22251f; color: #ede9df; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 42px; }
.footer-inner img { display: block; width: 125px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: #e5e0d2; }
.footer-inner a:hover { text-decoration: underline; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
@media(prefers-reduced-motion:no-preference) {
  .lead-img img { animation: arrive .52s ease-out both; }
  .room .media-frame img, .room .visual .mail-excerpt { transition: transform .27s ease-out; }
  @keyframes arrive { from { opacity: .88; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .story-link:hover .side-img img { transform: scale(1.025); }
  .visual:hover .mail-excerpt { transform: translateY(-3px); }
}
@media(max-width:999px) {
  .spread { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); grid-template-areas: "lead side" "lead notes"; gap: 20px 27px; }
  .side-img { display: none; }
  .side-notes { border-top: 1px solid var(--hairline); padding-top: 14px; }
  .room .story-title { font-size: 26px; }
  .room .lead-title { font-size: clamp(32px, 4.9vw, 49px); }
}
@media(max-width:660px) {
  .room, .footer-inner { width: calc(100% - 36px); }
  .room-head { align-items: end; margin-top: 28px; padding-bottom: 12px; }
  .room-head time { font-size: 11px; }
  .room-head h1 { max-width: 9.5em; font-size: clamp(28px, 6vw, 34px); }
  .spread { display: flex; flex-direction: column; gap: 20px; padding: 15px 0 30px; }
  .spread > * { width: 100%; }
  .side-story, .side-notes { border-top: 1px solid var(--hairline); padding-top: 15px; }
  .side-story .story-link { display: flow-root; }
  .side-story .side-img { display: block; width: clamp(95px, 29%, 156px); float: right; aspect-ratio: 1.1; margin: 0 0 5px 14px; }
  .room .lead-title { font-size: clamp(32px,8.3vw,44px); }
  .side-notes article + article { padding-top: 15px; margin-top: 15px; }
  .room .side-title { font-size: 26px; }
  .spread .story-meta { margin-bottom: 8px; }
  .feature-layout { display: flex; flex-direction: column-reverse; gap: 17px; margin-top: 12px; }
  .visual { width: 100%; min-height: 0; aspect-ratio: auto; }
  .mail-excerpt { margin: 23px 12px; }
  .feature-copy h3 { margin: 7px 0 8px; }
  .feature-copy .visit { margin-top: 12px; }
  .archive-head { flex-wrap: wrap; gap: 12px; }
  .archive-table { margin-top: 12px; }
  .archive-table td, .archive-table th { padding: 10px 4px; font-size: 12px; }
  .archive-table td:first-child { width: auto; }
  .archive-table td:nth-child(2), .archive-table th:nth-child(2) { display: none; }
  .room .archive-link { font-size: 19px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 28px; }
}


/* Archive choices are addressable and work without a script. */
.filters a { display: inline-flex; align-items: center; justify-content: center; }
.filter-anchor { height: 0; scroll-margin-top: calc(var(--brand-bar-height, 88px) + 76px); }
.archive, .library-method, .release-notes article { scroll-margin-top: calc(var(--brand-bar-height, 88px) + 16px); }
.archive:has(#archive-research:target) tr[data-type="updates"],
.archive:has(#archive-changelog:target) tr[data-type="research"] { display: none; }
.archive:not(:has(.filter-anchor:target)) .filters [data-filter="all"] { background: #39372f; color: #fffaf0; }
.archive:has(.filter-anchor:target) .filters [data-filter="all"] { background: transparent; color: var(--ink); }
.archive:has(#archive-research:target) .filters [data-filter="research"],
.archive:has(#archive-changelog:target) .filters [data-filter="updates"] { background: #39372f; color: #fffaf0; }
.room .archive-more { margin-top: 12px; text-align: right; }
.room .archive-more a, .room .back-editorial, .release-links a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--accent); font-size: 14px; text-underline-offset: .2em; }
.room .archive-more a:hover, .room .back-editorial:hover, .release-links a:hover { text-decoration: underline; }
.library-method { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: clamp(20px,5vw,72px); padding-block: clamp(28px,4vw,52px); border-top: 1px solid var(--hairline); }
.room .library-method h2 { font-size: clamp(28px,3vw,41px); }
.library-method:focus { outline: none; }
.library-method:focus-visible h2 { text-decoration: underline; text-underline-offset: .18em; }
.library-method p { max-width: 66ch; line-height: 1.6; color: #514b40; }
.room .library-method p + p { margin-top: 12px; }
.updates-room { min-height: 60vh; }
.room .updates-intro { margin: 18px 0 clamp(34px,5vw,68px); font-size: clamp(16px,1.35vw,20px); line-height: 1.5; color: var(--muted); }
.release-day { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: clamp(22px,5vw,72px); padding-bottom: clamp(44px,6vw,90px); border-top: 1px solid var(--hairline); }
.room .release-day h2 { margin-top: 26px; font-size: clamp(27px,2.5vw,40px); }
.release-notes article { max-width: 70ch; padding-block: 26px; }
.release-notes article + article { border-top: 1px solid var(--hairline); }
.room .release-notes h3 { margin: 8px 0 12px; font-size: clamp(28px,2.6vw,43px); }
.release-notes article > p:not(.story-meta) { color: #514b40; font-size: clamp(15px,1.07vw,18px); line-height: 1.6; }
.release-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-top: 9px; }
.release-links a { text-decoration: underline; text-decoration-color: #b8aa93; }
@media(max-width:660px) {
  .library-method, .release-day { grid-template-columns: 1fr; gap: 16px; }
  .room .release-day h2 { margin-top: 19px; }
  .release-notes article { padding-block: 16px; }
  .room .back-editorial { font-size: 12px; }
}
