@charset "UTF-8";
/* fonts */
/* fonts — all with font-display: swap to prevent FOIT */
/* Cinzel + Crimson Text are loaded from Google Fonts (see baseof.html) */
/* system fallbacks: Georgia → Times New Roman → generic serif */
/* reset default styles */
html,
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dl,
dt,
dd,
a,
i,
mark,
img,
span,
div,
header,
nav,
section,
footer,
article,
aside,
main,
menu,
form,
input,
button {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-family: inherit;
  font-style: inherit;
  vertical-align: baseline;
  list-style: none;
  text-decoration: none;
  color: inherit;
  background-color: transparent; }

input {
  border: none;
  background-image: none;
  background-color: transparent;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none; }

/* design tokens — light mode */
:root {
  --color-bg: #f7f5f0;
  --color-surface: #eceadf;
  --color-text: #2c2c28;
  --color-text-muted: #5a5a52;
  --color-text-faint: #8a8a7e;
  --color-primary: #474924;
  --color-border: #d8d5cb;
  --color-border-strong: #474924;
  --color-hover: rgba(71, 73, 36, 0.06);
  --color-hover-strong: rgba(71, 73, 36, 0.12);
  --color-selection: rgba(255, 210, 125, 0.5);
  --color-skip-bg: #474924;
  --color-skip-text: white;
  --color-btn-border: #474924;
  --color-btn-hover-bg: rgba(71, 73, 36, 0.06);
  --color-channel: #8a8a7e;
  /* card accent colors — from brand palette */
  --card-green: #788c5d;
  --card-orange: #d97757;
  --card-blue: #6a9bcc;
  --card-purple: #c46686;
  --card-light-purple: #cbcadb;
  --card-light-grey: #e3dacc;
  --card-light-green: #bcd1ca;
  /* footer */
  --footer-logo-filter: grayscale(60%);
  --footer-logo-opacity: 0.5; }

@keyframes scroll-hint {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4; }
  50% {
    transform: translateY(4px);
    opacity: 0.2; } }

/* floating prev/next post nav */
.post-nav {
  position: fixed;
  right: clamp(0.5em, 1vw, 1em);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; }
  .post-nav.is-visible {
    opacity: 1;
    pointer-events: auto; }
  @media (max-width: 768px) {
    .post-nav {
      right: 0.5em;
      top: auto;
      bottom: 1.5em;
      transform: none; } }
.post-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
  .post-nav-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary); }
  .post-nav-btn:disabled {
    opacity: 0.2;
    cursor: default; }
    .post-nav-btn:disabled:hover {
      background: var(--color-bg);
      color: var(--color-text-muted);
      border-color: var(--color-border); }

/* skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1em;
  padding: 0.5em 1em;
  background: var(--color-skip-bg);
  color: var(--color-skip-text);
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 8px 8px; }
  .skip-link:focus {
    top: 0; }

/* focus indicators for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px; }

/* reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important; } }

/* set the selection color globally */
::selection {
  background-color: var(--color-selection); }

/** for the header and main content area that apply to all pages */
html {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: "Crimson Text", Georgia, "Times New Roman", serif; }

html,
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth; }

/* generic buttons appear black with white text, rounded rect */
button,
input[type="submit"] {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  border-radius: 30px;
  padding: 14px 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid var(--color-btn-border); }

button:hover,
input[type="submit"]:hover {
  background-color: var(--color-btn-hover-bg); }

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 600;
  padding: 0.75em 2em;
  /* don't text-wrap anything in the header */
  white-space: nowrap;
  gap: 1em;
  background-color: #474924;
  color: rgba(255, 255, 255, 0.85);
  /* meditator icon on the left — white on dark header, breathes gently */
  /* when links are hovered turn them slightly transparent */
  /* the hamburger icon is not shown on desktop */
  /* The sequence of navigation links on the right */
  /* On mobile, show the hamburger, hide the text links */ }
  header a {
    color: rgba(255, 255, 255, 0.85); }
  header img {
    height: 2.5em;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    animation: breathe 6s ease-in-out infinite; }

@keyframes breathe {
  0%, 100% {
    opacity: 0.7; }
  50% {
    opacity: 1; } }
  header a.meditator {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em; }
  header .meditator-text {
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.5;
    opacity: 0.85; }
  header a:hover {
    color: rgba(255, 255, 255, 0.6); }
  header button.hamburger {
    display: none;
    flex: 1;
    padding: 0;
    justify-content: end;
    font-size: 1.5em;
    border: none; }
  header button.hamburger:hover {
    color: var(--color-text);
    background-color: transparent; }
  header a.sitename {
    padding: 0 1em;
    font-size: 1.5em; }
  header nav {
    font-family: "Cinzel", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 0.85em;
    letter-spacing: normal;
    gap: 1.5em;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    justify-content: end;
    /* search button */ }
    header nav img {
      height: 1em;
      padding-top: 0.3em; }
  @media (max-width: 680px) {
    header a.meditator img {
      height: 2em; }
    header button.hamburger {
      display: flex; }
    header nav {
      display: none; } }
/* the hamburger popup menu -- no need for a media query because the hamburger icon is only shown on mobile */
menu {
  display: flex;
  flex-direction: column;
  font-weight: 600; }
  menu a {
    padding: 0.6em 1em;
    min-height: 44px;
    display: flex;
    align-items: center;
    background-color: var(--color-border); }
  menu a:hover {
    background-color: var(--color-hover-strong); }

/* the Monastic Academy footer, which at the moment contains text too */
body > a {
  align-self: center; }
  body > a img {
    width: 200px;
    filter: var(--footer-logo-filter); }

/* the footer with the monastic academy log and link to our website */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  color: var(--color-text-faint);
  padding: 2em;
  gap: 2em;
  /* the monastic academy logo */ }
  footer a.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .9; }
    footer a.logo img {
      width: clamp(200px, 40vw, 320px);
      opacity: var(--footer-logo-opacity); }
  footer a:hover {
    opacity: 1;
    color: var(--color-text); }
  footer nav {
    display: flex;
    gap: 1em; }

/* styles for the <div> that provides the top-level left and right gutters */
body > div {
  display: flex;
  flex-direction: column;
  align-items: center; }

/* styles for the <main> that provides the top-level content area */
main {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  width: 1000px;
  padding: 2em 0.4em 6em;
  align-self: center; }

/* home page main — narrower to leave gutter for sidebar nav */
main.home {
  width: 100%;
  max-width: 900px;
  padding: 0 1em 4em; }

