/* Journal home — latest articles.
   Ocean imagery throughout, so the cold branch per the Tide Rule.
   Built from sections/blog-home/BUILD.md + design-reference.png. */

.jr-page { --surface: #0b1113; --surface-deep: #060b0d; background: var(--surface); }
.jr-page .deco-frame i { background: var(--surface); }

/* The nav spark carried margin-right:auto and so was the bar's spacer. With the
   ornament removed (2026-10-09) the brand takes that job. */
.nav .brand { margin-right: auto; }
.nav .nav-links + .nav-end { margin-left: 48px; }
@media (max-width: 1180px) { .nav .nav-links + .nav-end { margin-left: auto; } }

/* ---------- Masthead ---------- */
.jr-hero {
  position: relative; isolation: isolate;
  padding: calc(1.8vh + 78px + clamp(18px, 3vh, 46px)) clamp(28px, 4.3vw, 86px) clamp(26px, 3.6vh, 46px);
}

.jr-masthead { position: relative; z-index: 2; }
/* the eyebrow runs into a rule, as drawn */
.jr-eyebrow { display: flex; align-items: center; gap: 14px; }
.jr-eyebrow b { flex: 1 1 auto; height: 1px; background: var(--accent-line); }

.jr-title {
  margin-top: clamp(10px, 1.6vh, 22px);
  font: 900 clamp(38px, 4.6vw, 92px)/.92 var(--display);
  letter-spacing: -.042em; word-spacing: .05em; color: var(--ink);
}
.jr-title span { display: block; }

.jr-lede {
  margin-top: clamp(12px, 1.8vh, 26px); max-width: 26em;
  font: 300 clamp(16px, 1.3vw, 26px)/1.54 var(--serif); color: var(--cream, #f4ece0);
}

.jr-pin {
  position: relative; display: block; width: 100%; height: 1px;
  margin-top: clamp(18px, 2.8vh, 38px); background: var(--accent-line);
}
.jr-pin::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5.5px 0 0 -5.5px;
  border: 1px solid var(--accent); background: var(--surface); transform: rotate(45deg);
}

/* ---------- Latest ---------- */
/* the feature runs the full content measure, with the latest rows beneath it */
.jr-latest {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vh, 46px);
  padding: 0 clamp(28px, 4.3vw, 86px) clamp(40px, 6vh, 90px);
}

/* ---- featured ---- */
.jr-feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 46vh, 620px);
  background: var(--surface-deep);
  border: 1px solid var(--accent-line);
}
.jr-feature-art {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
}
/* wash, not panel: the copy is made legible by a directional gradient.
   Warm branch (#0a0908): the image is brass and wood, not sea. */
.jr-feature::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(10,9,8,.9) 0%, rgba(10,9,8,.6) 34%, rgba(10,9,8,0) 62%);
}
.jr-feature-body { padding: clamp(24px, 3vw, 54px); width: min(100%, 52%); }

.jr-feature-title {
  margin-top: clamp(10px, 1.4vh, 20px);
  font: 900 clamp(26px, 2.5vw, 50px)/1.02 var(--display);
  letter-spacing: -.03em; color: var(--ink);
  max-width: 13em; text-wrap: balance; /* measured in headline units: holds a 3-line wrap */
}
.jr-feature-title a { color: inherit; text-decoration: none; }
.jr-feature-title a:hover { color: var(--accent); }
.jr-feature-title a:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }

