/* bilboconsult.com — brand theme (bilbo-theme, 2026-06 revision): Lora + Source Sans 3, walnut/cream palette.
   Self-hosted fonts (fonts.css). No third-party requests. */
:root {
  --bc-walnut: #6B4423;
  --bc-walnut-light: #7c5230;
  --bc-latte: #C4A574;          /* fill only — never text */
  --bc-cream: #F5EFE6;
  --bc-espresso: #3D2817;
  --bc-pearl: #FDFBF7;
  --bc-sage: #A8B5A0;           /* fill only — never text */
  --bc-terracotta: #C67B5C;     /* decorative fills only */
  --bc-terracotta-deep: #B05E3C;/* CTA — white text passes 4.65:1 */
  --bc-terracotta-hover: #9a4f31;
  --bc-charcoal: #4A4A4A;
  --bc-taupe: #D4C4B0;
  --bc-on-dark: #E6D8C6;        /* body text on espresso (9.6:1) */
  --bc-on-dark-muted: #CBB89F;  /* captions on espresso (7.1:1) */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', system-ui, 'Segoe UI', sans-serif;
  --shadow: 0 2px 14px rgba(61, 40, 23, .08);
  --shadow-lg: 0 8px 30px rgba(61, 40, 23, .12);
  --maxw: 1160px;
  --narrow: 44rem;
  --pad: 28px;
  --radius: 12px;
  --fig-caption: var(--bc-charcoal); --fig-bg: var(--bc-cream); --callout-bg: var(--bc-cream); --callout-border: var(--bc-latte); --draft-bg: var(--bc-terracotta-deep);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; color: var(--bc-espresso); background: var(--bc-pearl); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--bc-walnut); line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 700; color: var(--bc-espresso); line-height: 1.1; }
h2 { font-size: clamp(1.65rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1rem; }
a { color: var(--bc-walnut); text-decoration: underline; text-decoration-color: rgba(107, 68, 35, .35); text-underline-offset: .15em; transition: color .2s; }
a:hover { color: var(--bc-terracotta-deep); text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--bc-terracotta-deep); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bc-espresso); color: var(--bc-pearl); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--pad)); }
.wrap-wide { max-width: calc(var(--maxw) + 120px); }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--bc-walnut); margin: 0 0 .8rem; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--bc-latte); flex: none; }
.cta .eyebrow, .spine .eyebrow { justify-content: center; }
.eyebrow a { text-decoration: none; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--bc-espresso); max-width: 34em; }
.muted { color: var(--bc-charcoal); font-size: 1rem; }
.meta { font-size: .95rem; color: var(--bc-charcoal); }
section { padding: 72px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p:last-child { margin-bottom: 0; color: var(--bc-charcoal); }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section-head.row > div { max-width: 62ch; }
.section-head.row .btn { flex: none; margin-bottom: 4px; }
@media (max-width: 600px) { .section-head.row { flex-direction: column; align-items: flex-start; } .tl-jump { flex-direction: column; gap: .3rem; text-align: center; } }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 14px 28px; border-radius: 8px; text-decoration: none; border: 2px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-primary, .btn-cta { background: var(--bc-terracotta-deep); border-color: var(--bc-terracotta-deep); color: var(--bc-pearl); }
.btn-primary:hover, .btn-cta:hover { background: var(--bc-terracotta-hover); border-color: var(--bc-terracotta-hover); color: var(--bc-pearl); }
.btn-walnut { background: var(--bc-walnut); border-color: var(--bc-walnut); color: var(--bc-pearl); }
.btn-ghost { background: transparent; border-color: var(--bc-latte); color: var(--bc-walnut); }
.btn-ghost:hover { background: var(--bc-cream); color: var(--bc-walnut); }
.btn-sm { padding: 9px 18px; font-size: .95rem; }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 251, 247, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--bc-taupe); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; color: var(--bc-espresso); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { color: var(--bc-walnut); }
.brand .mark { width: 40px; height: 41px; }
.menu ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.menu a { font-weight: 500; font-size: 1.0625rem; color: var(--bc-espresso); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--bc-terracotta-deep); }
.menu a[aria-current="page"] { border-bottom-color: var(--bc-terracotta-deep); }
.menu li.cta a { border-bottom: 0; padding: 9px 18px; color: var(--bc-pearl); }
.menu li.cta a:hover { color: var(--bc-pearl); background: var(--bc-espresso); border-color: var(--bc-espresso); }
.nav-toggle { display: none; background: none; border: 2px solid var(--bc-taupe); border-radius: 8px; padding: 8px 12px; font: 600 .9rem var(--font-body); color: var(--bc-espresso); align-items: center; gap: 8px; cursor: pointer; }
.nav-toggle .bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bc-pearl); border-bottom: 1px solid var(--bc-taupe); box-shadow: var(--shadow-lg); }
  .menu.is-open { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 16px; }
  .menu li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--bc-cream); font-size: 1.125rem; }
  .menu li a[aria-current="page"] { border-bottom-color: var(--bc-terracotta-deep); }
  .menu li.cta { padding-top: 12px; }
  .menu li.cta a { display: inline-block; text-align: center; }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bc-pearl) 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .75rem; }