/* styles for typography in maple tales themselves (also about page) */
article {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 1.2em;
  color: var(--color-text); }
  article p {
    line-height: 1.6;
    margin-top: 1em;
    margin-bottom: 1em; }
  article ul li {
    list-style: circle inside;
    margin: 0.2em 0 0.2em 20px; }
  article ol li {
    list-style: decimal inside;
    margin: 0.2em 0 0.2em 20px; }
  article a {
    font-weight: bold;
    color: var(--color-text-muted); }
  article p.indent {
    padding-left: 1em; }
  article strong {
    font-weight: bold; }
  article em {
    font-style: italic; }
  article del {
    text-decoration: line-through; }
  article mark {
    text-decoration: underline; }
  article code {
    font-family: monospace; }

/* put a spinner in a form element */
.spinner {
  background: url("/images/spinner.gif") no-repeat right center;
  background-size: 32px; }

/* styles for typography-style headings and timestamps */
h1 {
  line-height: 1.1;
  font-size: 4.5rem;
  font-weight: 400;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif; }

time {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 1.2em;
  font-weight: 400;
  line-height: 3em; }

/* styles for the page that shows a single tale */
main.tale {
  /* the frontmatter contains the title, tags, and timestamp */
  /* list of tags */
  /* the next/previous navigator at the top of tales that are part of a series */
  /* the next/previous navigator at the bottom */ }
  main.tale div.frontmatter {
    padding-bottom: 50px; }
  main.tale ul.tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px; }
    main.tale ul.tags a {
      font-weight: 400;
      line-height: 1.6;
      color: var(--color-text-muted);
      background-color: var(--color-hover);
      padding: 0.1em 0.5em; }
  main.tale nav.top {
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-variant: small-caps;
    font-weight: bold;
    font-size: 22px;
    line-height: 24px; }
  main.tale nav.bottom {
    /* grid with 2 rows, each 45px high, 2 columns of equal size, the rightmost cells are labelled "next" and "link" */
    display: flex;
    padding-top: 140px;
    justify-content: space-between; }
    main.tale nav.bottom div {
      display: flex;
      flex-direction: column;
      gap: 0.5em; }
      main.tale nav.bottom div strong {
        padding: 0.2em 0; }
    main.tale nav.bottom div:first-child {
      align-items: start;
      text-align: left; }
    main.tale nav.bottom div:last-child {
      align-items: end;
      text-align: right; }

/* used to hide tales after the first 10 */
.hidden {
  display: none !important; }

/* term page — shows post cards in a grid */
main.term div.posts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px; }

main.term .post:hover,
main.term .post:focus-visible {
  box-shadow: 0 0 0 4px var(--color-primary);
  outline: none; }

main.term .post {
  transition: box-shadow 0.2s ease;
  width: 300px;
  height: 433px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  cursor: pointer; }
  main.term .post div.tophalf {
    height: 50%;
    width: 100%; }
    main.term .post div.tophalf img {
      width: 100%;
      height: 100%;
      object-fit: cover; }
  main.term .post div.bottomhalf {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background-color: var(--color-surface);
    padding: 1.2em 1.5em; }
    main.term .post div.bottomhalf span.date {
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: 0.7em;
      color: var(--color-text-muted); }
    main.term .post div.bottomhalf span.title {
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: 1.1em;
      line-height: 1.3; }
    main.term .post div.bottomhalf span.channel {
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: 0.7em;
      color: var(--color-channel); }

main.term .green {
  background-color: var(--card-green); }

main.term .orange {
  background-color: var(--card-orange); }

main.term .blue {
  background-color: var(--card-blue); }

main.term .purple {
  background-color: var(--card-purple); }

main.term .light-purple {
  background-color: var(--card-light-purple); }

main.term .light-grey {
  background-color: var(--card-light-grey); }

main.term .light-green {
  background-color: var(--card-light-green); }

/* for the term page showing a list of tales associated with a particular tag */
main.term h1 {
  padding-bottom: 50px; }

main.term div.posts {
  width: 100%; }

/* for the about page */
main.about {
  max-width: 600px; }

/* ═══════════════════════════════════════════════════════
   THE UNFOLDING — editorial rooms layout
   ═══════════════════════════════════════════════════════ */
/* hero — full viewport, immersive */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: calc(-50vw + 50%); }
  .hero .hero-image {
    position: absolute;
    inset: -10%;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.1);
    will-change: transform; }
  .hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%); }
  .hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1em 12vh; }
    .hero .hero-content h1 {
      font-family: "Cinzel", Georgia, "Times New Roman", serif;
      font-size: clamp(3.5rem, 10vw, 9rem);
      font-weight: 700;
      color: white;
      letter-spacing: normal;
      line-height: 1.0; }
    .hero .hero-content .hero-rule {
      width: 60px;
      height: 1px;
      background: rgba(255, 255, 255, 0.4);
      margin: 1.5em auto; }
    .hero .hero-content .hero-sub {
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: clamp(1.1rem, 2.2vw, 1.6rem);
      font-weight: 400;
      font-style: italic;
      letter-spacing: normal;
      text-transform: none;
      color: rgba(255, 255, 255, 0.75); }

.hero.hero-solid {
  height: auto;
  min-height: 0;
  align-items: center;
  padding: 0.75em 2em;
  background-color: #474924; }
  .hero.hero-solid .hero-image,
  .hero.hero-solid .hero-overlay {
    display: none; }
  .hero.hero-solid .hero-content {
    padding: 0; }
    .hero.hero-solid .hero-content h1 {
      font-size: clamp(1.1rem, 3vw, 1.6rem);
      letter-spacing: normal;
      line-height: 1.2; }
    .hero.hero-solid .hero-content .hero-rule {
      display: none; }
    .hero.hero-solid .hero-content .hero-sub {
      font-size: clamp(1rem, 1.8vw, 1.25rem);
      letter-spacing: normal;
      margin-top: 0.35em; }

@media (prefers-reduced-motion: no-preference) {
  .hero .hero-image {
    transition: transform 0.05s linear; } }

/* ─── Scroll-driven hero dissolve ─── */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes hero-content-dissolve {
      0% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0); }
      100% {
        opacity: 0;
        transform: translateY(-60px);
        filter: blur(4px); } }
    @keyframes hero-image-blur {
      0% {
        filter: blur(0); }
      100% {
        filter: blur(6px); } }
    @keyframes hero-overlay-darken {
      0% {
        opacity: 1; }
      100% {
        opacity: 0.3; } }
    .hero {
      timeline-scope: --hero-scroll; }
    .hero .hero-content {
      animation: hero-content-dissolve linear both;
      animation-timeline: scroll();
      animation-range: 0vh 60vh; }
    .hero .hero-image {
      animation: hero-image-blur linear both;
      animation-timeline: scroll();
      animation-range: 0vh 80vh; }
    .hero .hero-overlay {
      animation: hero-overlay-darken linear both;
      animation-timeline: scroll();
      animation-range: 0vh 70vh; } } }

