/**
 * Journal page (/journal).
 *
 * Scoped to .twy-journal-page so the bespoke editorial palette + type tokens
 * from the design handoff don't leak into the rest of the site (mirrors the
 * pattern in science.css / about.css / 404.css).
 *
 * Section order matches page-journal.php:
 *   1. Hero (dark, full-bleed)
 *   2. Featured (cream, 2-col split)
 *   3. Filter bar (sticky, cream)
 *   4. Grid + empty state
 *   5. Promo strip (clay)
 *   6. Deep-read (dark, 2x2 grid of link cards)
 *   7. Newsletter (cream-2)
 */

.twy-journal-page {
  --ink: #14160F;
  --ink-2: #1d211a;
  --ink-3: #2a2f26;
  --cream: #f6fff2;
  --cream-2: #eaf6e2;
  --cream-3: #ddf0d0;
  --paper: #ffffff;
  --sage: #93db4c;
  --sage-2: #ffcf7a;
  --sage-deep: #d97a35;
  --clay: #93db4c;
  --clay-deep: #bde858;
  --stone: #8a8a7a;
  --stone-2: #6a6a5a;
  --line: rgba(20, 23, 15, 0.12);
  --line-strong: rgba(20, 23, 15, 0.22);

  --font-display: "DM Serif Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.twy-journal-page * { box-sizing: border-box; }
.twy-journal-page a { color: inherit; text-decoration: none; }
.twy-journal-page button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
/* Override the global app.css `h1, h2 { color: var(--ink) }` rule so headings
   on this page take their colour from the surrounding section. */
.twy-journal-page h1,
.twy-journal-page h2,
.twy-journal-page h3,
.twy-journal-page h4 { margin: 0; font-weight: 400; color: inherit; font-family: var(--font-display); letter-spacing: -0.015em; }
.twy-journal-page svg { width: 1em; height: 1em; flex-shrink: 0; }
.twy-journal-page p  { margin: 0; }
.twy-journal-page ul { list-style: none; margin: 0; padding: 0; }
.twy-journal-page input,
.twy-journal-page button { font-family: inherit; }

/* Match the .twy-header__row container (1440 / 24-48-64 padding). */
.twy-journal-page .wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px)  { .twy-journal-page .wrap { padding: 0 48px; } }
@media (min-width: 1200px) { .twy-journal-page .wrap { padding: 0 64px; } }

/* Shared eyebrow primitive */
.twy-journal-page .jr-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-2);
}
.twy-journal-page .jr-eyebrow.is-sage { color: var(--sage); }

/* Defensive [hidden] override — empty-state toggling is class-controlled, but
   keep this in case anything in the section ever uses display: flex and the
   user-agent rule loses the cascade (see CLAUDE.md / "[hidden] is fragile"). */
.twy-journal-page [hidden] { display: none !important; }

/* Buttons — match science.css surface so primary/dark/ghost feel identical. */
.twy-journal-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.twy-journal-page .btn-dark    { background: var(--ink); color: var(--cream); }
.twy-journal-page .btn-dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.twy-journal-page .btn-ghost   { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.twy-journal-page .btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.twy-journal-page .btn-sm      { height: 36px; padding: 0 16px; font-size: 11px; }
.twy-journal-page .btn-lg      { height: 56px; padding: 0 32px; font-size: 14px; }

/* Tone placeholder (gradient + diagonal stripes + caption pill) — used by the
   featured cover and every grid card cover. The 3 stops come from inline
   custom properties on the element so we don't proliferate per-tone classes. */
.twy-journal-page .jr-tone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
    var(--jr-tone-0, #1d211a) 0%,
    var(--jr-tone-1, #3a4031) 55%,
    var(--jr-tone-2, #0a0c08) 100%);
  overflow: hidden;
}
.twy-journal-page .jr-tone__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.twy-journal-page .jr-tone__stripes {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.16;
  pointer-events: none;
}
.twy-journal-page .jr-tone__caption {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 2;
}
.twy-journal-page .jr-tone.is-dark  .jr-tone__caption { color: rgba(255,255,255,0.85); background: rgba(20,23,15,0.45); }
.twy-journal-page .jr-tone.is-light .jr-tone__caption { color: rgba(20,23,15,0.7);    background: rgba(255,255,255,0.55); }

/* Avatar (sage circle with serif italic initials). Two sizes: lg = featured
   row (40px), sm = card foot (24px). */
.twy-journal-page .jr-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sage);
  color: var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  flex-shrink: 0;
}
.twy-journal-page .jr-avatar--lg { width: 40px; height: 40px; font-size: 18px; }
.twy-journal-page .jr-avatar--sm { width: 24px; height: 24px; font-size: 11px; }

/* ==========================================================================
   1. HERO
   ========================================================================== */

.twy-journal-page .jr-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  padding: 180px 0 80px;
}
.twy-journal-page .jr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(226, 106, 58, 0.18), transparent 55%),
    radial-gradient(ellipse at 6% 92%, rgba(111, 124, 74, 0.16), transparent 50%);
  pointer-events: none;
}
.twy-journal-page .jr-hero .wrap { position: relative; z-index: 1; }