.hero .sub { font-size: 1.05rem; color: var(--bc-charcoal); margin: 1.1rem 0 1.8rem; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.portrait { margin: 0; position: relative; max-width: 400px; justify-self: end; }
.portrait::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: 18px; background: var(--bc-cream); border: 1px solid var(--bc-taupe); z-index: 0; }
.portrait img { position: relative; z-index: 1; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.portrait figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; border-radius: 0 0 16px 16px; padding: 40px 18px 14px; color: var(--bc-pearl); font-size: .85rem; background: linear-gradient(180deg, transparent, rgba(61, 40, 23, .65)); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 300px; justify-self: start; margin-right: 28px; }
}

/* ---------- spine band ---------- */
.spine { background: var(--bc-espresso); color: var(--bc-pearl); text-align: center; padding: 56px 0; }
.spine .q { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; font-style: italic; max-width: 24ch; margin: 0 auto .7rem; color: var(--bc-pearl); line-height: 1.3; }
.spine .g { color: var(--bc-on-dark); max-width: 62ch; margin: 0 auto; font-size: 1.05rem; }

/* ---------- cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--bc-taupe); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--bc-sage); color: var(--bc-espresso); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: 1rem; color: var(--bc-charcoal); margin: 0; }
.card .mech { display: block; margin-top: 16px; font-size: .95rem; color: var(--bc-espresso); border-top: 1px solid var(--bc-taupe); padding-top: 12px; }
.card .mech span { font-weight: 600; color: var(--bc-terracotta-deep); }
.card-plain { background: var(--bc-pearl); }
.card-plain h3 { font-size: 1.2rem; }

/* ---------- triggers ---------- */
.triggers { background: var(--bc-cream); }
.trigs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .trigs { grid-template-columns: 1fr; } }
.trig { margin: 0; background: var(--bc-pearl); border-left: 4px solid var(--bc-terracotta-deep); border-radius: 0 10px 10px 0; padding: 18px 22px; }
.trig .tq { font-family: var(--font-heading); font-style: italic; font-weight: 500; color: var(--bc-espresso); font-size: 1.1rem; margin: 0 0 .4rem; line-height: 1.4; }
.trig .tg { font-size: .95rem; color: var(--bc-charcoal); margin: 0; }