.jr-feature-lede {
  margin-top: clamp(10px, 1.4vh, 18px); max-width: 24em;
  font: 300 clamp(15px, 1.15vw, 23px)/1.54 var(--serif); color: var(--cream, #f4ece0);
}
.jr-feature .bp-cta { margin-top: clamp(18px, 2.6vh, 34px); }

.jr-meta {
  margin-top: clamp(16px, 2.4vh, 30px);
  font: 400 clamp(10px, .82vw, 15px)/1 var(--mono);
  letter-spacing: .24em; text-transform: uppercase; color: var(--cream-warm, #efe6d8);
}
.jr-meta i { font-style: normal; color: var(--accent); margin: 0 .6em; }

/* ---- the three most recent ---- */
.jr-list { list-style: none; display: grid; gap: clamp(14px, 1.6vh, 24px); align-content: stretch; }

.jr-item {
  position: relative; display: grid;
  grid-template-columns: clamp(120px, 13vw, 240px) minmax(0, 1fr) auto;
  align-items: center; gap: clamp(14px, 1.8vw, 32px);
  padding: clamp(12px, 1.4vh, 22px) clamp(14px, 1.4vw, 26px) clamp(12px, 1.4vh, 22px) 0;
}
/* one hairline between rows, never a box around each */
.jr-item + .jr-item { border-top: 1px solid var(--accent-line); }

.jr-thumb { margin: 0; position: relative; }
.jr-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.jr-thumb::after {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--accent-line); pointer-events: none;
}

.jr-item-meta {
  font: 400 clamp(9px, .74vw, 14px)/1 var(--mono);
  letter-spacing: .24em; text-transform: uppercase; color: var(--cream-warm, #efe6d8);
}
.jr-item-meta i { font-style: normal; color: var(--accent); margin: 0 .5em; }
.jr-cat { color: var(--accent); }

.jr-item-title {
  margin-top: clamp(8px, 1vh, 14px);
  font: 800 clamp(17px, 1.52vw, 29px)/1.26 var(--display);
  letter-spacing: -.015em; color: var(--ink);
}
.jr-item-lede {
  margin-top: clamp(6px, .9vh, 12px);
  font: 300 clamp(14px, 1.02vw, 20px)/1.5 var(--serif); color: var(--cream, #f4ece0);
}

/* circular icon ring: the one shape allowed a radius */
.jr-go {
  display: grid; place-items: center; flex: 0 0 auto;
  width: clamp(34px, 3vw, 58px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
}
.jr-go svg { width: 42%; }

/* block-link pattern: the title anchor stretches to cover the whole row */
.jr-item-title a.jr-item-anchor { color: inherit; text-decoration: none; }
.jr-item-title a.jr-item-anchor::after {
  content: ""; position: absolute; inset: 0;
}
.jr-item:hover .jr-item-title { color: var(--accent); }
.jr-item:has(a.jr-item-anchor:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }

/* ---------- Shared shell responsive ----------
   Copied from blueprint-page.css: these nav rules live per page, not in
   blueprint-shared.css. Without them the nav plate sits off-screen on a phone.
   Nav ground is cold here to match the branch. */
/* the frame's edge pins sit 7px outside the rule; keep the rule at least 8px in
   so they never cross the screen edge on a phone */
.jr-page .deco-frame { inset: max(1.2vw, 8px); }

@media (max-width: 1024px) {
  .jr-page .nav { padding-left: 32px; background: rgba(8, 20, 22, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .jr-page .foot-grid { grid-template-columns: 1fr 1fr; gap: 5vh 6vw; }
  .jr-page .foot-col + .foot-col { border-left: 0; padding-left: 0; }
  .jr-page .foot-col:first-child { grid-column: 1 / -1; }
  .jr-page .foot-sub { max-width: none; }
  .jr-page .foot-base { flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 14px; }
  .jr-page .foot-base i { min-width: 40px; }
}
@media (max-width: 640px) {
  .jr-page .nav { height: 64px; padding: 0 12px 0 16px; }
  .jr-page .nav-end::before { display: none; }
  .jr-page .nav .bp-cta { padding: 10px 16px; font-size: 12px; letter-spacing: .08em; gap: 0; white-space: nowrap; }
  .jr-page .nav .bp-cta svg { display: none; }
  .jr-page .nav .bp-cta::before, .jr-page .nav .bp-cta::after,
  .jr-page .nav .bp-cta i::before, .jr-page .nav .bp-cta i::after { width: 7px; height: 7px; left: auto; right: auto; }
  .jr-page .nav .bp-cta::before { left: 4px; top: 4px; }
  .jr-page .nav .bp-cta::after { right: 4px; bottom: 4px; }
  .jr-page .nav .bp-cta i::before { right: 4px; top: 4px; }
  .jr-page .nav .bp-cta i::after { left: 4px; bottom: 4px; }
  .jr-page .brand img { height: 26px; margin-left: calc(26px * -0.15); }
  .jr-hero { padding-top: calc(64px + 1.8vh + 28px); }
  .jr-page .foot-grid { grid-template-columns: 1fr; gap: 4.5vh; }
  .jr-page .foot-form { flex-direction: column; }
  .jr-page .foot-join { justify-content: center; }
  .jr-page .foot-base i { display: none; }
  .jr-page .foot-base { flex-direction: column; gap: 16px; }
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 1100px) {
  .jr-feature { min-height: clamp(340px, 42vh, 500px); }
  .jr-feature-body { width: min(100%, 68%); }
}

@media (max-width: 720px) {
  .jr-item { grid-template-columns: clamp(96px, 28vw, 150px) minmax(0, 1fr); }
  .jr-go { display: none; }
  .jr-feature-body { width: 100%; }
  .jr-feature::before {
    background: linear-gradient(180deg, rgba(10,9,8,.45) 0%, rgba(10,9,8,.84) 48%, rgba(10,9,8,.95) 100%);
  }
}