/* ─── MANIFESTO — mission statement below hero ─── */
.manifesto {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(4em, 10vw, 8em) clamp(1.5em, 8vw, 4em);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center; }

.manifesto-body {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.1em, 2.5vw, 1.5em);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-faint);
  text-wrap: balance; }
  .manifesto-body strong {
    font-weight: 600;
    color: var(--color-text); }

.manifesto-tagline {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.3em, 3vw, 2em);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
  text-align: center; }
  .manifesto-tagline strong {
    font-weight: 600; }

.manifesto-cta-top {
  display: block;
  margin: 2.5em auto 0;
  text-align: center;
  width: fit-content;
  left: 0;
  right: 0; }

.manifesto-divider {
  width: 40px;
  height: 1px;
  background: var(--color-border);
  margin: 2.5em auto; }

/* final CTA at page bottom */
/* final CTA — olive block, white text, full-bleed */
.final-cta {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(5em, 12vw, 10em) clamp(2em, 8vw, 6em);
  background-color: #474924;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box; }
  .final-cta .final-cta-text {
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: clamp(1.6em, 4vw, 2.8em);
    font-weight: 300;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.45);
    max-width: 700px;
    margin-bottom: 2.5em;
    text-wrap: balance;
    text-align: center; }
    .final-cta .final-cta-text strong {
      font-weight: 400;
      color: white; }
  .final-cta .manifesto-cta {
    color: white;
    border-color: rgba(255, 255, 255, 0.4); }
    .final-cta .manifesto-cta:hover {
      background-size: 300% 300%;
      background-image: radial-gradient(circle at center, white 0%, white 50%, transparent 50.1%);
      color: #474924;
      border-color: white; }

.manifesto-cta {
  display: inline-block;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text);
  padding: 0.9em 2em;
  border: 1px solid var(--color-border-strong);
  border-radius: 30px;
  text-decoration: none;
  background: radial-gradient(circle at center, var(--color-primary) 0%, var(--color-primary) 50%, transparent 50.1%) no-repeat center;
  background-size: 0% 0%;
  transition: background-size 0.5s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease, border-color 0.3s ease; }
  .manifesto-cta:hover {
    background-size: 300% 300%;
    color: white;
    border-color: var(--color-primary); }

/* room heading — shared across all sections */
.room-heading {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.3em;
  transition: letter-spacing 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto; }

/* headings breathe apart as they reveal */
.room.revealed .room-heading {
  letter-spacing: 0.15em; }

/* room subtitle — editorial context under heading */
.room-sub {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.75em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  text-align: center;
  margin-bottom: 3.5em; }

.room-subheading {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--room-heading, var(--color-text));
  max-width: 860px;
  margin: 2.5em auto 1.5em;
  text-align: center;
  border-left: none;
  padding-left: 0; }

/* scroll reveal animation */
.room {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); }

.room.revealed {
  opacity: 1;
  transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .room {
    opacity: 1;
    transform: none;
    transition: none; } }

/* ─── staggered child reveal ─── */
.stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }

.stagger-item.stagger-visible {
  opacity: 1;
  transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .stagger-item {
    opacity: 1;
    transform: none;
    transition: none; } }

/* ─── ROOMS — varied section spacing for rhythm ─── */
.room {
  padding: 5em 0;
  border-top: 1px solid var(--color-border);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px; }
  @media (max-width: 680px) {
    .room {
      padding: 3em 0; } }
/* full-bleed backgrounds for themed rooms */
.room-theme {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%); }

/* first room after hero gets extra top breathing room */
.room:first-child {
  padding-top: 6em;
  border-top: none; }

/* ─── FEATURED INTERSTITIAL — dramatic quote break ─── */
.interstitial {
  padding: clamp(5em, 12vw, 12em) clamp(1em, 8vw, 6em);
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
  .interstitial.revealed {
    opacity: 1;
    transform: translateY(0); }

.interstitial-quote {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6em, 4.5vw, 3em);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto;
  text-wrap: balance; }
  .interstitial-quote p {
    margin: 0 0 0.4em; }
    .interstitial-quote p:last-child {
      margin-bottom: 0; }
  .interstitial-quote blockquote.twitter-tweet {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-size: 0;
    color: transparent; }
    .interstitial-quote blockquote.twitter-tweet > p {
      font-size: clamp(1.6rem, 4.5vw, 3rem);
      color: var(--color-text); }
    .interstitial-quote blockquote.twitter-tweet > a {
      display: none; }
  .interstitial-quote .char {
    opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .interstitial-quote .char {
    opacity: 1; } }

.interstitial-cite {
  display: block;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.75em;
  font-style: normal;
  color: var(--color-text-faint);
  margin-top: 2em;
  letter-spacing: 0.1em;
  text-transform: uppercase; }

/* earthy interstitial — full-bleed with warm background */
.interstitial-earthy {
  background-color: var(--color-surface);
  border-radius: 0;
  margin: 0 calc(-50vw + 50%);
  width: 100vw;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); }

/* featured video interstitial */
.interstitial-video {
  padding: clamp(4em, 10vw, 8em) clamp(1em, 4vw, 2em);
  min-height: 60vh;
  display: flex;
  align-items: start;
  padding-top: clamp(6em, 12vw, 10em); }

.featured-video-layout {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 clamp(1em, 4vw, 2em);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3em;
  align-items: start; }
  @media (max-width: 768px) {
    .featured-video-layout {
      grid-template-columns: 1fr;
      gap: 2em; } }
.featured-video-description {
  padding: 0; }

.featured-video-heading {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.6em, 3.5vw, 2.4em);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 0.8em; }

.featured-video-text {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1em, 1.5vw, 1.2em);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 1.5em; }
  .featured-video-text p {
    margin: 0 0 0.5em; }
    .featured-video-text p:last-child {
      margin-bottom: 0; }

.featured-video-description .spread-body-full {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1em, 1.5vw, 1.2em);
  line-height: 1.65;
  color: var(--color-text-muted); }
  .featured-video-description .spread-body-full p {
    margin: 0 0 0.5em; }
    .featured-video-description .spread-body-full p:last-child {
      margin-bottom: 0; }

