/* ==========================================================================
   Trinket Trove · the journals pages
   journals.html, resolutions-that-stick.html, 2027-journals.html,
   resolutions-sample.html and the unlisted download page.
   Every class starts with jr- so nothing here touches the rest of the site.
   The nav and footer come from site.css.
   ========================================================================== */
:root {
  --jr-cream: #FAF6EC; --jr-sand: #F0EAD8; --jr-sand-2: #E8DFC8;
  --jr-olive: #6B7C3F; --jr-olive-dk: #4F5C2D;
  --jr-gold: #D4A93C; --jr-gold-ink: #85672F;
  --jr-text: #2A2520; --jr-muted: #6A6158; --jr-rule: #E2D6BC;
}
body.jr { font-family: 'Cormorant Garamond', Georgia, serif; background: var(--jr-cream); color: var(--jr-text);
  font-size: 19px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
.jr *, .jr *::before, .jr *::after { box-sizing: border-box; }
:where(.jr main) :where(h1, h2, h3, p, ul, ol, figure, blockquote, table) { margin: 0; padding: 0; }
.jr main img { max-width: 100%; height: auto; display: block; }
.jr a { color: inherit; }
.jr-cap { font-family: 'Special Elite', 'Courier New', monospace; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 400; }
.jr [hidden] { display: none !important; }

/* Layout */
.jr-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.jr-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.jr section.jr-sec { padding: 56px 0; }
.jr section.jr-sec + section.jr-sec { border-top: 1px solid var(--jr-rule); }
.jr-band { background: var(--jr-sand); }
.jr-center { text-align: center; }

/* Type */
.jr-eyebrow { font-size: 11px; color: var(--jr-gold-ink); display: block; }
.jr main h1 { font-weight: 400; font-style: italic; font-size: 58px; line-height: 1.04; letter-spacing: -0.005em; margin: 12px 0 18px; text-wrap: balance; }
.jr main h2 { font-weight: 400; font-size: 38px; line-height: 1.12; margin: 10px 0 18px; text-wrap: balance; }
.jr main h3 { font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0 0 6px; }
.jr-lede { font-size: 22px; line-height: 1.5; max-width: 34em; }
.jr-lede.jr-sub { font-size: 19px; margin-top: 12px; color: var(--jr-muted); }
.jr-center .jr-lede { margin-left: auto; margin-right: auto; }
.jr-pointb { font-style: italic; font-size: 20px; color: var(--jr-olive-dk); margin-top: 14px; max-width: 34em; }
.jr main p + p { margin-top: 12px; }
.jr-fine { font-size: 15px; line-height: 1.5; color: var(--jr-muted); }
.jr-rule { width: 56px; height: 1px; background: var(--jr-gold); border: 0; margin: 22px 0; }
.jr-center .jr-rule { margin-left: auto; margin-right: auto; }
/* The product name, set apart on its own line like a title */
.jr-title { display: block; font-style: italic; font-weight: 500; font-size: 44px; line-height: 1.1; color: var(--jr-olive-dk); margin: 20px 0 6px; padding-top: 14px; border-top: 1px solid var(--jr-gold); max-width: 12em; }
.jr-link { color: var(--jr-olive-dk); text-decoration: none; border-bottom: 1px solid var(--jr-gold); }
.jr-link:hover { border-bottom-color: var(--jr-olive); }

/* Buttons */
.jr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 13px 24px;
  background: var(--jr-olive); color: var(--jr-cream); text-decoration: none; border: 1px solid var(--jr-olive);
  font-family: 'Special Elite', 'Courier New', monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; text-align: center; line-height: 1.3; }
.jr-btn:hover, .jr-btn:focus-visible { background: var(--jr-olive-dk); border-color: var(--jr-olive-dk); color: var(--jr-cream); }
.jr-btn:disabled, .jr-btn[aria-disabled="true"] { background: var(--jr-sand-2); border-color: var(--jr-sand-2); color: var(--jr-muted); cursor: not-allowed; }
.jr-btn-ghost { background: transparent; color: var(--jr-olive-dk); }
.jr-btn-ghost:hover, .jr-btn-ghost:focus-visible { background: var(--jr-olive); color: var(--jr-cream); }
.jr-btn-block { display: flex; width: 100%; }
.jr :focus-visible { outline: 2px solid var(--jr-gold); outline-offset: 2px; }