/* ---------- timeline carousel ---------- */
.tl { position: relative; }
.tl-track { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 2rem; scroll-snap-type: x proximity; padding: 2.8rem var(--pad) 1.5rem; list-style: none; margin: 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--bc-walnut) var(--bc-cream); scroll-padding: 0 var(--pad); }
.tl-track:focus-visible { outline-offset: -3px; }
.tl-card { flex: 0 0 clamp(260px, 72vw, 340px); scroll-snap-align: center; position: relative; background: var(--bc-cream); border-radius: var(--radius); padding: 1.4rem 1.5rem 1.2rem; margin: 0; display: flex; flex-direction: column; }
.tl-card::before { content: ""; position: absolute; top: -2.15rem; left: 50%; transform: translateX(-50%); width: 13px; height: 13px; border-radius: 50%; background: var(--bc-walnut); z-index: 1; }
.tl-card::after { content: ""; position: absolute; top: calc(-2.15rem + 5.5px); left: 50%; width: calc(100% + 2rem); height: 2px; background: var(--bc-taupe); }
.tl-card:last-child::after { display: none; }
.tl-card.is-latest { border: 1px solid var(--bc-walnut); background: #fff; }
.tl-card.has-thumb { padding-top: 0; overflow: hidden; }
.tl-thumb { display: block; margin: 0 -1.5rem 1rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bc-taupe); }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-card.is-draft { outline: 2px dashed var(--bc-terracotta-deep); outline-offset: -2px; }
.draft-tag { display: inline-block; background: var(--bc-terracotta-deep); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border-radius: 4px; vertical-align: middle; }
.tl-card.is-latest::before { background: var(--bc-terracotta-deep); box-shadow: 0 0 0 4px rgba(176, 94, 60, .18); }
.tl-date { font-size: .82rem; color: var(--bc-walnut); letter-spacing: .05em; text-transform: uppercase; margin: 0 0 .45rem; font-weight: 600; }
.tl-title { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .6rem; }
.tl-title a { text-decoration: none; color: var(--bc-walnut); }
.tl-title a:hover { text-decoration: underline; color: var(--bc-terracotta-deep); }
.tl-excerpt { font-size: .98rem; color: var(--bc-charcoal); margin: 0 0 .9rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tl-more { margin: 0; font-size: .95rem; display: flex; justify-content: space-between; align-items: baseline; }
.tl-more a { font-weight: 600; text-decoration: none; }
.tl-min { font-size: .82rem; color: var(--bc-charcoal); }
.tl-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .5rem var(--pad) 0; }
.tl-nav button { background: var(--bc-walnut); color: var(--bc-pearl); border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; line-height: 1; transition: background .2s; }
.tl-nav button:hover { background: var(--bc-espresso); }
.tl-nav button:disabled { opacity: .35; cursor: default; }
.tl-jump { display: flex; gap: 1.5rem; font-size: .95rem; }
.tl-jump button { background: none; border: 0; padding: 0; font: inherit; color: var(--bc-walnut); text-decoration: underline; cursor: pointer; width: auto; height: auto; border-radius: 0; }
.tl-jump button:hover { color: var(--bc-terracotta-deep); background: none; }
.track.alt { background: var(--bc-cream); }
.track.alt .tl-card { background: var(--bc-pearl); }
.track.alt .tl-card.is-latest { background: #fff; }
.writing { padding-bottom: 56px; }

/* ---------- CTA band ---------- */
.cta { background: var(--bc-cream); text-align: center; }
.cta h2 { max-width: 22ch; margin: 0 auto .6rem; }
.cta p { margin: 0 auto 1.6rem; color: var(--bc-charcoal); max-width: 50ch; }
.cta .eyebrow { margin-bottom: 1rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--bc-pearl) 100%); }
.page-hero h1 { margin-bottom: .9rem; }
.page-hero .lead { margin-bottom: .6rem; }
@media (max-width: 860px) { .page-hero { padding: 40px 0 28px; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }
.about-img { margin: 0; position: relative; }
.about-img::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; border-radius: 18px; background: var(--bc-cream); border: 1px solid var(--bc-taupe); }
.about-img img { position: relative; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .about-img { margin: 20px 0 8px 20px; } }
.logos { display: flex; gap: 10px 22px; flex-wrap: wrap; list-style: none; margin: 18px 0 0; padding: 0; }
.logos li { font-family: var(--font-heading); font-weight: 600; color: var(--bc-walnut); font-size: 1.05rem; position: relative; }
.logos li + li::before { content: "·"; color: var(--bc-taupe); position: absolute; left: -15px; }
.facts { padding-top: 0; }
.factlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 24px; margin: 0; background: var(--bc-cream); border-radius: var(--radius); padding: 24px 28px; }
.factlist div { margin: 0; }
.factlist dt { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-walnut); }
.factlist dd { margin: 4px 0 0; font-size: 1rem; }

/* ---------- services ---------- */
.svc-band { background: var(--bc-espresso); color: var(--bc-pearl); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }
.svc .item { background: rgba(253, 251, 247, .05); border: 1px solid rgba(196, 165, 116, .3); border-radius: var(--radius); padding: 28px 24px; }
.svc .item.is-lead { border-color: var(--bc-latte); background: rgba(253, 251, 247, .09); }
.svc .num { font-family: var(--font-heading); font-size: 1.1rem; color: var(--bc-pearl); margin: 0 0 10px; display: flex; align-items: center; gap: 12px; }
.svc .lead-tag { font-family: var(--font-body); display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-espresso); background: var(--bc-latte); padding: 3px 10px; border-radius: 20px; }
.svc h2 { color: var(--bc-pearl); font-size: 1.4rem; margin-bottom: .6rem; }
.svc .item p:last-child { color: var(--bc-on-dark); font-size: 1rem; margin: 0; }
.svc-band .note { max-width: 62ch; margin: 28px 0 0; font-size: .95rem; color: var(--bc-on-dark-muted); }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: #fff; border: 1px solid var(--bc-taupe); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.steps .step { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bc-sage); color: var(--bc-espresso); font-family: var(--font-heading); font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.2rem; }
.steps p { font-size: 1rem; color: var(--bc-charcoal); margin: 0; }