.featured-video-description .spread-expand {
  margin-bottom: 1em; }

.featured-video-author {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.05em; }

.featured-video {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9; }

.featured-video-thumb {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  animation: ken-burns 20s ease-in-out infinite alternate; }

@keyframes ken-burns {
  0% {
    transform: translate(0, 0); }
  100% {
    transform: translate(-2%, -1%); } }

@media (prefers-reduced-motion: reduce) {
  .featured-video-thumb {
    animation: none; } }

.featured-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none; }

.featured-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  color: white;
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4); }

.featured-video:hover .featured-video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1); }

.featured-video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5em;
  z-index: 1; }

.featured-video-title {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1em, 2vw, 1.3em);
  color: white;
  line-height: 1.35; }

.featured-video.is-playing {
  aspect-ratio: auto; }
  .featured-video.is-playing .featured-video-thumb,
  .featured-video.is-playing .featured-video-overlay,
  .featured-video.is-playing .featured-video-play,
  .featured-video.is-playing .featured-video-info {
    display: none; }
  .featured-video.is-playing .featured-video-embed {
    display: block !important;
    width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .interstitial {
    opacity: 1;
    transform: none;
    transition: none; } }

/* ─── VIDEOS — image-forward filmstrip ─── */
.room-videos .filmstrip-wrapper {
  position: relative; }

.room-videos .filmstrip-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 1.4em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px); }
  .room-videos .filmstrip-btn:hover {
    background: rgba(0, 0, 0, 0.7); }

.room-videos .filmstrip-prev {
  left: 12px; }

.room-videos .filmstrip-next {
  right: 12px; }

@media (max-width: 680px) {
  .room-videos .filmstrip-btn {
    display: none; } }

.room-videos .filmstrip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0.5em 1em; }
  .room-videos .filmstrip::-webkit-scrollbar {
    height: 0; }

.room-videos .video-card {
  scroll-snap-align: start;
  min-width: 300px;
  height: 400px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; }
  .room-videos .video-card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px; }

.room-videos .video-short {
  min-width: 225px; }

.room-videos .video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

.room-videos .video-card:hover .video-thumb {
  transform: scale(1.04); }

.room-videos .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none; }

.room-videos .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2em;
  color: white;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }

.room-videos .video-card:hover .video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1); }

.room-videos .video-title {
  position: relative;
  z-index: 1;
  padding: 1.2em;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 1em;
  line-height: 1.35;
  color: white; }

.room-videos .embed-container:focus {
  outline: none; }

.room-videos .video-card[aria-expanded="true"] {
  min-width: 0;
  width: 100%;
  max-width: 640px;
  height: auto;
  justify-content: stretch; }
  .room-videos .video-card[aria-expanded="true"] .video-thumb,
  .room-videos .video-card[aria-expanded="true"] .video-overlay,
  .room-videos .video-card[aria-expanded="true"] .video-play,
  .room-videos .video-card[aria-expanded="true"] .video-title {
    display: none; }
  .room-videos .video-card[aria-expanded="true"] .embed-container {
    display: block;
    width: 100%;
    padding: 0.5em;
    box-sizing: border-box;
    background-color: var(--color-surface);
    border-radius: 12px; }

.room-videos .video-card[aria-expanded="true"].video-short {
  max-width: 360px; }

@media (max-width: 680px) {
  .room-videos .video-card {
    min-width: 240px;
    height: 340px; }
  .room-videos .video-short {
    min-width: 190px; } }

/* ─── TWEETS — intimate narrow reading column ─── */
.room-tweets .reading-column {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5em; }

.room-tweets .tweet-entry {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5em; }
  .room-tweets .tweet-entry:last-child {
    border-bottom: none; }
  .room-tweets .tweet-entry:first-child .tweet-card .tweet-text {
    font-size: 1.35em;
    line-height: 1.6; }

/* tweet card — shared style */
.tweet-card {
  padding: 1.5em;
  border-radius: 16px;
  background-color: var(--color-surface);
  transition: box-shadow 0.3s ease; }
  .tweet-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); }
  .tweet-card .tweet-header {
    display: flex;
    align-items: center;
    gap: 0.7em;
    margin-bottom: 1em; }
  .tweet-card .tweet-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover; }
  .tweet-card .tweet-author-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0; }
  .tweet-card .tweet-name {
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--color-text); }
  .tweet-card .tweet-handle,
  .tweet-card .tweet-author {
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: 0.75em;
    color: var(--color-text-muted); }
  .tweet-card .tweet-icon {
    color: var(--color-text-faint);
    flex-shrink: 0; }
  .tweet-card .tweet-text {
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: 1.15em;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1em; }
    .tweet-card .tweet-text p {
      margin: 0 0 0.5em; }
      .tweet-card .tweet-text p:last-child {
        margin-bottom: 0; }
    .tweet-card .tweet-text a[href*="t.co"] {
      color: var(--color-text-faint);
      font-size: 0.85em; }
    .tweet-card .tweet-text blockquote.twitter-tweet {
      margin: 0;
      padding: 0;
      border: none;
      font-style: normal; }
      .tweet-card .tweet-text blockquote.twitter-tweet > a {
        display: block;
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: 0.7em;
        color: var(--color-text-faint);
        margin-top: 0.8em; }
    .tweet-card .tweet-text blockquote.twitter-tweet + blockquote.twitter-tweet {
      margin-top: 1em;
      padding: 1em 1.2em;
      border-left: 3px solid var(--color-primary);
      border-radius: 0 8px 8px 0;
      background-color: var(--color-bg);
      font-size: 1.5rem;
      line-height: 1.6;
      color: var(--color-text-muted); }
      .tweet-card .tweet-text blockquote.twitter-tweet + blockquote.twitter-tweet::before {
        content: "Quoting";
        display: block;
        font-family: "Crimson Text", Georgia, "Times New Roman", serif;
        font-size: 0.78em;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-text-faint);
        margin-bottom: 0.6em; }
      .tweet-card .tweet-text blockquote.twitter-tweet + blockquote.twitter-tweet > p {
        font-size: 1.5rem;
        line-height: 1.6;
        color: var(--color-text-muted); }
  .tweet-card .tweet-media-container {
    margin-bottom: 1em;
    border-radius: 12px;
    overflow: hidden; }
  .tweet-card .tweet-media {
    width: 100%;
    display: block; }
  .tweet-card .tweet-link {
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: 0.75em;
    color: var(--color-text-faint);
    text-decoration: none;
    letter-spacing: 0.05em; }
    .tweet-card .tweet-link:hover {
      color: var(--color-text); }

