/* geoffcanyon.com — site styles. Spec: the approved design board. */
:root {
  --bg: #F0F0EE; --ink: #1B1B1A; --body: #55554F; --nav: #5A5A57; --muted: #6F6F6B;
  --rule: #DCDCD9; --dash: #B5B5B0; --code: #E4E4E1; --callout: #F8F8F6; --callout-b: #C4C4C0;
  --accent: #B5502F;
  --serif: 'Source Serif 4', Georgia, serif; --head: 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--serif); }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--bg); }
.wrap { width: 100%; max-width: 700px; margin: 0 auto; padding: 80px 28px 120px; }
@media (max-width: 560px) { .wrap { padding-top: 48px; padding-bottom: 80px; } }

.mono, .label, nav, .meta, .foot, figcaption { font-family: var(--mono); }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin: 44px 0 4px; }
.sep { color: var(--dash); }

/* masthead */
.mast { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; }
.mast .logo { font-family: var(--head); font-weight: 700; font-size: 27px; letter-spacing: -.01em; }
.mast nav { font-size: 12px; letter-spacing: .03em; text-transform: uppercase; color: var(--nav); display: flex; gap: 6px; flex-wrap: wrap; align-items: baseline; }
.mast nav a.on { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.mast nav a:hover, .more a:hover { color: var(--accent); }

/* intro */
.intro { display: flex; flex-wrap: wrap-reverse; gap: 24px 36px; align-items: flex-end; /* wrap-reverse flips the cross axis: flex-end is the top */ margin-top: 44px; }
.intro .text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.intro p { margin: 0; font-size: 19px; line-height: 1.65; }
.status { font-family: var(--mono); font-size: 13px !important; line-height: 1.7 !important; color: var(--accent); }
.status a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.shot { flex-shrink: 0; width: 260px; height: 260px; margin-top: 6px; border-radius: 2px; object-fit: cover; display: block; }
.shot.big { width: 240px; height: 240px; margin-top: 4px; }

/* post rows */
.row { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--rule); }
.row .thumb { width: 128px; height: 88px; flex-shrink: 0; object-fit: cover; border-radius: 2px; display: block; }
.row.lead { gap: 22px; padding: 24px 0 28px; }
.row.lead .thumb { width: 168px; height: 112px; }
.row .body { flex: 1; min-width: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.meta .d { color: var(--muted); }
.row h4 { margin: 7px 0 4px; font-family: var(--head); font-weight: 600; font-size: 20px; color: var(--ink); }
.row.lead h4 { font-size: 24px; line-height: 1.25; margin: 8px 0 6px; }
.row p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.row.lead p { font-size: 16px; }
.row:hover h4 { color: var(--accent); }
.ext::after { content: " ↗"; font-family: var(--mono); font-size: .7em; color: var(--muted); }
@media (max-width: 520px) {
  .row .thumb { width: 96px; height: 72px; } .row.lead .thumb { width: 112px; height: 84px; }
}

/* topics grid */
.topics { display: flex; flex-wrap: wrap; gap: 0 32px; }
.topics a { display: block; flex: 1 1 280px; padding: 20px 0 22px; border-top: 1px solid var(--rule); }
.topics .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.topics h3 { margin: 0; font-family: var(--head); font-weight: 600; font-size: 19px; }
.topics .go { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.topics p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.topics a:hover h3 { color: var(--accent); }

/* page headers */
.head { margin-top: 64px; display: flex; flex-direction: column; gap: 16px; }
.head .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-family: var(--head); font-weight: 700; font-size: 36px; line-height: 1.2; letter-spacing: -.015em; }
.head .desc { margin: 0; font-size: 19px; line-height: 1.65; max-width: 560px; }
.head .dek { margin: 0; font-size: 21px; line-height: 1.5; color: var(--body); }
.head .meta { font-size: 12px; }
@media (max-width: 520px) { h1 { font-size: 30px; } }

/* filter chips */
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.chips button { all: unset; cursor: pointer; color: var(--nav); }
.chips button:hover { color: var(--accent); }
.chips button.on { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.chips .rss { margin-left: auto; color: var(--muted); }
.list { margin-top: 20px; }
.yr { padding: 26px 0 4px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.yr + .row { border-top: 0; }
.group.pinned .row:first-child { border-top: 1px solid var(--rule); }
.empty { margin-top: 28px; color: var(--muted); font-style: italic; }
[hidden] { display: none !important; }

.others { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); }
.others .label { margin: 0 0 14px; }
.others div.l { display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--head); font-weight: 600; font-size: 18px; }
.others a:hover { color: var(--accent); }

/* article */
.prose { margin-top: 44px; display: flex; flex-direction: column; gap: 26px; font-size: 19px; line-height: 1.7; }
.prose > * { margin: 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose h2 { margin: 18px 0 -6px; font-family: var(--head); font-weight: 600; font-size: 28px; line-height: 1.25; letter-spacing: -.01em; }
.prose h3 { margin: 10px 0 -8px; font-family: var(--head); font-weight: 600; font-size: 22px; line-height: 1.3; }
.prose code { font-family: var(--mono); font-size: .82em; background: var(--code); padding: 2px 5px; border-radius: 2px; }
.prose pre { padding: 18px 20px; background: var(--code); border-radius: 3px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.65; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose ul, .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.prose hr { border: 0; border-top: 1px solid var(--rule); width: 100%; }
.pull { margin: 14px 0; display: flex; flex-direction: column; gap: 16px; }
.pull::before { content: ""; display: block; width: 44px; height: 2px; background: var(--accent); }
.pull p { margin: 0; font-family: var(--head); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.4; }
figure { margin: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
figure img { max-width: 100%; height: auto; display: block; border-radius: 2px; }
figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
figure.hero { margin: 44px 0 0; }
.play { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 20px 22px; background: var(--callout); border: 1px solid var(--callout-b); border-radius: 3px; text-decoration: none !important; color: var(--ink) !important; }
.play .k { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.play .n { display: block; font-family: var(--head); font-weight: 600; font-size: 21px; margin: 4px 0; }
.play .s { display: block; font-size: 15px; line-height: 1.5; color: var(--body); }
.play .o { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.signoff { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.6; color: var(--body); }
.signoff p { margin: 0; }
.signoff a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pn { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 0 32px; }
.pn a { flex: 1 1 280px; padding: 20px 0 22px; border-top: 1px solid var(--rule); }
.pn .r { text-align: right; }
.pn .k { font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.pn .t { margin-top: 7px; font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.3; }
.pn a:hover .t { color: var(--accent); }

/* about */
.about-sec .label { margin-top: 56px; }
.about-sec h2 { font-family: var(--mono); font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); margin: 44px 0 4px; }
.about-body { padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.7; }
.about-body p { margin: 0; }
.about-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.job { padding: 22px 0 24px; border-top: 1px solid var(--rule); }
.job h3 { margin: 0; font-family: var(--head); font-weight: 600; font-size: 20px; }
.job .role { margin-top: 3px; font-size: 16px; color: var(--body); }
.job p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.job p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.elsewhere { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.elsewhere b { font-family: var(--head); font-weight: 600; font-size: 18px; }
.elsewhere span { font-family: var(--mono); font-size: 12px; color: var(--accent); text-align: right; }
.elsewhere:hover b { color: var(--accent); }

/* footer */
.foot { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.foot a:hover { color: var(--accent); }

figure.video { max-width: 420px; margin: 10px auto; }
figure.video video { width: 100%; height: auto; display: block; border-radius: 6px; background: #0d1018; }
figure.video figcaption { text-align: center; }

/* Dialogue-only stories: each voice keeps its own column position */
.prose .dialogue { display: flex; flex-direction: column; gap: 14px; }
.prose .dialogue p { margin: 0; max-width: 64%; }
.prose .dialogue .v1 { margin-left: 18%; }
.prose .dialogue .v2 { margin-left: 36%; }
@media (max-width: 520px) {
  .prose .dialogue p { max-width: 80%; }
  .prose .dialogue .v1 { margin-left: 10%; }
  .prose .dialogue .v2 { margin-left: 20%; }
}