/* ---------- contact ---------- */
.contact { padding-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-img { position: static; } }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.ccard { display: flex; flex-direction: column; gap: 4px; background: var(--bc-cream); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--bc-espresso); border: 1px solid transparent; transition: border-color .2s, background .2s; }
a.ccard:hover { border-color: var(--bc-latte); background: #fff; color: var(--bc-espresso); }
.ccard .k { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-walnut); }
.ccard .v { font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; }
.ccard small { font-weight: 400; color: var(--bc-charcoal); }
.contact-img { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); max-width: 380px; justify-self: end; }
.contact-img img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .contact-img { max-width: 300px; justify-self: start; } }
.write { background: var(--bc-cream); border-radius: var(--radius); padding: 28px 28px 24px; margin-top: 24px; }
.write h2 { font-size: 1.5rem; }
.contact-img { position: sticky; top: 96px; }
.mailform label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 16px; color: var(--bc-espresso); }
.mailform .opt { font-weight: 400; color: var(--bc-charcoal); }
.mailform input, .mailform textarea { display: block; width: 100%; margin-top: 6px; font: 400 1.05rem var(--font-body); color: var(--bc-espresso); background: var(--bc-pearl); border: 1px solid var(--bc-taupe); border-radius: 8px; padding: 12px 14px; }
.mailform input:focus, .mailform textarea:focus { outline: 2px solid var(--bc-terracotta-deep); outline-offset: 1px; border-color: var(--bc-terracotta-deep); }
.mailform textarea { resize: vertical; min-height: 140px; }
.mailform .f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .mailform .f2 { grid-template-columns: 1fr; } }

/* ---------- blog / archive ---------- */
.tracks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tracks a { text-decoration: none; background: var(--bc-cream); border: 1px solid var(--bc-taupe); border-radius: 999px; padding: 6px 14px; font-size: .95rem; font-weight: 500; color: var(--bc-espresso); }
.tracks a:hover { border-color: var(--bc-walnut); color: var(--bc-walnut); }
.tracks .count { color: var(--bc-charcoal); font-weight: 400; margin-left: 4px; }
.track { padding: 56px 0 40px; }
.track h2 a { text-decoration: none; }
.archive { padding-top: 56px; }
.archive .year { font-size: 1.1rem; color: var(--bc-charcoal); margin: 1.5rem 0 .5rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.postlist { list-style: none; padding: 0; margin: 0 0 1rem; }
.postlist li { display: grid; grid-template-columns: 9rem 1fr auto; gap: .75rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--bc-taupe); align-items: baseline; }
.postlist time { font-size: .9rem; color: var(--bc-charcoal); white-space: nowrap; }
.postlist a { text-decoration: none; font-weight: 500; }
.postlist a:hover { text-decoration: underline; }
.postlist .cat { font-size: .85rem; color: var(--bc-charcoal); white-space: nowrap; }
@media (max-width: 600px) { .postlist li { grid-template-columns: 1fr; gap: .1rem; } .postlist .cat { display: none; } }