/* ─── ARTICLES — wide editorial layout ─── */
.room-articles .article-stack {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; }

.room-articles .article-entry {
  display: flex;
  flex-direction: column;
  padding: 3em 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text); }
  .room-articles .article-entry:first-child {
    padding-top: 0; }
  .room-articles .article-entry:last-child {
    border-bottom: none; }

.room-articles .article-head {
  margin-bottom: 1.5em; }

.room-articles .article-channel {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 0.6em;
  display: block; }

.room-articles .article-title {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  display: block;
  text-wrap: balance; }

.room-articles .article-entry:first-child .article-title {
  font-size: clamp(2.2em, 5.5vw, 3.5em);
  font-weight: 250; }

.room-articles .article-meta {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.8em;
  color: var(--color-text-faint);
  margin-top: 0.6em;
  display: block; }

.room-articles .article-body {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 1.1em;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 620px; }
  .room-articles .article-body p {
    margin: 0 0 0.8em; }
    .room-articles .article-body p:last-child {
      margin-bottom: 0; }

.room-articles .article-link {
  display: inline-block;
  margin-top: 1.5em;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.8em;
  color: var(--color-text-faint);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.6em 0;
  border-bottom: 1px solid var(--color-border);
  transition: color 0.2s ease, border-color 0.2s ease; }
  .room-articles .article-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary); }

/* ─── SOCIAL — minimal masonry, no cards ─── */
.room-social .social-grid {
  max-width: 860px;
  margin: 0 auto;
  columns: 2;
  column-gap: 48px; }
  @media (max-width: 680px) {
    .room-social .social-grid {
      columns: 1;
      column-gap: 0; } }
.room-social .social-card {
  break-inside: avoid;
  padding: 1.5em 0;
  border-bottom: 1px solid var(--color-border); }

.room-social .social-image {
  margin-bottom: 1em;
  border-radius: 8px;
  overflow: hidden; }
  .room-social .social-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 300px; }

.room-social .social-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6em; }

.room-social .social-author {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 0.8em;
  color: var(--color-text); }

.room-social .social-channel {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.65em;
  color: var(--color-text-faint);
  letter-spacing: 0.05em; }

.room-social .social-body {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 1em;
  line-height: 1.65;
  color: var(--color-text); }
  .room-social .social-body p {
    margin: 0 0 0.5em; }
    .room-social .social-body p:last-child {
      margin-bottom: 0; }

.room-social .social-card:not(.has-content) .social-body {
  font-style: italic;
  font-size: 0.9em;
  color: var(--color-text-muted); }

.room-social .social-link {
  display: inline-block;
  margin-top: 0.6em;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.7em;
  color: var(--color-text-faint);
  text-decoration: none;
  letter-spacing: 0.05em; }
  .room-social .social-link:hover {
    color: var(--color-primary); }

/* ─── SECTION NAV — fixed sidebar progress indicator ─── */
.section-nav {
  position: fixed;
  left: clamp(0.5em, 1vw, 1em);
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2em;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none; }
  @media (min-width: 769px) {
    .section-nav.on-dark .section-nav-title {
      color: rgba(255, 255, 255, 0.5); }
    .section-nav.on-dark .section-nav-track {
      background: rgba(255, 255, 255, 0.15); }
    .section-nav.on-dark .section-nav-cta {
      color: rgba(255, 255, 255, 0.9); }
    .section-nav.on-dark .section-nav-item.is-active .section-nav-title {
      color: rgba(255, 255, 255, 0.9); } }
  .section-nav.is-visible {
    opacity: 1;
    pointer-events: auto; }
  @media (max-width: 768px) {
    .section-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      transform: none;
      flex-direction: row;
      align-items: stretch;
      justify-content: center;
      gap: 0;
      background: var(--color-bg);
      border-bottom: 1px solid var(--color-border);
      padding: 0;
      opacity: 0;
      transition: opacity 0.3s ease, transform 0.3s ease;
      transform: translateY(-100%); }
      .section-nav.is-visible {
        opacity: 1;
        transform: translateY(0); } }
.section-nav-cta {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: clamp(0px, calc((100vw - 900px) / 2 * 0.20), 1.1em);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text);
  text-decoration: none;
  text-align: right;
  white-space: nowrap;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 0.8em; }
  .section-nav-cta::after {
    content: "";
    width: 3px;
    flex-shrink: 0; }
  .section-nav-cta:hover {
    opacity: 1; }
  @media (max-width: 768px) {
    .section-nav-cta {
      font-size: clamp(0.5em, 2.5vw, 0.7em);
      padding: 0.5em 0.5em;
      text-align: center;
      margin-right: 0; }
      .section-nav-cta::after {
        display: none; } }
.section-nav-item {
  display: flex;
  align-items: center;
  gap: 0.8em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.4s ease;
  opacity: 0.4; }
  .section-nav-item.is-active {
    opacity: 1; }
    .section-nav-item.is-active .section-nav-title {
      font-weight: 700; }
  @media (max-width: 768px) {
    .section-nav-item {
      flex: 1;
      flex-direction: column-reverse;
      align-items: center;
      gap: 0;
      padding: 0.5em 1em;
      min-height: 44px;
      justify-content: center; } }
[data-section="videos"].is-active .section-nav-title {
  color: #788c5d; }

[data-section="articles"].is-active .section-nav-title {
  color: #5d6033; }

[data-section="social"].is-active .section-nav-title {
  color: #7a7970; }

.section-nav-text {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  text-align: right;
  align-items: flex-end; }
  @media (max-width: 768px) {
    .section-nav-text {
      width: auto;
      min-width: 0;
      max-width: none;
      text-align: center;
      align-items: center; } }
.section-nav-title {
  font-family: "Cinzel", Georgia, "Times New Roman", serif;
  font-size: clamp(0px, calc((100vw - 900px) / 2 * 0.20), 1.1em);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text);
  white-space: nowrap; }
  @media (max-width: 768px) {
    .section-nav-title {
      font-size: clamp(0.5em, 2.5vw, 0.7em); } }
.section-nav-sub {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(0px, calc((100vw - 900px) / 2 * 0.07), 0.75em);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text-faint);
  line-height: 1.3;
  white-space: nowrap; }
  @media (max-width: 768px) {
    .section-nav-sub {
      display: none; } }
.section-nav-track {
  width: 3px;
  height: clamp(2em, calc((100vw - 900px) / 2 * 0.25), 4em);
  min-height: 2em;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0; }
  @media (max-width: 768px) {
    .section-nav-track {
      width: 100%;
      height: 2px;
      min-height: 0;
      max-height: none; } }
.section-nav-tracks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex-shrink: 0; }
  @media (max-width: 768px) {
    .section-nav-tracks {
      flex-direction: row;
      width: 100%; } }