/* Covers, page images */
.jr-cover { box-shadow: 0 10px 28px rgba(42,37,32,0.22); }
.jr-page-img { background: #fff; box-shadow: 0 4px 18px rgba(42,37,32,0.12); border: 1px solid var(--jr-rule); }
.jr main figure figcaption { font-size: 15px; line-height: 1.4; color: var(--jr-muted); margin-top: 10px; }
.jr main figure figcaption b { font-weight: 500; color: var(--jr-text); display: block; font-size: 17px; }

/* Cards, lists, questions */
.jr-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.jr-card { background: var(--jr-cream); border-top: 2px solid var(--jr-gold); padding: 18px 18px 20px; }
.jr-card .jr-cap { font-size: 10.5px; color: var(--jr-gold-ink); display: block; margin-bottom: 6px; }
.jr-card p { font-size: 17px; line-height: 1.5; }
.jr-list { list-style: none; }
.jr-list li { padding: 10px 0; border-bottom: 1px solid var(--jr-rule); font-size: 18px; line-height: 1.45; }
.jr-list li:first-child { border-top: 1px solid var(--jr-rule); }
.jr-list b { font-weight: 500; }
.jr-q { border-bottom: 1px solid var(--jr-rule); }
.jr-q:first-of-type { border-top: 1px solid var(--jr-rule); }
.jr-q summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-size: 20px; position: relative; }
.jr-q summary::-webkit-details-marker { display: none; }
.jr-q summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--jr-gold-ink); }
.jr-q[open] summary::after { content: "\2013"; }
.jr-q p { padding: 0 0 16px; font-size: 18px; color: var(--jr-muted); max-width: 36em; }
.jr-smallprint { padding: 34px 0 44px; border-top: 1px solid var(--jr-rule); }
.jr-smallprint p { font-size: 14px; line-height: 1.6; color: var(--jr-muted); max-width: 46em; }
.jr-closing { margin-top: 24px; font-style: italic; font-size: 21px; }
.jr-speed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.jr-speed .jr-card b { font-style: italic; font-weight: 400; font-size: 24px; display: block; margin-bottom: 4px; color: var(--jr-olive-dk); }
.jr-inside { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
.jr-quote { text-align: center; max-width: 640px; margin: 0 auto; }
.jr-quote blockquote { font-style: italic; font-size: 31px; line-height: 1.3; }
.jr-quote .jr-sig { font-size: 11px; color: var(--jr-gold-ink); margin-top: 18px; display: block; }

/* Coming-soon notice: shown wherever a checkout link is not ready yet */
.jr-soon { margin-top: 14px; background: #fff; border: 1px dashed var(--jr-olive); padding: 12px 16px; font-size: 16px; line-height: 1.5; text-align: center; color: var(--jr-muted); }
.jr-soon b { font-weight: 500; color: var(--jr-text); }

/* ---------- journals.html ---------- */
.jr-hero { padding: 56px 0 36px; }
.jr-items { list-style: none; display: grid; gap: 26px; padding: 0 0 64px; margin: 0; }
.jr-item { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center; background: #fff; border: 1px solid var(--jr-rule); padding: 26px; }
.jr-item img { width: 100%; height: auto; }
.jr-item h2 { font-size: 34px; margin: 8px 0 8px; }
.jr-item p { font-size: 19px; max-width: 30em; }
.jr-item .jr-meta { font-size: 11px; color: var(--jr-gold-ink); margin: 14px 0 18px; display: block; }
.jr-item.is-featured { border-left: 3px solid var(--jr-olive); }

/* ---------- resolutions-that-stick.html ---------- */
.jr-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.jr-covers { position: relative; height: 420px; }
.jr-covers img { position: absolute; width: 58%; }
.jr-covers .c1 { left: 4%; top: 0; z-index: 2; }
.jr-covers .c2 { right: 2%; top: 48px; z-index: 1; }
.jr-offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.jr-offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--jr-rule); padding: 18px 16px 16px; text-align: center; }
.jr-offer .o-eyebrow { font-size: 9.5px; color: var(--jr-gold-ink); min-height: 1.6em; }
.jr-offer .o-name { font-size: 20px; line-height: 1.2; margin: 6px 0 2px; }
.jr-offer .o-name i { color: var(--jr-olive-dk); }
.jr-offer .o-price { font-size: 44px; line-height: 1.05; margin: 8px 0 2px; }
.jr-offer .o-price.is-tbd { font-size: 24px; line-height: 1.4; margin: 20px 0 8px; font-style: italic; color: var(--jr-muted); }
.jr-offer .o-sep { font-size: 14px; color: var(--jr-muted); min-height: 1.5em; }
.jr-offer .o-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; margin: 10px 0 14px; gap: 6px; }
.jr-offer label { font-family: 'Special Elite', monospace; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jr-muted); }
.jr-offer select { width: 100%; min-height: 42px; font: inherit; font-size: 17px; padding: 6px 8px; border: 1px solid var(--jr-rule); background: var(--jr-cream); color: var(--jr-text); }
.jr-offer .o-span, .jr-offer .o-note { font-size: 14.5px; line-height: 1.4; color: var(--jr-muted); }
.jr-offer .o-note em { font-style: italic; }
.jr-offer.is-featured { border: 2px solid var(--jr-olive); background: var(--jr-cream); }
.jr-offer.is-featured .o-eyebrow { color: var(--jr-olive-dk); }
.jr-offers-line { text-align: center; margin-top: 14px; font-size: 10.5px; color: var(--jr-muted); line-height: 1.9; }
.jr-prices { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 19px; }
.jr-prices th { text-align: left; font-family: 'Special Elite', monospace; font-weight: 400; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jr-muted); padding: 0 8px 10px 0; border-bottom: 1px solid var(--jr-rule); }
.jr-prices td { padding: 13px 8px 13px 0; border-bottom: 1px solid var(--jr-rule); vertical-align: top; }
.jr-prices td.num, .jr-prices th.num { text-align: right; white-space: nowrap; padding-right: 0; }
.jr-prices tr.is-featured td { background: var(--jr-cream); }
.jr-prices small { display: block; font-size: 14px; color: var(--jr-muted); }

