/*
Theme Name: Momentary Brilliance
Description: Ordinary objects, unexpected light. An independent journal for the quietly curious.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: momentary-brilliance
*/
@font-face { font-family: Bricolage; src: url('assets/fonts/bricolage-latin.woff2') format('woff2'); font-style: normal; font-weight: 400 800; font-display: swap; }
:root {
  --paper: #f6f7f4; --ink: #111c36; --muted: #526071; --coral: #ff8a70;
  --blue: #1647d8; --ice: #dce8ed; --line: #cad1d5; --lime: #d9ef87;
  --display: Bricolage, 'Arial Black', Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--lime); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; box-shadow: 0 0 0 4px var(--paper); }
[hidden] { display: none !important; }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; }
h1 { font-size: clamp(54px, 7vw, 98px); line-height: .99; }
h2 { font-size: clamp(38px, 4.9vw, 66px); line-height: 1.03; }
h3 { font-size: 42px; line-height: 1.06; }
h1 em,h2 em,h3 em { font-style: normal; font-weight: 400; }
p { overflow-wrap: break-word; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow,.story-meta,.story-byline,.observation-controls,.note-label { font: 11px/1.6 var(--mono); letter-spacing: .065em; text-transform: uppercase; }
.eyebrow { margin-bottom: 23px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.65; }
.screen-reader-text,.sr-only { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.skip-link { position: absolute; left: 24px; top: -120px; z-index: 200; background: var(--lime); color: var(--ink); padding: 12px 20px; }
.skip-link:focus { top: 14px; }
.header-shell { background: var(--ink); color: var(--paper); }
.site-header { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; z-index: 10; border-bottom: 1px solid #ffffff2e; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font: 700 26px/.85 var(--display); letter-spacing: -.055em; flex-shrink: 0; }
.brand-spark { color: var(--coral); font: 60px/1 var(--sans); }
.brand-period { color: var(--coral); }
.header-note { margin-right: auto; margin-left: 56px; color: #c3cbd8; font-size: 11px; line-height: 1.5; }
.site-header nav ul,.site-footer nav ul { display: flex; align-items: center; gap: 32px; padding: 0; margin: 0; list-style: none; }
.site-header nav a { display: inline-block; padding: 14px 0; text-decoration: none; font-size: 13px; }
.site-header nav a:hover,.site-header nav .current-menu-item>a { color: var(--coral); }
.site-header nav li:last-child a { border: 1px solid #8190a6; border-radius: 40px; padding: 11px 20px; }
.nav-toggle { display: none; border: 1px solid #8190a6; border-radius: 24px; background: transparent; padding: 10px 15px; font-size: 13px; cursor: pointer; }
.home-hero { position: relative; isolation: isolate; min-height: 710px; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 29%; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--ink) 0%,#111c36a6 20%,transparent 55%); }
.hero-art figcaption { position: absolute; z-index: 1; right: 56px; bottom: 32px; font: 11px/1.6 var(--mono); color: #fff; text-shadow: 0 1px 4px #000; }
.hero-art figcaption span { display: block; font-size: 9px; opacity: .8; }
.hero-copy { position: relative; padding-top: 75px; padding-bottom: 65px; }
.hero-copy .eyebrow { color: var(--lime); margin-bottom: 33px; }
.hero-copy h1 { font-size: clamp(94px, 11.7vw, 174px); line-height: .88; letter-spacing: -.035em; font-weight: 800; }
.hero-copy h1 br { display: none; }
.hero-copy h1 em { display: block; max-width: 440px; margin-top: 25px; font-size: clamp(30px, 3.5vw, 49px); letter-spacing: -.04em; line-height: 1.05; font-weight: 500; color: var(--coral); }
.hero-copy>p:not(.eyebrow):not(.hero-footnote) { max-width: 366px; margin-top: 30px; font-size: 16px; line-height: 1.75; color: #e2e5ed; }
.hero-copy .hero-footnote { margin-top: 29px; color: #b5c0d2; font: 10px/1.6 var(--mono); }
.hero-side-note { position: absolute; right: 18px; top: 52px; writing-mode: vertical-rl; font: 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .15em; color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.wp-block-button__link,.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 50px; padding: 14px 24px; border: 0; border-radius: 30px; background: var(--ink); color: var(--paper); text-decoration: none; font: 600 13px/1.4 var(--sans); cursor: pointer; }
.hero-copy .wp-block-button__link { border-radius: 30px; background: var(--paper); color: var(--ink); font-size: 13px; }
.hero-copy .wp-block-button__link:hover { background: var(--lime); }
.editorial-strip { background: var(--lime); color: var(--ink); }
.editorial-strip>.wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 21px; font: 600 16px/1.4 var(--display); letter-spacing: -.015em; }
.editorial-strip span:not(:first-child)::before { content: '✳'; margin-right: 24px; }
.stories-section,.more-stories { padding-block: 94px; }
.section-heading { display: grid; grid-template-columns: 1fr 315px; align-items: end; gap: 60px; margin-bottom: 47px; }
.section-heading .eyebrow { color: var(--blue); margin-bottom: 20px; }
.section-heading>p { color: var(--muted); font-size: 15px; padding-bottom: 4px; }
.story-grid { display: grid; gap: 30px; }
.story-card { display: grid; grid-template-columns: 1.12fr 1fr; min-width: 0; background: #e7eaf0; }
.story-image { display: block; min-width: 0; overflow: hidden; text-decoration: none; background: var(--ink); }
.story-image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform .45s ease; }
.story-image:hover img { transform: scale(1.035); }
.story-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; }
.story-card:nth-child(even) { grid-template-columns: 1fr 1.12fr; }
.story-card:nth-child(even) .story-image { order: 2; }
.tone-coral.story-card { background: #f3ded8; }
.tone-rain.story-card { background: var(--ice); }
.story-meta { display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; gap: 8px 16px; font-size: 10px; margin-bottom: 35px; }
.story-meta span:last-child { white-space: nowrap; }
.story-card h3 { font-size: clamp(35px, 3.8vw, 55px); max-width: 460px; margin-bottom: 21px; }
.story-card h3 a { display: block; text-decoration: none; }
.story-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.story-card-copy>p { font-size: 15px; line-height: 1.7; color: #3b4b60; margin-bottom: 26px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; border-bottom: 1px solid currentColor; padding-bottom: 7px; text-decoration: none; font: 600 13px/1.5 var(--sans); }
.text-link:hover { color: var(--blue); }
.all-stories { margin-top: 31px; }
.home-note { padding-block: 90px; background: var(--coral); }
.note-layout { display: grid; grid-template-columns: 1fr 1.04fr; gap: 90px; align-items: center; }
.note-intro h2 { font-size: clamp(40px, 4.4vw, 62px); }
.note-intro>p:not(.eyebrow) { margin-top: 28px; font-size: 15px; }
.observation-card { border-left: 1px solid #111c3655; padding-left: 52px; }
.note-label { display: block; margin-bottom: 36px; font-size: 10px; }
#observation-text { font: 500 37px/1.18 var(--display); letter-spacing: -.04em; min-height: 200px; }
.observation-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; }
#next-observation { background: var(--ink); color: #fff; border: 0; border-radius: 30px; padding: 13px 20px; font-size: 12px; cursor: pointer; }
#next-observation:hover { background: #253e71; }
.about-band { padding-block: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 90px; align-items: end; }
.about-band>.eyebrow { grid-column: 1/-1; color: var(--blue); margin-bottom: 0; }
.about-band h2 { font-size: clamp(42px, 4.8vw, 65px); }
.about-band>div>p { max-width: 450px; font-size: 17px; color: var(--muted); margin-bottom: 26px; }
.footer-shell { background: var(--ink); color: var(--paper); }
.site-footer { padding-block: 64px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.footer-brand { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; color: var(--coral); font: 700 clamp(52px,10vw,145px)/1 var(--display); letter-spacing: -.035em; text-decoration: none; padding-bottom: 30px; border-bottom: 1px solid #ffffff35; }
.footer-brand span { color: var(--lime); font-size: .8em; }
.site-footer>p { color: #bcc6d8; font-size: 13px; }
.site-footer nav { justify-self: end; font-size: 13px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--coral); }
.footer-colophon { grid-column: 1/-1; color: #a8b7ce; font: 10px/1.6 var(--mono); }
.page-intro { padding-top: 80px; padding-bottom: 48px; }
.page-intro .eyebrow { color: var(--blue); }
.page-intro h1 { max-width: 1100px; }
.page-intro .lead { max-width: 680px; margin-top: 27px; }
.page-intro+.stories-section { padding-top: 10px; }
.page-body { margin-bottom: 100px; }
.page-body.wrap { max-width: 760px; margin-left: max(56px,calc((100vw - 1320px)/2)); }
.prose { min-width: 0; font: 20px/1.85 var(--serif); }
.prose>*+* { margin-top: 28px; }
.prose>p:first-child { font: 500 25px/1.55 var(--display); letter-spacing: -.02em; }
.prose h2 { margin-top: 58px; font-size: 34px; line-height: 1.13; letter-spacing: -.035em; }
.prose h3 { margin-top: 35px; font-size: 27px; }
.prose a { color: #1745ac; }
.prose ul,.prose ol { padding-left: 26px; }
.prose li+li { margin-top: 13px; }
.prose blockquote { margin-inline: 0; border-left: 4px solid var(--blue); padding-left: 25px; }
.prose .sources,.prose .source-note { font: 13px/1.8 var(--sans); color: var(--muted); }
.prose .sources li { overflow-wrap: anywhere; }
.prose .closing-thought { padding: 30px; background: var(--ice); font: 500 28px/1.3 var(--display); letter-spacing: -.03em; border-top: 4px solid var(--blue); }
.source-ref { font: 12px var(--mono); vertical-align: super; white-space: nowrap; }
.story-opening { display: grid; grid-template-columns: 1.06fr 1fr; }
.story-opening.tone-coral { background: var(--coral); }
.story-opening.tone-rain { background: var(--ice); }
.story-header { padding: 44px 56px 55px max(56px,calc((100vw - 1320px)/2)); }
.back-link { display: inline-block; font: 12px/1.5 var(--sans); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; margin-bottom: 54px; }
.story-header .eyebrow { max-width: 380px; font-size: 10px; margin-bottom: 24px; }
.story-header h1 { font-size: clamp(52px,5.9vw,85px); line-height: .99; max-width: 660px; }
.story-deck { margin-top: 28px; max-width: 520px; font-size: 16px; line-height: 1.75; }
.story-byline { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 31px; font-size: 9px; }
.story-cover { position: relative; min-width: 0; overflow: hidden; background: var(--ink); }
.story-cover img { width: 100%; height: 100%; object-fit: cover; }
.story-cover figcaption { position: absolute; inset: auto 0 0; padding: 50px 25px 22px; font: 10px/1.6 var(--mono); color: #fff; background: linear-gradient(transparent,#0009); }
.story-cover figcaption:empty { display: none; }
.article-layout { display: grid; grid-template-columns: minmax(0,710px) minmax(210px,285px); justify-content: space-between; gap: 75px; align-items: start; padding-block: 80px 95px; }
.story-aside { position: sticky; top: 32px; padding: 28px; background: var(--ink); color: #d3dbe7; font-size: 13px; }
.aside-symbol { display: block; color: var(--coral); font: 48px/1 var(--display); margin-bottom: 26px; }
.story-aside .eyebrow { font-size: 9px; color: var(--lime); margin-bottom: 20px; }
.story-aside h2 { font-size: 31px; color: #fff; margin-bottom: 21px; }
.story-aside p+p { margin-top: 20px; }
.story-aside hr { margin-block: 25px; border: 0; border-top: 1px solid #ffffff35; }
.story-aside .text-link { margin-top: 25px; color: #fff; font-size: 12px; }
.story-aside .text-link:hover { color: var(--coral); }
.more-stories { border-top: 1px solid var(--line); padding-top: 65px; }
.not-found { padding-block: 90px 120px; }
.not-found p { margin-top: 25px; max-width: 600px; font-size: 18px; }
.not-found .text-link { margin-top: 25px; }
.pagination,.nav-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 45px; }
.search-form { display: flex; gap: 12px; max-width: 600px; margin-top: 30px; }
.search-field { min-width: 0; width: 100%; padding: 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); }
.search-submit { background: var(--ink); color: var(--paper); padding: 12px 20px; border: 0; cursor: pointer; }
@media(min-width:1600px) { .home-hero { min-height: 800px; } .hero-copy { padding-top: 100px; } }
@media(max-width:1100px) {
  .wrap { width: calc(100% - 72px); }
  .header-note { margin-left: 25px; }
  .home-hero { min-height: 680px; }
  .hero-copy h1 { font-size: 12vw; }
  .hero-art { left: 25%; }
  .story-card-copy { padding: 34px; }
  .story-image img { min-height: 400px; }
  .story-meta { margin-bottom: 24px; }
  .section-heading { gap: 35px; }
  .note-layout,.about-band { gap: 40px; }
  .observation-card { padding-left: 35px; }
  #observation-text { font-size: 32px; }
  .story-header { padding: 36px 36px 45px; }
  .story-header h1 { font-size: 6vw; }
  .story-deck { font-size: 15px; }
  .article-layout { gap: 42px; grid-template-columns: minmax(0,1fr) 240px; }
  .story-aside { padding: 24px; }
  .page-body.wrap { margin-left: 36px; }
}
@media(max-width:780px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 91px; padding-block: 20px; gap: 20px; flex-wrap: wrap; }
  .brand { font-size: 23px; }
  .brand-spark { font-size: 47px; }
  .header-note { display: none; }
  .site-header nav { width: 100%; }
  .site-header nav ul { gap: 25px; flex-wrap: wrap; }
  .site-header nav li:last-child a { border: 0; padding: 11px 0; }
  .site-header.nav-ready .nav-toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 9px; }
  .site-header.nav-ready #site-nav:not(.is-open) { display: none; }
  .home-hero { min-height: 0; padding-bottom: 310px; }
  .hero-copy { padding-top: 50px; padding-bottom: 25px; }
  .hero-copy h1 { font-size: clamp(68px,13.5vw,102px); }
  .hero-copy h1 em { font-size: 34px; max-width: 350px; margin-top: 23px; }
  .hero-copy>p:not(.eyebrow):not(.hero-footnote) { max-width: 430px; font-size: 16px; margin-top: 25px; }
  .hero-copy .eyebrow { margin-bottom: 27px; }
  .hero-art { inset: auto 0 0; height: 390px; }
  .hero-art img { object-position: 70% 59%; }
  .hero-art::after { background: linear-gradient(180deg,var(--ink),#111c3600 42%); }
  .hero-art figcaption { right: 20px; bottom: 20px; font-size: 9px; }
  .hero-side-note { display: none; }
  .editorial-strip>.wrap { font-size: 12px; gap: 16px; padding-block: 17px; }
  .editorial-strip span { flex: 1; }
  .editorial-strip span:not(:first-child)::before { display: none; }
  .stories-section,.more-stories { padding-block: 60px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading>p { max-width: 390px; margin-top: 24px; }
  .story-card,.story-card:nth-child(even) { grid-template-columns: 1fr; }
  .story-card:nth-child(even) .story-image { order: 0; }
  .story-image img { min-height: 0; height: auto; aspect-ratio: 1.5; }
  .story-card-copy { padding: 31px; }
  .story-meta { margin-bottom: 22px; }
  .story-card h3 { font-size: 43px; }
  .home-note { padding-block: 60px; }
  .note-layout { grid-template-columns: 1fr; gap: 35px; }
  .observation-card { border-left: 0; border-top: 1px solid #111c3655; padding: 30px 0 0; }
  .note-label { margin-bottom: 25px; }
  #observation-text { font-size: 34px; min-height: 150px; }
  .about-band { padding-block: 65px; grid-template-columns: 1fr; gap: 27px; }
  .about-band h2 { font-size: 49px; }
  .about-band>div>p { font-size: 16px; }
  .site-footer { padding-top: 45px; gap: 30px; }
  .footer-brand { font-size: 10.7vw; padding-bottom: 25px; }
  .page-intro { padding-top: 50px; padding-bottom: 35px; }
  .page-intro h1 { font-size: clamp(48px,8vw,72px); }
  .page-intro .lead { font-size: 18px; }
  .page-body.wrap { margin-left: 20px; }
  .story-opening { grid-template-columns: 1fr; }
  .story-header { padding: 30px 20px 40px; }
  .back-link { margin-bottom: 35px; }
  .story-header h1 { font-size: clamp(52px,10vw,76px); max-width: 650px; }
  .story-header .eyebrow { max-width: 450px; }
  .story-deck { font-size: 17px; }
  .story-cover img { height: auto; aspect-ratio: 1.5; }
  .article-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 45px 60px; }
  .prose { font-size: 19px; }
  .prose>p:first-child { font-size: 23px; }
  .prose h2 { font-size: 32px; margin-top: 45px; }
  .prose .closing-thought { font-size: 25px; padding: 25px; }
  .story-aside { position: static; max-width: 100%; padding: 30px; }
  .story-aside h2 { font-size: 32px; }
}
@media(max-width:390px) {
  .brand { font-size: 21px; gap: 10px; }
  .brand-spark { font-size: 39px; }
  .nav-toggle { padding-inline: 12px; }
  .hero-copy h1 { font-size: 20vw; }
  .hero-copy h1 em { font-size: 30px; }
  .hero-copy>p:not(.eyebrow):not(.hero-footnote) { font-size: 15px; }
  .story-card-copy { padding: 25px; }
  .story-card h3 { font-size: 38px; }
  .story-meta { font-size: 9px; }
  #observation-text { font-size: 30px; min-height: 175px; }
  .observation-controls { gap: 12px; }
  #next-observation { padding-inline: 16px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-self: start; }
  .story-header h1 { font-size: 49px; }
  .story-byline { font-size: 8px; }
  .search-form { flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .story-image:hover img { transform: none; }
}