/* ---------- post ---------- */
.post-head { padding: 56px 0 24px; background: linear-gradient(180deg, #fff 0%, var(--bc-pearl) 100%); }
.post-head h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.prose { font-size: 1.125rem; line-height: 1.7; padding-bottom: 40px; }
.prose > * { max-width: 100%; }
.prose p { margin: 0 0 1.25rem; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .7rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.prose h4 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; font-family: var(--font-body); color: var(--bc-espresso); }
.prose ul, .prose ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote { margin: 1.75rem 0; padding: .5rem 0 .5rem 1.4rem; border-left: 4px solid var(--bc-latte); font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--bc-espresso); }
.prose blockquote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--bc-charcoal); margin-top: .5rem; }
.prose .wp-block-pullquote { border-left: 0; border-top: 2px solid var(--bc-latte); border-bottom: 2px solid var(--bc-latte); padding: 1.25rem 0; text-align: center; }
.prose > p > img { border-radius: 10px; margin: 1.5rem auto; box-shadow: var(--shadow); }
.prose figure { margin: 1.75rem 0; }
.prose figcaption { font-size: .9rem; color: var(--bc-charcoal); text-align: center; margin-top: -.75rem; }
.prose hr { border: 0; border-top: 1px solid var(--bc-taupe); margin: 2.5rem 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 1.5rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--bc-taupe); vertical-align: top; }
.prose th { color: var(--bc-walnut); font-weight: 600; background: var(--bc-cream); }
.prose pre { background: var(--bc-espresso); color: var(--bc-pearl); padding: 1rem 1.2rem; border-radius: 10px; overflow-x: auto; font-size: .9rem; }
.prose code { font-size: .92em; background: var(--bc-cream); padding: .1em .35em; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--bc-taupe); width: 100px; margin: 2.5rem auto; }
.prose .wp-block-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.5rem 0; }
.prose .wp-block-button__link { display: inline-block; background: var(--bc-walnut); color: var(--bc-pearl); padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1rem; }
.prose .wp-block-button__link:hover { background: var(--bc-espresso); color: var(--bc-pearl); }
.prose .wp-block-group, .prose .wp-block-columns { margin: 1.5rem 0; }
.prose .wp-block-columns { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.prose .wp-block-file { background: var(--bc-cream); border-radius: 10px; padding: 14px 18px; margin: 1.5rem 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.prose .wp-block-file object, .prose .wp-block-file embed { display: none; }
.prose .wp-block-file__button { background: var(--bc-walnut); color: var(--bc-pearl); padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: .95rem; font-weight: 600; }
.prose .has-text-align-center { text-align: center; }
.prose .has-small-font-size { font-size: .9rem; }
.prose .wp-block-heading { }
.post-foot { padding: 0 0 72px; }
.author { display: flex; gap: 18px; align-items: flex-start; background: var(--bc-cream); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 32px; }
.author img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; flex: none; border: 3px solid #fff; box-shadow: var(--shadow); }
.author .who { font-family: var(--font-heading); font-weight: 600; color: var(--bc-walnut); margin: 0 0 .3rem; font-size: 1.1rem; }
.author p { font-size: 1rem; margin: 0; color: var(--bc-charcoal); }
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
@media (max-width: 600px) { .postnav { grid-template-columns: 1fr; } }
.postnav a { display: block; text-decoration: none; border: 1px solid var(--bc-taupe); border-radius: var(--radius); padding: 16px 18px; font-family: var(--font-heading); font-weight: 600; color: var(--bc-walnut); font-size: 1.05rem; line-height: 1.3; transition: border-color .2s, background .2s; }
.postnav a:hover { border-color: var(--bc-walnut); background: #fff; }
.postnav a span { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bc-charcoal); margin-bottom: 6px; }
.postnav .next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .postnav .next { grid-column: auto; text-align: left; } }
.related h2 { font-size: 1.3rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--bc-taupe); align-items: baseline; }
.related time { font-size: .9rem; color: var(--bc-charcoal); }
.related a { text-decoration: none; font-weight: 500; }
@media (max-width: 600px) { .related li { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- docs (legal pages) ---------- */
.doc .prose { padding-bottom: 72px; }
.doc .prose h2 { font-size: 1.4rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--bc-espresso); color: var(--bc-on-dark-muted); padding: 56px 0 28px; font-size: 1rem; }
.site-footer a { color: var(--bc-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--bc-pearl); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.brand-light { color: var(--bc-pearl); }
.brand-light:hover { color: var(--bc-pearl); text-decoration: none; }
.brand-light .mark { }
.site-footer .tagline { font-family: var(--font-heading); font-style: italic; color: var(--bc-on-dark); margin: 12px 0 8px; }
.site-footer .blurb { font-size: .95rem; max-width: 40ch; }
.foot-h { font-family: var(--font-heading); color: var(--bc-pearl); font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; overflow-wrap: anywhere; }
.foot-bottom { border-top: 1px solid rgba(196, 165, 116, .25); padding-top: 18px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.foot-bottom p { margin: 0; }

/* ---------- print ---------- */
@media print { .site-header, .site-footer, .tl-nav, .postnav, .related, .cta { display: none !important; } body { background: #fff; } }