.section-nav-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  border-radius: 2px;
  transition: height 0.1s linear; }
  @media (max-width: 768px) {
    .section-nav-fill {
      top: 0;
      left: 0;
      height: 100%;
      width: 0%;
      transition: width 0.1s linear; } }
.section-nav-extra {
  width: 1px;
  height: 0;
  opacity: 0;
  background: var(--color-border);
  border-radius: 1px;
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  position: relative;
  overflow: hidden; }
  .section-nav-extra.is-grown {
    opacity: 1; }
    .section-nav-extra.is-grown::after {
      content: "";
      position: absolute;
      top: 0;
      left: -1px;
      width: 3px;
      height: var(--feed-progress, 0%);
      border-radius: 2px;
      transition: height 0.1s linear; }

[data-section="videos"] .section-nav-extra.is-grown::after {
  background: rgba(120, 140, 93, 0.4); }

[data-section="articles"] .section-nav-extra.is-grown::after {
  background: rgba(197, 116, 63, 0.4); }

[data-section="social"] .section-nav-extra.is-grown::after {
  background: rgba(154, 153, 144, 0.5); }

[data-section="videos"] .section-nav-fill {
  background: #788c5d; }

[data-section="articles"] .section-nav-fill {
  background: #5d6033; }

[data-section="social"] .section-nav-fill {
  background: #9a9990; }

/* ─── SECTION-SPECIFIC THEMING ─── */
/* Brand accent colors: green #788c5d, orange #d97757, blue #6a9bcc */
.room-videos {
  --room-accent: #788c5d;
  --room-bg: #f4f6f1;
  --room-heading: #474924;
  background-color: var(--room-bg);
  border-top: 2px solid var(--room-accent); }
  .room-videos .room-heading {
    color: var(--room-heading); }
  .room-videos .room-sub {
    color: #6a7a52; }
  .room-videos .spread:not(.spread-with-media):not(.spread-quote) {
    border-left-color: var(--room-accent); }
  .room-videos .spread-meta {
    border-top-color: rgba(120, 140, 93, 0.15); }
  .room-videos .spread-body-full {
    background-color: var(--room-bg); }

.room-articles {
  --room-accent: #d4d3cd;
  --room-bg: #302e13;
  --room-heading: #d4d3cd;
  background-color: var(--room-bg);
  border-top: 2px solid rgba(212, 211, 205, 0.3);
  color: rgba(255, 255, 255, 0.8); }
  .room-articles .room-heading {
    color: var(--room-heading); }
  .room-articles .room-sub {
    color: rgba(255, 255, 255, 0.5); }
  .room-articles .room-subheading {
    color: rgba(255, 255, 255, 0.6);
    border-left-color: rgba(255, 255, 255, 0.3); }
  .room-articles .spread:not(.spread-with-media):not(.spread-quote) {
    border-left-color: rgba(255, 255, 255, 0.2); }
  .room-articles .spread-meta {
    border-top-color: rgba(255, 255, 255, 0.1); }
  .room-articles .spread-author {
    color: rgba(255, 255, 255, 0.6); }
  .room-articles .spread-link {
    color: rgba(255, 255, 255, 0.4); }
  .room-articles .spread-body, .room-articles .spread-body p {
    color: rgba(255, 255, 255, 0.8); }
  .room-articles .spread-body a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: underline; }
  .room-articles .spread-title {
    color: rgba(255, 255, 255, 0.9); }
  .room-articles .spread-expand {
    color: rgba(255, 255, 255, 0.5);
    border-bottom-color: rgba(255, 255, 255, 0.2); }
  .room-articles .theme-more-btn {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.2); }
  .room-articles .spread-body-full {
    background-color: var(--room-bg); }
  .room-articles .spread-link:hover,
  .room-articles .spread-body a:hover {
    color: white; }
  .room-articles .spread-expand:hover {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.55); }

.room-social {
  --room-accent: #9a9990;
  --room-bg: #d4d3cd;
  --room-heading: #474924;
  background-color: var(--room-bg);
  border-top: 2px solid var(--room-accent); }
  .room-social .room-heading {
    color: var(--room-heading); }
  .room-social .room-sub {
    color: #6a6960; }
  .room-social .spread:not(.spread-with-media):not(.spread-quote) {
    border-left-color: var(--room-accent); }
  .room-social .spread-pullquote blockquote.twitter-tweet > p {
    color: var(--room-heading); }
  .room-social .spread-meta {
    border-top-color: rgba(154, 153, 144, 0.2); }

/* ─── THEMED SECTIONS — scroll-snap editorial ─── */
.room-theme .theme-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  scroll-snap-type: y proximity; }

.room-theme .theme-grid-item {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3em 1em;
  scroll-snap-align: center;
  box-sizing: border-box;
  position: relative; }
  @media (max-width: 680px) {
    .room-theme .theme-grid-item {
      min-height: auto;
      padding: 2em 0.75em; } }
/* ─── SPREAD — magazine-style content layout ─── */
.spread {
  width: 100%;
  transition: opacity 0.5s ease;
  overflow: hidden; }
  .spread img {
    max-width: 100%;
    height: auto; }

.spread:not(.spread-with-media):not(.spread-quote) {
  border-left: 3px solid var(--color-primary);
  padding-left: 2em;
  max-width: 640px; }
  @media (max-width: 680px) {
    .spread:not(.spread-with-media):not(.spread-quote) {
      border-left: none;
      padding-left: 0;
      text-align: center;
      max-width: 100%; } }
.spread-with-media {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.5em;
  align-items: start; }
  @media (max-width: 680px) {
    .spread-with-media {
      grid-template-columns: 1fr;
      gap: 1em; }
      .spread-with-media > .spread-media {
        border-radius: 8px;
        overflow: hidden;
        max-width: 100%;
        width: 100%; }
        .spread-with-media > .spread-media img {
          width: 100%;
          height: auto;
          max-width: 100%; }
      .spread-with-media .spread-media-short {
        max-height: none;
        height: calc(100vh - 60px);
        width: auto;
        max-width: 100%;
        justify-self: center;
        aspect-ratio: 9 / 16; }
        .spread-with-media .spread-media-short img {
          height: 100%;
          width: auto;
          object-fit: cover; } }
.theme-grid-item:nth-child(even) .spread-with-media,
.theme-feed-item:nth-child(even) .spread-with-media {
  grid-template-columns: 3fr 2fr; }
  .theme-grid-item:nth-child(even) .spread-with-media .spread-media,
  .theme-feed-item:nth-child(even) .spread-with-media .spread-media {
    order: 2; }
  .theme-grid-item:nth-child(even) .spread-with-media .spread-text,
  .theme-feed-item:nth-child(even) .spread-with-media .spread-text {
    order: 1; }
  @media (max-width: 680px) {
    .theme-grid-item:nth-child(even) .spread-with-media,
    .theme-feed-item:nth-child(even) .spread-with-media {
      grid-template-columns: 1fr; }
      .theme-grid-item:nth-child(even) .spread-with-media .spread-title,
      .theme-feed-item:nth-child(even) .spread-with-media .spread-title {
        order: 1;
        text-align: center; }
      .theme-grid-item:nth-child(even) .spread-with-media .spread-media,
      .theme-feed-item:nth-child(even) .spread-with-media .spread-media {
        order: 2;
        justify-self: center; }
      .theme-grid-item:nth-child(even) .spread-with-media .spread-text,
      .theme-feed-item:nth-child(even) .spread-with-media .spread-text {
        order: 3;
        text-align: center; } }
.theme-feed-item:nth-child(even) .spread-media-short {
  justify-self: start; }

.theme-grid.has-focus .theme-grid-item:not(.in-focus) .spread,
.theme-feed.has-focus .theme-feed-item:not(.in-focus) .spread {
  opacity: 0.5; }

/* pull-quote — large centered text for short X posts */
.spread-quote {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  border-left: none !important;
  padding-left: 0 !important; }

.spread-pullquote {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.4em, 3.5vw, 2.2em);
  font-weight: 300;
  line-height: 1.45;
  color: var(--color-text);
  margin: 0;
  text-wrap: balance; }
  @media (max-width: 680px) {
    .spread-pullquote {
      font-size: 1.15em;
      line-height: 1.4; } }
  .spread-pullquote blockquote.twitter-tweet {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-size: 0;
    color: transparent; }
    .spread-pullquote blockquote.twitter-tweet > p {
      font-size: clamp(1.6rem, 3.5vw, 2.2rem);
      font-weight: 300;
      line-height: 1.45;
      color: var(--color-text); }
    .spread-pullquote blockquote.twitter-tweet > a {
      display: none; }
  .spread-pullquote blockquote.twitter-tweet + blockquote.twitter-tweet {
    margin-top: 1.2em;
    padding: 0.8em 1.2em;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    text-align: left;
    background-color: var(--color-surface);
    font-size: 1.5rem;
    line-height: 1.6; }
    .spread-pullquote blockquote.twitter-tweet + blockquote.twitter-tweet::before {
      content: "Quoting";
      display: block;
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: 0.78em;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-text-faint);
      margin-bottom: 0.4em; }
    .spread-pullquote blockquote.twitter-tweet + blockquote.twitter-tweet > p {
      font-size: 1rem;
      color: var(--color-text-muted); }

