/* =========================================================
   ARAM MIZURI ARCHITECTURE — journal.css
   The build journal (/journal) and its entries, on top of project.css:
   the work on site, step by step — a large lead entry, then the rest in a
   grid; an entry's own page with its text, photographs and the whole build.
   ========================================================= */

.jr-hero {
    max-width: var(--wide); margin: 0 auto;
    padding: clamp(120px, 17vh, 170px) var(--gutter) clamp(40px, 7vh, 72px);
}
.jr-hero__title { font-size: clamp(44px, 6vw, 92px); font-weight: 200; line-height: 1; letter-spacing: -.035em; color: #fff; }
[dir="rtl"] .jr-hero__title { letter-spacing: 0; line-height: 1.3; font-weight: 400; }
.jr-hero__intro { max-width: 58ch; margin-top: 22px; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--muted); }
[dir="rtl"] .jr-hero__intro { font-size: 17px; line-height: 2; }
.jr-empty { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) 120px; color: var(--muted); font-size: 16px; }

/* the entries: the newest across two columns, the rest three to a row */
.jr-list {
    list-style: none; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) clamp(72px, 12vh, 128px);
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px);
}
.jr-item--lead { grid-column: span 2; grid-row: span 2; }
.jr-card { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.jr-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--panel); margin-bottom: 8px; }
.jr-item--lead .jr-card__img { aspect-ratio: 16 / 10; }
.jr-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.jr-card:hover .jr-card__img img { transform: scale(1.04); }
.jr-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .jr-card__meta { letter-spacing: 0; font-size: 13px; }
.jr-card__project { color: var(--faint); }
.jr-card__title { font-size: 20px; font-weight: 300; line-height: 1.3; color: #fff; transition: color .25s; }
.jr-item--lead .jr-card__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 200; }
.jr-card:hover .jr-card__title { color: var(--gold); }
.jr-card__note { font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--muted); }
.jr-card__read { margin-top: auto; padding-top: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .jr-card__read { letter-spacing: 0; font-size: 13px; }

/* ---- one entry --------------------------------------------- */
.jr-post { max-width: 980px; margin: 0 auto; padding: clamp(112px, 15vh, 156px) var(--gutter) clamp(72px, 12vh, 128px); }
.jr-crumbs { display: flex; gap: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: clamp(28px, 5vh, 48px); }
.jr-crumbs a { color: var(--muted); }
.jr-crumbs a:hover { color: var(--gold); }
[dir="rtl"] .jr-crumbs { letter-spacing: 0; font-size: 13px; }
.jr-post__meta { display: flex; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
[dir="rtl"] .jr-post__meta { letter-spacing: 0; font-size: 14px; }
.jr-post__title { margin-top: 16px; font-size: clamp(34px, 4.6vw, 64px); font-weight: 200; line-height: 1.08; letter-spacing: -.025em; color: #fff; }
[dir="rtl"] .jr-post__title { letter-spacing: 0; line-height: 1.4; font-weight: 400; }
.jr-post__project { margin-top: 14px; font-size: 14px; color: var(--muted); }
.jr-post__text { margin-top: clamp(32px, 5vh, 48px); max-width: 66ch; }
.jr-post__text p { font-size: 17px; font-weight: 300; line-height: 1.9; color: var(--text); }
.jr-post__text p + p { margin-top: 18px; }
[dir="rtl"] .jr-post__text p { font-size: 18px; line-height: 2.05; }

.jr-photos { display: grid; gap: 12px; margin-top: clamp(36px, 6vh, 56px); }
.jr-photos--2 { grid-template-columns: 1fr 1fr; }
.jr-photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jr-photos--3 .jr-photo:first-child { grid-column: 1 / -1; }
.jr-photo { display: block; overflow: hidden; border-radius: 4px; background: var(--panel); }
.jr-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease-out); }
.jr-photos--3 .jr-photo:first-child img { aspect-ratio: 16 / 9; }
.jr-photo:hover img { transform: scale(1.03); }

.jr-post__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(36px, 6vh, 56px); }

.jr-build { margin-top: clamp(56px, 9vh, 96px); padding-top: clamp(32px, 5vh, 48px); border-top: 1px solid var(--line); }
.jr-build__list { list-style: none; border-top: 1px solid var(--line); }
.jr-build__step a { display: grid; grid-template-columns: minmax(130px, 180px) 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .25s; }
.jr-build__step time { color: var(--gold); font-size: 13px; }
.jr-build__step a:hover, .jr-build__step.is-here a { color: #fff; }
.jr-build__step.is-here span::before { content: '● '; color: var(--gold); }
.jr-post__back { margin-top: 40px; }
.jr-post__back a { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.jr-post__back a:hover { color: var(--gold); }
[dir="rtl"] .jr-post__back a { letter-spacing: 0; font-size: 14px; }

@media (max-width: 900px) {
    .jr-list { grid-template-columns: 1fr 1fr; }
    .jr-item--lead { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 560px) {
    .jr-list { grid-template-columns: 1fr; }
    .jr-photos--2, .jr-photos--3 { grid-template-columns: 1fr; }
    .jr-build__step a { grid-template-columns: 1fr; gap: 4px; }
}