.twy-journal-page .jr-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 960px) {
  .twy-journal-page .jr-hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.twy-journal-page .jr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 22px;
}
.twy-journal-page .jr-hero-eyebrow .rule {
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--sage);
}

.twy-journal-page .jr-hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.twy-journal-page .jr-hero h1 em { font-style: italic; color: var(--clay); }

.twy-journal-page .jr-hero-side {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(243, 241, 232, 0.78);
  padding-bottom: 18px;
  max-width: 360px;
}
.twy-journal-page .jr-hero-badge {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}
.twy-journal-page .jr-hero-badge svg { width: 14px; height: 14px; color: var(--sage); }

/* ==========================================================================
   2. FEATURED
   ========================================================================== */

.twy-journal-page .jr-featured {
  background: var(--cream);
  padding: 80px 0 40px;
}
.twy-journal-page .jr-featured-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .twy-journal-page .jr-featured-grid { grid-template-columns: 1fr; gap: 32px; }
}

.twy-journal-page .jr-featured-cover {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 520px;
}
@media (max-width: 600px) {
  .twy-journal-page .jr-featured-cover { min-height: 360px; }
}

.twy-journal-page .jr-featured-pill {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: var(--clay);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.twy-journal-page .jr-featured-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
}

.twy-journal-page .jr-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
.twy-journal-page .jr-featured-title {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  text-wrap: pretty;
  margin: 18px 0 24px;
}
.twy-journal-page .jr-featured-dek {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 32px;
}

.twy-journal-page .jr-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.twy-journal-page .jr-author__name-block { display: flex; flex-direction: column; gap: 2px; }
.twy-journal-page .jr-author__name { font-family: var(--font-body); font-weight: 600; font-size: 14px; }
.twy-journal-page .jr-author__role {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-2);
}
.twy-journal-page .jr-author .btn { margin-left: auto; }
@media (max-width: 600px) {
  .twy-journal-page .jr-author { flex-wrap: wrap; gap: 12px; }
  .twy-journal-page .jr-author .btn { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   3. FILTER BAR (sticky)
   ========================================================================== */

.twy-journal-page .jr-filter {
  position: sticky;
  /* Pin just under the site's sticky nav so the filter row stays visible
     while the user scrolls the grid. The nav itself is z-index 100 in
     app.css; we sit beneath it intentionally per the handoff (z-index 20). */
  top: 42px;
  z-index: 20;
  background: var(--cream);
  padding: 32px 0 16px;
}
@media (max-width: 760px) {
  /* Mobile: drop sticky entirely. With the compacted toggle UI the filter
     bar is small enough to scroll with the page; pinning it eats screen
     real estate that's better spent on the grid. */
  .twy-journal-page .jr-filter { position: static; top: auto; padding: 16px 0 8px; }
}
.twy-journal-page .jr-filter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .twy-journal-page .jr-filter-row { grid-template-columns: 1fr; gap: 10px; padding: 8px 0; }

  /* Pills container becomes a single row containing only the /filter label
     and the toggle button. The pill list collapses out of layout until
     `.jr-pills.is-open` is set by JS. */
  .twy-journal-page .jr-pills {
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }
  .twy-journal-page .jr-pills__label { font-size: 10px; letter-spacing: 0.1em; margin-right: 0; }

  /* Reveal the toggle on mobile. */
  .twy-journal-page .jr-pills__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex: 1;                /* take the remaining row width */
    justify-content: space-between;
    max-width: 320px;
  }
  .twy-journal-page .jr-pills__toggle-count {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 10px;
    opacity: 0.6;
    margin-left: auto;
    margin-right: 2px;
  }
  .twy-journal-page .jr-pills__toggle-chev {
    width: 11px;
    height: 11px;
    transition: transform 0.18s var(--ease-out);
  }

  /* Collapsed by default — break out of the flex flow into its own row that
     spans the filter container, then hide it. JS toggles `.is-open` to
     reveal. */
  .twy-journal-page .jr-pills__list {
    display: none;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 4px;
  }
  .twy-journal-page .jr-pills.is-open .jr-pills__list { display: flex; }
  .twy-journal-page .jr-pills.is-open .jr-pills__toggle-chev { transform: rotate(180deg); }

  /* Compact the pill metrics inside the dropdown so the full set fits in
     one or two rows once expanded. */
  .twy-journal-page .jr-pill {
    height: 28px;
    padding: 0 10px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    gap: 6px;
  }
  .twy-journal-page .jr-pill__count { font-size: 9px; }

  .twy-journal-page .jr-search { height: 34px; min-width: 0; width: 100%; }
  .twy-journal-page .jr-search input { font-size: 12px; }
}