/* ---------- 2027-journals.html ---------- */
.jr-picker-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 20px; margin-bottom: 18px; }
.jr-picker-head h2 { margin: 0; }
.jr-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.jr-quick .jr-btn { min-height: 40px; padding: 9px 14px; font-size: 10.5px; }
#jr-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.jr-tile { position: relative; display: flex; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--jr-rule); padding: 8px 8px 10px; cursor: pointer; font: inherit; color: inherit; text-align: center; transition: border-color .15s, box-shadow .15s; }
.jr-tile:hover { border-color: var(--jr-olive); }
.jr-tile-img { display: block; aspect-ratio: 2/3; overflow: hidden; background: var(--jr-sand); }
.jr-tile-img img { width: 100%; height: 100%; object-fit: cover; }
.jr-tile-name { font-size: 17px; margin-top: 8px; line-height: 1.1; }
.jr-tile-state { font-size: 9px; color: var(--jr-olive-dk); min-height: 1.6em; margin-top: 3px; letter-spacing: 0.16em; }
.jr-tile.is-on { border: 2px solid var(--jr-olive); padding: 7px 7px 9px; box-shadow: 0 4px 14px rgba(79,92,45,0.18); }
.jr-tile.is-on::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background-color: var(--jr-olive); box-shadow: 0 0 0 2px #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23FAF6EC' stroke-width='2'/%3E%3C/svg%3E"); }
.jr-tile.is-past { cursor: not-allowed; background: var(--jr-sand); }
.jr-tile.is-past .jr-tile-img img { filter: grayscale(1); opacity: 0.35; }
.jr-tile.is-past .jr-tile-name, .jr-tile.is-past .jr-tile-state { color: var(--jr-muted); }
.jr-ratelist { margin-top: 20px; font-size: 16px; color: var(--jr-muted); line-height: 1.7; }
.jr-ratelist b { font-weight: 500; color: var(--jr-text); }
.jr-rule-note { font-size: 15px; font-style: italic; color: var(--jr-muted); margin-top: 6px; }
.jr-totalbar { position: sticky; bottom: 0; z-index: 5; margin-top: 26px; background: var(--jr-cream); border-top: 1px solid var(--jr-gold); box-shadow: 0 -6px 18px rgba(42,37,32,0.06); }
.jr-totalbar-in { max-width: 1080px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#jr-count { font-size: 22px; line-height: 1.2; display: block; }
#jr-single { font-size: 14px; color: var(--jr-muted); display: block; min-height: 1.2em; }
#jr-continue { min-width: 180px; }
.jr-after-bar { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- resolutions-sample.html ---------- */
.jr-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 840px; margin: 10px auto 0; }
.jr-thumbs figure { text-align: center; }
.jr-formbox { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--jr-rule); border-top: 2px solid var(--jr-gold); padding: 30px 28px; }
.jr-formbox h2 { font-size: 32px; margin-top: 6px; }
.jr-formbox .jr-fine { margin-top: 14px; text-align: center; }
.jr-formbox iframe { width: 100%; border: 0; min-height: 330px; margin-top: 14px; display: block; }
.jr-placeholder { margin-top: 14px; border: 1px dashed var(--jr-olive); background: var(--jr-cream); padding: 22px 18px; text-align: center; font-size: 17px; line-height: 1.5; color: var(--jr-muted); }
.jr-placeholder b { display: block; font-weight: 500; color: var(--jr-text); margin-bottom: 4px; }
#jr-thanks-state { text-align: center; outline: none; }
#jr-thanks-state h2 { font-style: italic; }
#jr-thanks-state .jr-btn { margin-top: 20px; }
.jr-next { margin-top: 22px; font-size: 17px; }

