/* Journal (blog) styles and a light refresh layer for the existing site */
:root { --jr-radius: 10px; }
html { scroll-padding-top: var(--header-height); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-primary); outline-offset: 3px; }

/* Light refresh of the existing pages */
.site-header.scrolled { background: rgba(255,255,255,0.88); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--border-light); box-shadow: none; }
.section-kicker { color: var(--gold-dark); letter-spacing: 0.32em; }

/* Journal header */
.jr-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-height); padding: 0 48px; background: rgba(255,255,255,0.9); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid var(--border-light); }
.jr-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.18em; color: var(--text-primary); text-decoration: none; }
.jr-brand img { width: 36px; height: 36px; object-fit: contain; }
.jr-brand b { font-weight: 600; color: var(--gold-primary); }
.jr-nav { display: flex; gap: 28px; }
.jr-nav a { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-secondary); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.jr-nav a:hover, .jr-nav a[aria-current="page"] { color: var(--text-primary); border-bottom-color: var(--gold-primary); }

/* Layout */
.jr-main { padding: 72px 0 96px; min-height: 70vh; }
.jr-wrap { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.jr-kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.jr-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.01em; }
.jr-title-sm { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.jr-lede { max-width: 56ch; margin-top: 16px; font-size: 1.05rem; color: var(--text-secondary); }

/* Filters and chips */
.jr-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 8px; }
.jr-filters:empty { display: none; }
.jr-chip { font: 600 0.72rem var(--font-sans); letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--border-light); border-radius: 999px; background: transparent; color: var(--text-secondary); text-decoration: none; cursor: pointer; transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast); }
.jr-chip:hover { border-color: var(--gold-primary); color: var(--text-primary); }
.jr-chip[aria-pressed="true"] { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }
.jr-chip:disabled { opacity: 0.55; cursor: default; }
.jr-tag { cursor: default; }

/* Cards */
.jr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; margin-top: 40px; }
.jr-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--jr-radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth); }
.jr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--border-light); }
.jr-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-card-hover); }
.jr-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jr-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 26px; }
.jr-meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.jr-card-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.55rem; line-height: 1.2; }
.jr-excerpt { font-size: 0.95rem; color: var(--text-secondary); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jr-by { display: flex; align-items: center; gap: 8px; margin-top: auto; font-size: 0.8rem; color: var(--text-muted); }
.jr-by img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* States and buttons */
.jr-status { margin: 48px 0; text-align: center; color: var(--text-secondary); }
.jr-status[data-kind="error"] { color: #9b2c2c; }
.jr-btn { display: block; margin: 48px auto 0; padding: 14px 34px; font: 600 0.75rem var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; background: var(--text-primary); border: 1px solid var(--text-primary); border-radius: 999px; cursor: pointer; transition: background var(--transition-fast), border-color var(--transition-fast); }
.jr-btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.jr-btn:disabled { opacity: 0.55; cursor: default; }
.jr-btn[hidden], .jr-home[hidden], .jr-related[hidden], .jr-article[hidden], .jr-article-cover[hidden] { display: none; }

/* Post page */
.jr-article { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.jr-crumb a { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-secondary); text-decoration: none; }
.jr-crumb a:hover { color: var(--gold-dark); }
.jr-article .jr-meta { margin-top: 18px; }
.jr-article-cover { margin: 32px 0; border-radius: var(--jr-radius); overflow: hidden; max-height: 460px; }
.jr-article-cover img { display: block; width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.jr-body { margin-top: 32px; font-size: 1.1rem; line-height: 1.8; color: #222; overflow-wrap: anywhere; }
.jr-body p, .jr-body ul, .jr-body ol, .jr-body blockquote { margin: 0 0 1.2em; }
.jr-body h2, .jr-body h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 1.6em 0 0.6em; }
.jr-body h2 { font-size: 2rem; }
.jr-body h3 { font-size: 1.5rem; }
.jr-body a { color: var(--gold-dark); }
.jr-body img { max-width: 100%; height: auto; border-radius: var(--jr-radius); }
.jr-body blockquote { padding-left: 20px; border-left: 2px solid var(--gold-primary); font-family: var(--font-serif); font-size: 1.4rem; }
.jr-actions { margin: 40px 0 0; }
.jr-related { padding: 72px 0 0; }

/* Home section */
.jr-home { padding: 96px 0; background: var(--bg-secondary); }
.jr-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.jr-head .jr-kicker { margin-bottom: 10px; }
.jr-all { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-dark); text-decoration: none; }
.jr-all:hover { color: var(--text-primary); }

.jr-footer { padding: 32px 48px; border-top: 1px solid var(--border-subtle); font-size: 0.8rem; color: var(--text-muted); text-align: center; }

@media (max-width: 720px) {
  .jr-header { padding: 0 20px; }
  .jr-brand { font-size: 1rem; letter-spacing: 0.12em; }
  .jr-nav { gap: 16px; }
  .jr-main { padding: 48px 0 72px; }
  .jr-wrap { padding: 0 20px; }
  .jr-home { padding: 64px 0; }
  .jr-footer { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .jr-card, .jr-chip, .jr-btn { transition: none; }
  .jr-card:hover { transform: none; }
}
/* Pinned Instagram embed */
.ig-pinned { max-width: 560px; margin: 40px auto 0; text-align: center; }
.ig-pinned-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-dark); }
.ig-pinned .instagram-media { margin: 0 auto !important; }

/* Hero: show the full poster, tag sits below it */
.hero-image-wrapper { flex-direction: column; align-items: flex-end; }
.hero-portrait { width: auto; max-width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.hero-upcoming-tag { position: static; margin-top: 16px; }
@media (max-width: 900px) { .hero-image-wrapper { align-items: center; } }

/* Commercials showreel */
.reel { margin: 56px 0 24px; }
.reel-head { text-align: center; margin-bottom: 28px; }
.reel-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.reel-player { max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--jr-radius); overflow: hidden; background: #111; box-shadow: var(--shadow-hover); }
.reel-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.reel-strip { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.reel-thumb { display: block; color: inherit; text-decoration: none; }
.reel-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--jr-radius); overflow: hidden; background: var(--bg-card-hover); }
.reel-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-smooth); }
.reel-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: rgba(18,18,18,0.62); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.35); transition: background var(--transition-fast), transform var(--transition-fast); }
.reel-play svg { width: 22px; height: 22px; margin-left: 2px; }
.reel-thumb:hover .reel-frame img { transform: scale(1.05); }
.reel-thumb:hover .reel-play { background: var(--gold-primary); transform: scale(1.08); }
.reel-name { display: block; margin-top: 12px; font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.reel-sub { display: block; margin-top: 2px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
@media (max-width: 720px) { .reel-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; } .reel-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; } }
@media (prefers-reduced-motion: reduce) { .reel-frame img, .reel-play { transition: none; } .reel-thumb:hover .reel-frame img { transform: none; } }