.twy-journal-page .jr-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.twy-journal-page .jr-pills__list {
  display: contents; /* desktop: pills flow inline alongside the label */
}
/* Mobile-only toggle — hidden on desktop. */
.twy-journal-page .jr-pills__toggle { display: none; }
.twy-journal-page .jr-pills__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--stone-2);
  text-transform: uppercase;
  margin-right: 8px;
}
.twy-journal-page .jr-pill {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.twy-journal-page .jr-pill:hover { border-color: var(--ink); }
.twy-journal-page .jr-pill.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.twy-journal-page .jr-pill__count {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  opacity: 0.6;
}

.twy-journal-page .jr-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  height: 38px;
  min-width: 240px;
}
.twy-journal-page .jr-search__icon { display: inline-flex; color: var(--stone-2); }
.twy-journal-page .jr-search__icon svg { width: 14px; height: 14px; }
.twy-journal-page .jr-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--ink);
  height: 100%;
  padding: 0;
}
.twy-journal-page .jr-search input::placeholder { color: var(--stone); }
@media (max-width: 760px) {
  .twy-journal-page .jr-search { width: 100%; min-width: 0; }
}

/* ==========================================================================
   4. GRID
   ========================================================================== */

.twy-journal-page .jr-grid-section { padding: 60px 0 80px; }

.twy-journal-page .jr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 960px) { .twy-journal-page .jr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .twy-journal-page .jr-grid { grid-template-columns: 1fr; } }

.twy-journal-page .jr-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  color: var(--ink);
}
.twy-journal-page .jr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(20, 23, 15, 0.25);
}

.twy-journal-page .jr-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.twy-journal-page .jr-card.is-tall .jr-card__cover { aspect-ratio: 16 / 10; }

.twy-journal-page .jr-card__cat {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(20, 23, 15, 0.85);
  color: var(--cream);
  padding: 5px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.twy-journal-page .jr-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.twy-journal-page .jr-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--stone-2);
  text-transform: uppercase;
}
.twy-journal-page .jr-card__title {
  font-size: 24px;
  line-height: 1.15;
  text-wrap: pretty;
  color: var(--ink);
}
.twy-journal-page .jr-card__dek {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  margin-top: 2px;
}
.twy-journal-page .jr-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-2);
}
.twy-journal-page .jr-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.twy-journal-page .jr-card__author-name { font-weight: 500; }
.twy-journal-page .jr-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay-deep);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.twy-journal-page .jr-card__cta svg { width: 11px; height: 11px; }

/* JS toggles `[hidden]` on cards that don't match the active filter; the
   page-scoped [hidden] rule above already collapses them. */
.twy-journal-page .jr-empty {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 24px 40px;
}
.twy-journal-page .jr-empty .jr-eyebrow { margin-bottom: 18px; }
.twy-journal-page .jr-empty h3 {
  font-size: 40px;
  line-height: 1.05;
}
.twy-journal-page .jr-empty h3 em { font-style: italic; color: var(--clay); }

/* ==========================================================================
   5. PROMO STRIP
   ========================================================================== */

.twy-journal-page .jr-promo { padding: 24px 0; }