/* ---------- download page ---------- */
.jr-date { display: inline-block; margin-top: 22px; border-top: 1px solid var(--jr-gold); border-bottom: 1px solid var(--jr-gold); padding: 12px 22px; }
.jr-date .jr-cap { font-size: 10px; color: var(--jr-gold-ink); display: block; }
.jr-date b { font-weight: 400; font-style: italic; font-size: 30px; line-height: 1.2; }
#jr-downloads { list-style: none; max-width: 640px; margin: 0 auto; padding: 0; }
.jr-dl { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--jr-rule); }
.jr-dl:first-child { border-top: 1px solid var(--jr-rule); }
.jr-dl img { width: 56px; height: auto; }
.jr-dl b { font-weight: 500; font-size: 20px; display: block; line-height: 1.2; }
.jr-dl .jr-btn { min-width: 110px; }
.jr-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.jr-steps li { counter-increment: s; position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--jr-rule); font-size: 18px; }
.jr-steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; font-style: italic; font-size: 28px; color: var(--jr-gold-ink); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  .jr-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .jr-covers { height: 360px; max-width: 420px; margin: 0 auto; width: 100%; }
  .jr-offers { grid-template-columns: 1fr 1fr; gap: 12px; }
  .jr-speed, .jr-inside, .jr-grid3 { grid-template-columns: 1fr; gap: 14px; }
  .jr-inside { gap: 24px; }
  .jr-inside figure { max-width: 360px; margin: 0 auto; }
  #jr-tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .jr-title { font-size: 36px; }
  .jr-lede.jr-sub { font-size: 18px; }
  .jr-item { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .jr-item > div:first-child { max-width: 200px; margin: 0 auto; }
  .jr-item h2 { font-size: 29px; }
}
@media (max-width: 600px) {
  body.jr { font-size: 18px; }
  .jr section.jr-sec { padding: 42px 0; }
  .jr main h1 { font-size: 42px; }
  .jr main h2 { font-size: 31px; }
  .jr-lede { font-size: 20px; }
  .jr-pointb { font-size: 19px; }
  .jr-covers { height: 345px; }
  .jr-offer { padding: 16px 10px 12px; }
  .jr-offer .o-name { font-size: 18px; }
  .jr-offer .o-price { font-size: 38px; }
  .jr-quote blockquote { font-size: 25px; }
  .jr-prices { font-size: 17px; }
  #jr-tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .jr-tile { padding: 6px 6px 8px; }
  .jr-tile.is-on { padding: 5px 5px 7px; }
  .jr-tile.is-on::after { top: 10px; right: 10px; }
  .jr-tile-name { font-size: 15px; }
  .jr-totalbar-in { padding: 10px 16px; }
  #jr-count { font-size: 19px; }
  #jr-continue { min-width: 0; padding: 12px 14px; }
  .jr-thumbs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .jr-thumbs figcaption { font-size: 13px; }
  .jr-thumbs figcaption b { font-size: 14px; }
  .jr-formbox { padding: 24px 18px; }
  .jr-dl { grid-template-columns: 44px 1fr; gap: 12px; }
  .jr-dl img { width: 44px; }
  .jr-dl b { font-size: 18px; }
  .jr-dl .jr-btn { min-width: 0; padding: 12px 14px; }
  .jr-date b { font-size: 25px; }
}

/* The monthly journals' own words, with the product name on its own line */
.jr-quote-line { font-style: italic; font-size: 21px; }
.jr-title.jr-title-quote { font-size: 36px; margin: 6px 0; padding-top: 10px; }
@media (max-width: 640px) { .jr-title.jr-title-quote { font-size: 30px; } }

/* Three monthly covers, fanned, on the Resolutions That Stick page */
.jr-monthfan { display: flex; justify-content: center; align-items: flex-end; margin: 28px 0 14px; padding: 0 14px; }
.jr-monthfan figure { margin: 0 -12px; width: 31%; max-width: 160px; }
.jr-monthfan img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: 0 12px 26px rgba(42, 37, 32, .30); }
.jr-monthfan figure:nth-child(1) { transform: rotate(-6deg) translateY(10px); z-index: 1; }
.jr-monthfan figure:nth-child(2) { transform: translateY(-6px); z-index: 2; }
.jr-monthfan figure:nth-child(3) { transform: rotate(6deg) translateY(10px); z-index: 1; }
.jr-monthcap { text-align: center; font-size: 11px; color: var(--jr-gold-ink); margin: 0 0 26px; }