.spread-meta-centered {
  justify-content: center;
  gap: 2em;
  border-top: none;
  padding-top: 1.5em; }

.spread-media {
  border-radius: 10px;
  overflow: hidden;
  position: relative; }
  .spread-media img {
    width: 100%;
    display: block;
    object-fit: cover; }

.spread-media-short {
  aspect-ratio: 9 / 16;
  max-height: 50vh;
  width: auto;
  max-width: 100%;
  justify-self: end; }
  .spread-media-short img {
    aspect-ratio: 9 / 16;
    height: 100%;
    width: auto;
    max-width: 100%; }

.theme-grid-item:nth-child(even) .spread-media-short {
  justify-self: start; }

.spread-media-video {
  cursor: pointer; }
  .spread-media-video:hover .spread-video-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1); }
  .spread-media-video:hover img {
    transform: scale(1.03); }
  .spread-media-video img {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

.spread-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none; }

.spread-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  color: white;
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }

.spread-media-video.is-playing .spread-video-overlay, .spread-media-video.is-playing .spread-video-play {
  display: none; }

.spread-media-video.is-playing img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: opacity 0.3s ease; }

.spread-media-video.is-playing .spread-video-embed {
  display: block !important;
  width: 100%;
  position: relative;
  z-index: 1; }
  .spread-media-video.is-playing .spread-video-embed iframe {
    width: 100%;
    border-radius: 10px; }

.spread-media-video.is-playing.iframe-loaded img {
  opacity: 0; }

.spread-title {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.2em, 2.5vw, 1.6em);
  font-weight: 300;
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 0.6em; }
  @media (max-width: 680px) {
    .spread-title {
      font-size: 1.1em;
      margin-bottom: 0.4em; } }
.spread-body {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.1em, 2vw, 1.35em);
  line-height: 1.45;
  color: var(--color-text);
  text-align: left; }
  @media (max-width: 680px) {
    .spread-body {
      font-size: 0.95em;
      line-height: 1.4; } }
  .spread-body p {
    margin: 0 0 0.8em; }
    .spread-body p:last-child {
      margin-bottom: 0; }
  .spread-body blockquote.twitter-tweet {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-size: 0;
    color: transparent; }
    .spread-body blockquote.twitter-tweet > p {
      font-size: clamp(1.6rem, 2vw, 1.8rem);
      color: var(--color-text);
      margin-bottom: 0.8em; }
    .spread-body blockquote.twitter-tweet > a {
      display: none; }
    .spread-body blockquote.twitter-tweet a[href*="t.co"] {
      color: var(--color-text-faint);
      font-size: 0.85em; }
  .spread-body blockquote.twitter-tweet + blockquote.twitter-tweet {
    margin-top: 1.5em;
    padding: 1em 1.2em;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    background-color: var(--color-surface);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-muted); }
    .spread-body blockquote.twitter-tweet + blockquote.twitter-tweet::before {
      content: "Quoting";
      display: block;
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: 0.78em;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-text-faint);
      margin-bottom: 0.6em; }
    .spread-body blockquote.twitter-tweet + blockquote.twitter-tweet > a {
      display: none; }
    .spread-body blockquote.twitter-tweet + blockquote.twitter-tweet > p {
      color: var(--color-text-muted); }

.spread-body-full {
  display: none; }

