Files
oc-guy/css/site.css
T

938 lines
24 KiB
CSS

/* ============================================================
The OC Guy — warm editorial rebuild
Style authority: /root/workspace/shared/manifesto/STYLEGUIDE.md
Palette: oat cream ground, espresso ink, honey oak and sand,
restrained navy + olive accents. Soft rounded surfaces,
chunky rounded display type (Fraunces), generous negative space.
No stark white, no pure black, no cool blue cast.
============================================================ */
:root {
/* palette — from STYLEGUIDE.md §2 */
--oat: #f2e9d6;
--sand: #d9c7a5;
--oak: #ac8050;
--espresso: #3b2619;
--navy: #29444b;
--olive: #747552;
--terracotta: #b76d48;
--paper: var(--oat);
--ink: var(--espresso);
--muted: #6f5641;
--rule: rgba(59, 38, 25, 0.16);
--rule-strong: rgba(59, 38, 25, 0.38);
--tint: rgba(217, 199, 165, 0.52);
--display: "Fraunces", "Iowan Old Style", Georgia, serif;
--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
--pad: clamp(18px, 3.4vw, 44px);
--max: 1180px;
--gap: clamp(24px, 3vw, 44px);
--r-img: 14px;
--r-box: 20px;
--r-btn: 999px;
--step-xs: 11px;
--step-sm: 13px;
--step-body: 16px;
--step-lead: clamp(17px, 1.1vw, 19px);
--step-h3: clamp(20px, 1.6vw, 24px);
--step-h2: clamp(30px, 3.4vw, 46px);
--step-display: clamp(40px, 6.4vw, 92px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--sans);
font-size: var(--step-body);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
/* a very soft warm wash, so the page is never flat cream */
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
background:
radial-gradient(60% 42% at 78% 0%, rgba(172, 128, 80, 0.14), transparent 70%),
radial-gradient(46% 36% at 4% 18%, rgba(217, 199, 165, 0.55), transparent 72%);
}
body > * { position: relative; z-index: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--espresso); color: var(--oat); }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
position: fixed; top: 8px; left: 8px; z-index: 60;
padding: 10px 18px; background: var(--espresso); color: var(--oat);
border-radius: var(--r-btn);
font-size: var(--step-sm); text-decoration: none;
transform: translateY(-160%); transition: transform 220ms ease;
}
.skip:focus { transform: translateY(0); }
/* ---------- masthead ---------- */
.masthead {
max-width: var(--max);
margin: 0 auto;
padding: clamp(22px, 3vw, 36px) var(--pad) 18px;
display: grid;
grid-template-columns: 1fr auto;
align-items: end;
gap: 14px;
border-bottom: 1px solid var(--rule);
}
.wordmark {
font-family: var(--display);
font-weight: 600;
font-size: clamp(38px, 5.8vw, 72px);
font-variation-settings: "SOFT" 80, "WONK" 1;
letter-spacing: -0.035em;
line-height: 0.88;
text-transform: uppercase;
text-decoration: none;
color: var(--espresso);
}
.nav {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: clamp(12px, 1.8vw, 26px);
font-size: var(--step-xs);
font-weight: 500;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--muted);
}
.nav a { text-decoration: none; padding: 6px 0; color: var(--espresso); }
.nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav-cta {
grid-column: 2;
justify-self: end;
margin-top: 10px;
padding: 10px 20px;
background: var(--espresso);
color: var(--oat);
border: 1px solid var(--espresso);
border-radius: var(--r-btn);
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
text-decoration: none;
transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--oak); border-color: var(--oak); color: var(--espresso); transform: translateY(-1px); }
/* ---------- lead ---------- */
.lead {
max-width: var(--max);
margin: 0 auto;
padding: var(--gap) var(--pad) clamp(36px, 5vw, 64px);
display: grid;
grid-template-columns: 3fr 7fr;
grid-template-areas:
"side media"
"side caption";
column-gap: var(--gap);
row-gap: 24px;
}
.lead-side { grid-area: side; display: flex; flex-direction: column; gap: clamp(22px, 3vw, 36px); }
.box {
border: 1px solid var(--rule-strong);
border-radius: var(--r-box);
padding: 24px 22px 22px;
background: rgba(255, 250, 240, 0.42);
}
.box-kicker {
margin: 0 0 12px;
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--oak);
}
.box-lede {
margin: 0 0 20px;
font-family: var(--display);
font-size: var(--step-lead);
line-height: 1.45;
color: var(--espresso);
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 0 24px;
background: var(--espresso);
color: var(--oat);
border: 1px solid var(--espresso);
border-radius: var(--r-btn);
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
text-decoration: none;
cursor: pointer;
transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.btn:hover, .btn:focus-visible { background: transparent; color: var(--espresso); transform: translateY(-1px); }
.side-list {
margin: 0;
padding: 0;
list-style: none;
border-top: 1px solid var(--rule);
font-size: var(--step-sm);
line-height: 1.55;
}
.side-list li { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.side-kicker {
display: block;
font-size: var(--step-xs);
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted);
margin-bottom: 3px;
}
.side-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--oak); }
.lead-media { grid-area: media; }
.lead-media img {
width: 100%;
aspect-ratio: 16 / 11;
object-fit: cover;
object-position: 50% 42%;
border-radius: var(--r-img);
/* warm grade: pulls the cool studio grey of stock photography back into the palette */
filter: sepia(0.34) saturate(0.78) contrast(1.04) brightness(1.02) hue-rotate(-6deg);
}
.lead-caption { grid-area: caption; max-width: 38em; }
.meta {
display: flex;
flex-wrap: wrap;
align-items: baseline;
gap: 14px;
margin: 0 0 14px;
font-size: var(--step-xs);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--muted);
}
.meta span:first-child {
color: var(--espresso);
font-weight: 600;
background: var(--sand);
border-radius: var(--r-btn);
padding: 3px 10px;
}
h1 {
margin: 0 0 14px;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 70, "WONK" 1;
font-size: clamp(30px, 3.6vw, 50px);
line-height: 1.06;
letter-spacing: -0.025em;
text-wrap: balance;
}
.standfirst {
margin: 0;
font-size: var(--step-lead);
line-height: 1.6;
color: var(--muted);
max-width: 34em;
}
/* ---------- section frame ---------- */
.section {
max-width: var(--max);
margin: 0 auto;
padding: clamp(34px, 4.5vw, 58px) var(--pad) 0;
}
.section-head {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: baseline;
column-gap: 16px;
padding-bottom: 14px;
border-bottom: 1px solid var(--rule-strong);
margin-bottom: clamp(22px, 3vw, 36px);
}
.initial {
font-family: var(--display);
font-size: clamp(50px, 6.6vw, 84px);
line-height: 0.72;
font-weight: 600;
font-variation-settings: "SOFT" 90;
color: var(--oak);
}
.section-title {
margin: 0;
font-family: var(--sans);
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.18em;
text-transform: uppercase;
color: var(--muted);
}
.section-title em {
font-family: var(--display);
font-style: normal;
font-size: var(--step-h3);
font-weight: 600;
font-variation-settings: "SOFT" 70;
letter-spacing: -0.01em;
text-transform: none;
margin-left: 8px;
color: var(--espresso);
}
.more {
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
text-decoration: none;
border-bottom: 1px solid var(--oak);
padding-bottom: 2px;
justify-self: end;
color: var(--espresso);
}
.more:hover, .more:focus-visible { color: var(--navy); border-color: var(--navy); }
/* ---------- cards ---------- */
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: clamp(14px, 1.6vw, 22px);
}
.card {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px 16px 20px;
text-decoration: none;
border: 1px solid var(--rule);
border-radius: var(--r-box);
background: rgba(255, 250, 240, 0.38);
transition: background-color 220ms ease, transform 220ms ease, border-color 220ms ease;
}
.card:hover, .card:focus-visible {
background: var(--tint);
border-color: var(--rule-strong);
transform: translateY(-3px);
}
.card-img {
width: 100%;
aspect-ratio: 4 / 3;
object-fit: cover;
object-position: 50% 45%;
border-radius: var(--r-img);
background: var(--sand);
filter: sepia(0.3) saturate(0.82) contrast(1.04) brightness(1.02) hue-rotate(-6deg);
}
.card-cat {
display: inline-block;
align-self: flex-start;
padding: 4px 12px;
border-radius: var(--r-btn);
background: var(--navy);
color: var(--oat);
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
}
.card h3 {
margin: 0;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 60;
font-size: var(--step-h3);
line-height: 1.2;
letter-spacing: -0.01em;
}
.card-desc {
margin: 0;
font-size: var(--step-sm);
line-height: 1.55;
color: var(--muted);
}
.card-meta {
margin-top: auto;
padding-top: 4px;
font-size: var(--step-xs);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--oak);
}
.card:hover h3, .card:focus-visible h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
/* ---------- featured module (espresso spread) ---------- */
.feature {
background: var(--espresso);
color: #f6ecda;
border: 0;
border-radius: var(--r-box);
display: grid;
grid-template-columns: 5fr 7fr;
align-items: stretch;
overflow: hidden;
}
.feature-photo { margin: 0; }
.feature-photo img {
width: 100%;
height: 100%;
min-height: 420px;
object-fit: cover;
object-position: 50% 45%;
filter: sepia(0.32) saturate(0.8) contrast(1.05) brightness(0.98) hue-rotate(-6deg);
}
.feature-body { padding: clamp(24px, 3vw, 40px); }
.plate-kicker {
margin: 0 0 18px;
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: rgba(242, 233, 214, 0.62);
}
.feature-name {
margin: 0 0 14px;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 70;
font-size: clamp(26px, 2.8vw, 38px);
line-height: 1.12;
letter-spacing: -0.02em;
color: #fbf5e8;
}
.feature-body > p { margin: 0 0 22px; max-width: 40em; color: rgba(246, 236, 218, 0.84); }
.benefits {
margin: 0 0 26px;
padding: 0;
list-style: none;
border-top: 1px solid rgba(242, 233, 214, 0.24);
}
.benefits li {
padding: 13px 0;
border-bottom: 1px solid rgba(242, 233, 214, 0.16);
font-size: var(--step-sm);
line-height: 1.55;
color: rgba(246, 236, 218, 0.7);
}
.benefits strong {
display: block;
margin-bottom: 2px;
font-family: var(--display);
font-size: var(--step-body);
font-weight: 600;
font-variation-settings: "SOFT" 60;
color: #fbf5e8;
}
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.feature-note {
font-size: var(--step-sm);
color: rgba(246, 236, 218, 0.64);
}
.feature .btn { background: var(--sand); border-color: var(--sand); color: var(--espresso); }
.feature .btn:hover, .feature .btn:focus-visible { background: transparent; color: var(--sand); }
/* legacy plate block, kept for reuse */
.feature-plate { padding: clamp(20px, 2.4vw, 30px); border-right: 1px solid rgba(242, 233, 214, 0.24); background: rgba(242, 233, 214, 0.06); }
.plate-name { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4vw, 56px); line-height: 0.95; letter-spacing: -0.02em; }
.plate-facts { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(242, 233, 214, 0.24); font-size: var(--step-sm); }
.plate-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(242, 233, 214, 0.16); }
.plate-facts span { font-size: var(--step-xs); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 233, 214, 0.58); }
.plate-note { margin: 18px 0 0; font-size: var(--step-sm); line-height: 1.45; color: rgba(242, 233, 214, 0.62); }
/* ---------- community news ---------- */
.news { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.news li {
display: grid;
grid-template-columns: 120px 1fr 190px;
gap: 20px;
padding: 20px 0;
border-bottom: 1px solid var(--rule);
}
.news-date {
font-size: var(--step-xs);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--oak);
padding-top: 6px;
}
.news-body h3 {
margin: 0 0 8px;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 60;
font-size: var(--step-h3);
line-height: 1.2;
letter-spacing: -0.01em;
}
.news-body h3 a { text-decoration: none; }
.news-body h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.news-body p { margin: 0; font-size: var(--step-sm); line-height: 1.55; color: var(--muted); max-width: 52em; }
.news-source {
font-size: var(--step-xs);
letter-spacing: 0.1em;
color: var(--olive);
text-align: right;
padding-top: 8px;
overflow-wrap: anywhere;
}
/* ---------- ask ---------- */
.ask {
max-width: var(--max);
margin: clamp(40px, 6vw, 76px) auto 0;
padding: 0 var(--pad);
}
.ask-inner {
background: var(--sand);
border-radius: var(--r-box);
padding: clamp(26px, 3vw, 42px);
display: grid;
grid-template-columns: 3fr 7fr;
gap: var(--gap);
align-items: center;
}
.ask h2 {
margin: 0;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 80, "WONK" 1;
font-size: var(--step-h2);
line-height: 1.04;
letter-spacing: -0.025em;
}
.ask-lede { margin: 8px 0 0; font-size: var(--step-sm); color: #5d4632; }
.ask-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ask-form label {
flex: 0 0 100%;
font-size: var(--step-xs);
letter-spacing: 0.16em;
text-transform: uppercase;
color: #5d4632;
}
.ask-form input {
flex: 1 1 240px;
min-height: 48px;
padding: 0 18px;
background: rgba(255, 250, 240, 0.72);
border: 1px solid rgba(59, 38, 25, 0.24);
border-radius: var(--r-btn);
font-size: var(--step-body);
}
.ask-form input::placeholder { color: rgba(59, 38, 25, 0.5); }
.ask-form input:focus-visible { border-color: var(--espresso); outline-color: var(--espresso); }
/* ---------- footer ---------- */
.foot {
margin-top: clamp(48px, 7vw, 92px);
background: var(--espresso);
color: var(--oat);
border-radius: 26px 26px 0 0;
padding: clamp(32px, 4vw, 54px) var(--pad) 26px;
}
.foot-name {
max-width: var(--max);
margin: 0 auto 26px;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 90, "WONK" 1;
font-size: clamp(44px, 9vw, 116px);
line-height: 0.84;
letter-spacing: -0.04em;
text-transform: uppercase;
color: #fbf5e8;
}
.foot-cols {
max-width: var(--max);
margin: 0 auto;
display: grid;
grid-template-columns: 1fr auto;
gap: 24px;
padding-top: 22px;
border-top: 1px solid rgba(242, 233, 214, 0.24);
}
.foot-note { margin: 0; max-width: 34em; font-size: var(--step-sm); line-height: 1.6; color: rgba(246, 236, 218, 0.78); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: var(--step-xs); letter-spacing: 0.14em; text-transform: uppercase; }
.foot-links a { text-decoration: none; border-bottom: 1px solid rgba(242, 233, 214, 0.4); padding-bottom: 2px; }
.foot-links a:hover { border-color: var(--sand); color: var(--sand); }
.foot-credits {
max-width: var(--max);
margin: 24px auto 0;
font-size: var(--step-xs);
line-height: 1.65;
color: rgba(242, 233, 214, 0.58);
}
.foot-credits a { color: rgba(242, 233, 214, 0.8); }
/* ---------- motion ---------- */
html.js [data-rv] {
opacity: 0;
transform: translateY(14px);
transition: opacity 520ms ease, transform 520ms ease;
}
html.js [data-rv].rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
html.js [data-rv] { opacity: 1; transform: none; transition: none; }
.card:hover, .card:focus-visible, .btn:hover, .nav-cta:hover { transform: none; }
}
/* ---------- tablet ---------- */
@media (max-width: 900px) {
.lead {
grid-template-columns: 1fr;
grid-template-areas: "media" "caption" "side";
}
.lead-side { flex-direction: row; flex-wrap: wrap; }
.box { flex: 1 1 240px; }
.side-list { flex: 1 1 260px; }
.feature { grid-template-columns: 1fr; }
.feature-photo img { min-height: 0; height: clamp(200px, 38vw, 300px); }
.news li { grid-template-columns: 96px 1fr; }
.news-source { grid-column: 2; text-align: left; padding-top: 0; }
.ask-inner { grid-template-columns: 1fr; align-items: start; }
}
/* ---------- phone ---------- */
@media (max-width: 680px) {
.masthead { grid-template-columns: 1fr; align-items: start; gap: 12px; }
.nav { gap: 14px; }
.nav-cta { grid-column: 1; justify-self: start; margin-top: 0; }
.lead-side { flex-direction: column; }
.cards { grid-template-columns: 1fr; }
.card { padding: 14px 14px 18px; }
.card-img { aspect-ratio: 16 / 9; }
.section-head { grid-template-columns: auto 1fr; row-gap: 10px; }
.more { grid-column: 1 / -1; justify-self: start; }
.news li { grid-template-columns: 1fr; gap: 8px; }
.news-date, .news-source { padding-top: 0; }
.ask-form input { flex: 1 1 100%; }
.ask-form .btn { width: 100%; }
.foot-cols { grid-template-columns: 1fr; }
.foot { border-radius: 20px 20px 0 0; }
}
/* ---------- touch targets on phones ---------- */
@media (max-width: 680px) {
.nav a,
.more,
.foot-links a,
.side-list a,
.news-body h3 a {
display: inline-flex;
align-items: center;
min-height: 44px;
}
.nav-cta { min-height: 44px; }
.foot-links { gap: 10px 18px; }
}
/* ---------- OCA module status table ---------- */
.oca-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
font-size: var(--step-sm);
}
.oca-table thead th {
padding: 0 0 12px;
text-align: left;
font-size: var(--step-xs);
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted);
border-bottom: 1px solid var(--rule-strong);
}
.oca-table thead th:nth-child(1) { width: 54%; }
.oca-table thead th:nth-child(2) { width: 26%; }
.oca-table thead th:nth-child(3),
.oca-table thead th:nth-child(4) { width: 74px; text-align: center; }
.oca-table tbody td { padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.oca-name a {
font-family: var(--display);
font-size: var(--step-h3);
font-weight: 600;
font-variation-settings: "SOFT" 60;
line-height: 1.2;
letter-spacing: -0.01em;
text-decoration: none;
}
.oca-name a:hover, .oca-name a:focus-visible { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.oca-area {
font-size: var(--step-xs);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--olive);
}
.oca-status { text-align: center; }
.mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border: 1px solid var(--rule-strong);
border-radius: var(--r-btn);
font-size: 12px;
line-height: 1;
color: var(--muted);
}
.mark.is-on { background: var(--olive); border-color: var(--olive); color: var(--oat); }
@media (max-width: 600px) {
.oca-table thead th:nth-child(2),
.oca-table .oca-area { display: none; }
.oca-name a { font-size: var(--step-body); }
.oca-table tbody td { padding: 12px 0; }
}
/* ---------- feed tooling (posts.json driven) ---------- */
.feed-tools {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin-bottom: 18px;
}
.feed-search {
flex: 1 1 300px;
min-height: 46px;
padding: 0 20px;
background: rgba(255, 250, 240, 0.6);
border: 1px solid var(--rule-strong);
border-radius: var(--r-btn);
font-size: var(--step-body);
color: var(--espresso);
}
.feed-search::placeholder { color: rgba(59, 38, 25, 0.5); }
.feed-search:focus-visible { border-color: var(--espresso); outline-color: var(--espresso); }
.feed-count {
font-size: var(--step-xs);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--muted);
white-space: nowrap;
}
.feed-empty {
margin: 0;
padding: 22px 20px;
border: 1px dashed var(--rule-strong);
border-radius: var(--r-box);
font-size: var(--step-sm);
color: var(--muted);
}
/* ---------- single post page ---------- */
.post { padding-bottom: clamp(40px, 6vw, 72px); }
.post-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
margin: 0 0 18px;
font-size: var(--step-xs);
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--muted);
}
.post-title {
max-width: 22em;
margin: 0 0 26px;
font-family: var(--display);
font-weight: 600;
font-variation-settings: "SOFT" 70, "WONK" 1;
font-size: clamp(32px, 4vw, 56px);
line-height: 1.05;
letter-spacing: -0.03em;
text-wrap: balance;
}
.post-image {
width: 100%;
border-radius: var(--r-img);
margin-bottom: 28px;
filter: sepia(0.18) saturate(0.9) contrast(1.03);
}
.post-body { max-width: 40em; font-size: var(--step-lead); line-height: 1.68; }
.post-body h2, .post-body h3 {
font-family: var(--display);
font-variation-settings: "SOFT" 60;
letter-spacing: -0.02em;
margin: 1.6em 0 0.5em;
}
.post-body p { margin: 0 0 1.1em; }
.post-body img { border-radius: var(--r-img); margin: 1.4em 0; }
.post-body a { text-decoration-color: var(--oak); text-underline-offset: 3px; }
.post-body code, .post-body pre {
background: rgba(59, 38, 25, 0.08);
border-radius: 8px;
padding: 0.1em 0.35em;
font-size: 0.9em;
}
.post-body pre { padding: 16px 18px; overflow-x: auto; }
.post-note {
max-width: 40em;
margin: 40px 0 0;
padding-top: 16px;
border-top: 1px solid var(--rule);
font-size: var(--step-sm);
color: var(--muted);
}
/* ---------- sponsor strip: one centred line under the masthead, one in the footer ---------- */
.sponsor { border-bottom: 1px solid var(--rule); }
.sponsor p {
max-width: var(--max);
margin: 0 auto;
padding: 10px var(--pad) 11px;
text-align: center;
font-size: var(--step-sm);
line-height: 1.35;
color: var(--muted);
}
.sponsor a {
color: var(--ink);
text-decoration-color: var(--oak);
text-underline-offset: 3px;
}
.sponsor a:hover { color: var(--navy); }
.sponsor-foot {
max-width: var(--max);
margin: 22px auto 0;
text-align: center;
font-size: var(--step-sm);
color: rgba(246, 236, 218, 0.72);
}
.sponsor-foot a { color: rgba(246, 236, 218, 0.92); text-decoration-color: var(--oak); text-underline-offset: 3px; }
.sponsor-foot a:hover { color: var(--sand); }
/* ---------- featured module ---------- */
.featured-card {
background: var(--tint);
border: 1px solid var(--rule);
border-radius: var(--r-box);
padding: clamp(20px, 3vw, 34px);
max-width: 46em;
}
.featured-kicker {
margin: 0 0 6px;
font-size: var(--step-xs);
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--oak);
font-weight: 600;
}
.featured-name {
margin: 0 0 10px;
font-family: var(--display);
font-weight: 600;
font-size: var(--step-h3);
letter-spacing: -0.01em;
}
.featured-name a { text-decoration: none; color: var(--ink); }
.featured-name a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.featured-note { margin: 0 0 14px; color: var(--muted); font-size: var(--step-body); max-width: 38em; }
.featured-branches { margin: 0; display: flex; gap: 8px; }
.branch {
font-size: var(--step-xs);
letter-spacing: 0.08em;
padding: 3px 9px;
border-radius: 999px;
border: 1px solid var(--rule);
color: var(--muted);
}
.branch.is-on { border-color: var(--olive); color: var(--olive); }