.twy-journal-page .jr-promo-card {
  position: relative;
  background: var(--clay);
  color: #fff;
  border-radius: 16px;
  padding: 44px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
@media (max-width: 960px) {
  .twy-journal-page .jr-promo-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 32px;
  }
}

.twy-journal-page .jr-promo-circle {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.twy-journal-page .jr-promo-circle--lg {
  top: -40px; right: -40px;
  width: 240px; height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.twy-journal-page .jr-promo-circle--sm {
  bottom: -80px; right: 80px;
  width: 160px; height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.twy-journal-page .jr-promo-figure {
  font-family: var(--font-display);
  font-size: 92px;
  line-height: 1;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
}

.twy-journal-page .jr-promo-body { position: relative; }
.twy-journal-page .jr-promo-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.twy-journal-page .jr-promo-title {
  font-size: 30px;
  line-height: 1.05;
  margin-bottom: 6px;
  color: #fff;
}
.twy-journal-page .jr-promo-dek {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 420px;
}

.twy-journal-page .jr-promo-ctas {
  display: flex;
  gap: 10px;
  position: relative;
  flex-wrap: wrap;
}
.twy-journal-page .jr-promo .btn-dark { background: var(--ink); color: var(--cream); }
.twy-journal-page .jr-promo .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.twy-journal-page .jr-promo .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ==========================================================================
   6. DEEP-READ
   ========================================================================== */

.twy-journal-page .jr-deep {
  background: var(--ink);
  color: var(--cream);
  padding: 100px 0;
}

.twy-journal-page .jr-deep-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 56px;
}
@media (max-width: 960px) {
  .twy-journal-page .jr-deep-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
}
.twy-journal-page .jr-deep-head h2 {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  margin-top: 14px;
}
.twy-journal-page .jr-deep-head h2 em { font-style: italic; color: var(--clay); }
.twy-journal-page .jr-deep-head p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(243, 241, 232, 0.78);
  padding-top: 8px;
  max-width: 560px;
}

.twy-journal-page .jr-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(243, 241, 232, 0.18);
  border-left: 1px solid rgba(243, 241, 232, 0.18);
}
@media (max-width: 760px) {
  .twy-journal-page .jr-deep-grid { grid-template-columns: 1fr; }
}

.twy-journal-page .jr-deep-cell {
  padding: 32px 36px;
  border-right: 1px solid rgba(243, 241, 232, 0.18);
  border-bottom: 1px solid rgba(243, 241, 232, 0.18);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: background 0.2s var(--ease-out);
}
.twy-journal-page .jr-deep-cell:hover { background: rgba(243, 241, 232, 0.04); }

.twy-journal-page .jr-deep-cell__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--clay);
  letter-spacing: 0.06em;
}
.twy-journal-page .jr-deep-cell__cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.twy-journal-page .jr-deep-cell__title {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 6px;
  color: var(--cream);
}
.twy-journal-page .jr-deep-cell__note {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(243, 241, 232, 0.66);
}
.twy-journal-page .jr-deep-cell__arrow {
  color: var(--clay);
  display: inline-flex;
}
.twy-journal-page .jr-deep-cell__arrow svg { width: 18px; height: 18px; }

/* ==========================================================================
   7. NEWSLETTER
   ========================================================================== */

.twy-journal-page .jr-news {
  background: var(--cream-2);
  padding: 96px 0 120px;
}
.twy-journal-page .jr-news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .twy-journal-page .jr-news-grid { grid-template-columns: 1fr; gap: 40px; }
}

.twy-journal-page .jr-news h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  line-height: 1;
  margin-top: 16px;
}
.twy-journal-page .jr-news h2 em { font-style: italic; color: var(--clay); }

.twy-journal-page .jr-news-body {
  margin-top: 22px;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 480px;
}

.twy-journal-page .jr-news-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.twy-journal-page .jr-news-form__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--stone-2);
  text-transform: uppercase;
}
.twy-journal-page .jr-news-form .input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.twy-journal-page .jr-news-form .input:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}

.twy-journal-page .jr-news-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.twy-journal-page .jr-news-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}
.twy-journal-page .jr-news-tag input { accent-color: var(--clay); }

.twy-journal-page .jr-news-form .btn-dark { margin-top: 4px; }
.twy-journal-page .jr-news-form__note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--stone-2);
  line-height: 1.5;
}