.spread-continuation {
  /* inherits font from parent .spread-body */ }

.spread-expand {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 0.8em 0 0;
  cursor: pointer;
  letter-spacing: 0.05em;
  display: block;
  text-decoration: none; }
  .spread-expand:hover {
    color: var(--color-text);
    background: none;
    text-decoration: underline; }

.spread-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1em;
  padding-top: 0.8em;
  border-top: 1px solid var(--color-border); }
  @media (max-width: 680px) {
    .spread-meta {
      justify-content: center;
      gap: 1.5em;
      margin-top: 0.6em;
      padding-top: 0.5em;
      font-size: 0.85em; } }
.spread-author {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 0.75em;
  color: var(--color-text); }

.spread-link {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.7em;
  color: var(--color-text-faint);
  text-decoration: none;
  letter-spacing: 0.05em; }
  .spread-link:hover {
    color: var(--color-primary); }

/* reply context — parent tweet shown above the main tweet */
.tweet-reply-context {
  margin-bottom: 1.5em; }
  .tweet-reply-context::before {
    content: "Replying to";
    display: block;
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.6em; }
  .tweet-reply-context blockquote.twitter-tweet {
    margin: 0;
    padding: 1em 1.5em;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    background-color: var(--color-surface);
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    font-style: normal; }
    .tweet-reply-context blockquote.twitter-tweet > p {
      font-size: 1.5rem;
      line-height: 1.6;
      color: var(--color-text-muted);
      margin-bottom: 0.3em; }
    .tweet-reply-context blockquote.twitter-tweet > a {
      display: none; }

.spread-quote .tweet-reply-context {
  text-align: left;
  max-width: 500px;
  margin: 0 auto 1.5em; }
  .spread-quote .tweet-reply-context::before {
    text-align: center; }
  .spread-quote .tweet-reply-context blockquote.twitter-tweet > p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 0.3em; }

/* thread continuation — tweets that follow the main tweet in a thread */
.tweet-thread-continuation {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px dashed var(--color-border); }
  .tweet-thread-continuation::before {
    content: "Thread";
    display: block;
    font-family: "Crimson Text", Georgia, "Times New Roman", serif;
    font-size: 0.6em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 0.5em; }
  .tweet-thread-continuation blockquote.twitter-tweet {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-size: 0;
    color: transparent; }
    .tweet-thread-continuation blockquote.twitter-tweet > p {
      font-size: 1.6rem;
      color: var(--color-text); }
    .tweet-thread-continuation blockquote.twitter-tweet > a {
      display: none; }

/* TikTok embeds */
.tiktok-embed {
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important; }

.tiktok-description {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: clamp(1.1em, 2vw, 1.35em);
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1em; }

.theme-card-text {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 1em;
  line-height: 1.5;
  color: var(--color-text); }
  .theme-card-text p {
    margin: 0 0 0.3em; }
    .theme-card-text p:last-child {
      margin-bottom: 0; }
  .theme-card-text blockquote.twitter-tweet {
    margin: 0;
    padding: 0;
    border: none;
    font-style: normal;
    font-size: 0;
    color: transparent; }
    .theme-card-text blockquote.twitter-tweet > p {
      font-size: 1rem;
      color: var(--color-text); }
    .theme-card-text blockquote.twitter-tweet > a {
      display: none; }
    .theme-card-text blockquote.twitter-tweet a[href*="t.co"] {
      color: var(--color-text-faint);
      font-size: 0.85em; }
  .theme-card-text blockquote.twitter-tweet + blockquote.twitter-tweet {
    margin-top: 1em;
    padding: 0.8em 1em;
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
    background-color: var(--color-bg);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text-muted); }
    .theme-card-text blockquote.twitter-tweet + blockquote.twitter-tweet::before {
      content: "Quoting";
      display: block;
      font-family: "Crimson Text", Georgia, "Times New Roman", serif;
      font-size: 0.78em;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--color-text-faint);
      margin-bottom: 0.5em; }
    .theme-card-text blockquote.twitter-tweet + blockquote.twitter-tweet > p {
      font-size: 1rem;
      line-height: 1.6;
      color: var(--color-text-muted); }

.theme-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8em 1.8em 1.2em; }

.theme-grid.has-focus .theme-grid-item:not(.in-focus) .theme-video {
  opacity: 0.4;
  filter: blur(1px); }

.theme-card-author {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 0.75em;
  color: var(--color-text); }

.theme-card-link {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.7em;
  color: var(--color-text-faint);
  text-decoration: none;
  letter-spacing: 0.05em; }
  .theme-card-link:hover {
    color: var(--color-primary); }

/* "More voices" expandable feed */
/* "More voices" — editorial expandable */
.theme-more {
  max-width: 860px;
  margin: 0 auto;
  padding: 0.5em 1em;
  text-align: center; }

.theme-more-btn {
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-primary);
  border-radius: 0;
  padding: 0.4em 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4em; }
  .theme-more-btn:hover {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
    background: none; }
  .theme-more-btn .theme-more-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-size: 0.7em; }

.theme-feed {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  scroll-snap-type: y proximity; }

.theme-feed-item {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3em 1em;
  scroll-snap-align: center;
  box-sizing: border-box;
  position: relative; }
  @media (max-width: 680px) {
    .theme-feed-item {
      min-height: auto;
      padding: 2em 0.75em; } }
/* ─── THEME VIDEO CARDS ─── */
.theme-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end; }

.theme-video-short {
  aspect-ratio: 9 / 16;
  max-height: 480px; }

.theme-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }

.theme-video:hover .theme-video-thumb {
  transform: scale(1.04); }

.theme-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none; }

.theme-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  color: white;
  opacity: 0.8;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); }

.theme-video:hover .theme-video-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1); }

.theme-video-title {
  position: relative;
  z-index: 1;
  padding: 1em;
  font-family: "Crimson Text", Georgia, "Times New Roman", serif;
  font-size: 0.95em;
  line-height: 1.3;
  color: white; }

.theme-video.is-playing {
  aspect-ratio: auto; }
  .theme-video.is-playing .theme-video-thumb,
  .theme-video.is-playing .theme-video-overlay,
  .theme-video.is-playing .theme-video-play,
  .theme-video.is-playing .theme-video-title {
    display: none; }
  .theme-video.is-playing .theme-video-embed {
    display: block !important;
    width: 100%; }

/* masonry columns must contain children */
.theme-grid,
.theme-feed {
  overflow: hidden; }

.theme-grid-item,
.theme-feed-item {
  max-width: 100%;
  overflow: hidden; }
