/* Brian Orr | thebrianorr.com
   Design system carried over from the original site: near-black, cream, rust.
   Static build. No framework. */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --base: #fbfaf9;
  --raised: #f2f0ed;
  --deep: #15110c;
  --ink: #15110c;
  --ink-muted: #524c45;
  --ink-soft: #6b645c;
  --inv: #f8f3eb;
  --inv-muted: #aaa39d;
  --accent: #9e3e1f;
  --accent-hover: #873419;
  --accent-dark: #d46846;
  --hair: #d3d0cd;
  --hair-dark: #2d2823;
  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --max: 80rem;
  --gutter: 1.25rem;
  --radius: 4px;
}
@media (min-width: 1024px) { :root { --gutter: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; line-height: 1.05; }
h1, h2 { text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; }
::selection { background: var(--accent); color: var(--inv); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.surface-dark :focus-visible { outline-color: var(--accent-dark); }

.skip { position: absolute; left: -999px; top: 0; background: var(--deep); color: var(--inv); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 48rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-mid { max-width: 64rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.section { padding: 3rem 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 768px) { .section { padding: 4rem 0; } }
.section-lg { padding: 4rem 0; }
@media (min-width: 768px) { .section-lg { padding: 5.5rem 0; } }
.bg-base { background: var(--base); }
.bg-raised { background: var(--raised); }
.surface-dark { background: var(--deep); color: var(--inv); border-color: var(--hair-dark); }
.surface-dark .muted, .surface-dark .lead { color: rgba(248,243,235,.75); }
.bg-accent { background: var(--accent); color: var(--inv); }

/* Type */
.eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.surface-dark .eyebrow { color: var(--accent-dark); }
.eyebrow-rule { border-left: 3px solid var(--accent); padding-left: .75rem; color: var(--ink-muted); }
.surface-dark .eyebrow-rule { border-color: var(--accent-dark); color: var(--inv-muted); }
.display { font-weight: 900; text-transform: uppercase; line-height: .95; font-size: clamp(2rem, 4.5vw, 3.75rem); }
.display-xl { font-weight: 900; text-transform: uppercase; line-height: .92; font-size: clamp(2.6rem, 6.5vw, 5.6rem); }
.h2 { font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.06; }
.h3 { font-weight: 800; font-size: 1.35rem; line-height: 1.15; }
.lead { font-size: 1.125rem; line-height: 1.65; color: rgba(21,17,12,.75); }
@media (min-width: 768px) { .lead { font-size: 1.2rem; } }
.muted { color: rgba(21,17,12,.7); }
.small { font-size: .875rem; }
.tiny { font-size: .75rem; line-height: 1.55; }
.mono { font-family: var(--font-mono); }
.upper { text-transform: uppercase; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 2.5rem; } .mt-6 { margin-top: 3rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.center { text-align: center; }
.maxw-2xl { max-width: 42rem; } .maxw-3xl { max-width: 48rem; } .maxw-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.link { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(21,17,12,.3); font-weight: 700; transition: color .15s, border-color .15s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.surface-dark .link { border-color: rgba(248,243,235,.4); }
.surface-dark .link:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.arrow-link { display: inline-flex; gap: .4rem; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
.arrow-link:hover { color: var(--accent); }
.surface-dark .arrow-link:hover { color: var(--accent-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .8rem 1.5rem; border-radius: 2px; border: 1px solid transparent; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--inv); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { border-color: rgba(21,17,12,.3); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--ink); }
.surface-dark .btn-secondary, .btn-inverse-outline { border-color: rgba(248,243,235,.5); color: var(--inv); }
.surface-dark .btn-secondary:hover, .btn-inverse-outline:hover { border-color: var(--inv); }
.btn-ink { background: var(--deep); border-color: var(--deep); color: var(--inv); }
.btn-light { background: var(--inv); border-color: var(--inv); color: var(--ink); }
.btn-row { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.btn-sm { min-height: 2.5rem; padding: .5rem 1rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(242,240,237,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--hair); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { margin-top: .4rem; font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(21,17,12,.55); }
.nav { display: none; align-items: center; gap: 1.35rem; font-size: 13px; font-weight: 500; }
.nav a { text-decoration: none; color: rgba(21,17,12,.68); transition: color .15s; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: var(--inv); }
.menu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: none; border: 0; cursor: pointer; }
@media (min-width: 1200px) { .nav { display: flex; } .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 1.5rem; height: 1px; background: var(--ink); margin: 3px 0; }
.mobile-nav { display: none; border-top: 1px solid var(--hair); background: var(--raised); }
.mobile-nav.open { display: block; }
@media (min-width: 1200px) { .mobile-nav, .mobile-nav.open { display: none; } }
.mobile-nav a.nl { display: block; padding: .95rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-weight: 500; }
.mobile-nav .btn { width: 100%; margin: 1.25rem 0; }

/* Footer */
.site-footer { background: var(--deep); color: var(--inv); border-top: 1px solid var(--hair-dark); }
.footer-grid { display: grid; gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; } }
.footer-col p.h { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-muted); margin-bottom: .75rem; }
.footer-col a { display: block; color: var(--inv); text-decoration: none; font-size: .9rem; padding: .2rem 0; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-col address { font-style: normal; color: var(--inv-muted); font-size: .9rem; line-height: 1.6; }
.footer-legal { border-top: 1px solid var(--hair-dark); }
.footer-legal .row { display: flex; flex-direction: column; gap: .75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .75rem; color: var(--inv-muted); }
@media (min-width: 768px) { .footer-legal .row { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-legal a { color: var(--inv-muted); text-decoration: none; margin-right: 1.25rem; }
.footer-legal a:hover { color: var(--inv); }
.socials { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: 1rem; }
.socials a { color: var(--inv-muted) !important; display: inline !important; }

/* Mobile assessment bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: .75rem; background: rgba(242,240,237,.96); border-top: 1px solid var(--hair); box-shadow: 0 -10px 30px rgba(21,17,12,.12); backdrop-filter: blur(8px); }
.mobile-bar .btn { width: 100%; }
.mobile-bar-spacer { height: 5rem; }
@media (min-width: 768px) { .mobile-bar, .mobile-bar-spacer { display: none; } }

/* Hero */
.hero { overflow: hidden; }
.hero-grid { display: grid; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 55fr 45fr; min-height: min(640px, calc(100svh - 68px)); } }
.hero-copy { display: flex; align-items: center; padding: 2rem 0 2rem; }
@media (min-width: 1024px) { .hero-copy { padding: 3rem 0; } }
.hero h1 { margin-top: 1.1rem; font-weight: 900; font-size: clamp(2.25rem, 4.2vw, 3.9rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--inv); }
.hero .sub { margin-top: 1.25rem; max-width: 34rem; font-size: 1.05rem; color: rgba(248,243,235,.8); }
@media (min-width: 768px) { .hero .sub { font-size: 1.15rem; } }
.hero .btn-row { margin-top: 1.75rem; }
.hero .note { margin-top: 1rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(248,243,235,.55); }
.hero-photo { display: flex; justify-content: center; align-items: flex-end; }
.hero-photo img { width: 100%; max-width: 330px; height: auto; }
@media (min-width: 1024px) { .hero-photo img { max-width: 460px; max-height: 600px; width: auto; } }

.local-strip { padding: 1.25rem 0; border-bottom: 1px solid var(--hair); background: var(--base); font-size: 1rem; }
@media (min-width: 768px) { .local-strip { font-size: 1.125rem; } }

/* Grids and cards */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .g4 { grid-template-columns: repeat(4, 1fr); } .g3-lg { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: 3rem; } .split-even { grid-template-columns: 1fr 1fr; } .split-rev { grid-template-columns: 7fr 5fr; } }
.card { border: 1px solid var(--hair); border-radius: 6px; background: var(--base); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card .num { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.card.surface-dark .num { color: var(--accent-dark); }
.card h3 { margin-top: .75rem; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.card p.body { margin-top: .75rem; color: rgba(21,17,12,.7); }
.card.surface-dark p.body { color: rgba(248,243,235,.75); }
.card .push { margin-top: auto; padding-top: 1.5rem; }
.card img.cover { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.card-link { text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.card-link:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(21,17,12,.08); }

.pillars { display: grid; border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); margin-top: 2.25rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillars article { padding: 1.25rem; border-bottom: 1px solid var(--hair-dark); }
@media (min-width: 1024px) { .pillars article { border-bottom: 0; border-left: 1px solid var(--hair-dark); padding: 1.5rem; } .pillars article:first-child { border-left: 0; } }
.pillars h3 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; }
.pillars p { margin-top: .75rem; font-size: .9rem; color: var(--inv-muted); }
.cred-strip { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--inv-muted); }
.stat-row { display: grid; gap: 0; border: 1px solid var(--hair-dark); margin-top: 2rem; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stat-row { grid-template-columns: repeat(5, 1fr); } }
.stat { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--hair-dark); }
@media (min-width: 1024px) { .stat { border-bottom: 0; border-left: 1px solid var(--hair-dark); } .stat:first-child { border-left: 0; } }
.stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--inv); }
.stat span { display: block; margin-top: .25rem; font-size: .8rem; color: var(--inv-muted); line-height: 1.4; }

.steps .card { background: var(--raised); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.steps .card-body { padding: 2rem; }
.steps h3 { text-transform: none; font-weight: 600; font-size: 1.5rem; margin-top: 1.25rem; }

.band { padding: 2rem 0; }
.band .row { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .band .row { flex-direction: row; align-items: center; justify-content: space-between; } }
.band h2 { font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
.band .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Doors (ventures) */
.doors { display: grid; gap: 1.25rem; margin-top: 2.25rem; }
@media (min-width: 1024px) { .doors { grid-template-columns: 1.4fr 1fr 1fr; } }
.door { border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--hair); background: var(--base); }
.door .shot { aspect-ratio: 16/9; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--hair); }
.door .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.surface-dark.door .tag { color: var(--inv-muted); }
.door ul.links { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .25rem; }
.door ul.links a { text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; border-bottom: 1px solid var(--hair-dark); padding: .6rem 0; }
.door ul.links a:hover { color: var(--accent-dark); }
.wordmark-mir { font-family: var(--font-display); font-weight: 900; font-size: 1.45rem; letter-spacing: .01em; }
.wordmark-mir em { font-style: normal; color: #c8692f; }
.wordmark-sis { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; display: inline-block; }
.wordmark-sis::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 2px; background: #f2c94c; transform: rotate(-2deg); }
.disclosure { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 2px solid var(--accent); background: var(--raised); font-size: .85rem; color: var(--ink-muted); }

/* Listings */
.listing-card .meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.listing-card h3 { text-transform: none; font-size: 1.35rem; font-weight: 800; }
.listing-card .price { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.listing-card .facts { margin-top: .35rem; color: rgba(21,17,12,.65); font-size: .9rem; }
.badge { display: inline-block; padding: .2rem .55rem; border: 1px solid currentColor; border-radius: 2px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.facts-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.facts-table th, .facts-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--hair); vertical-align: top; }
.facts-table th { width: 42%; font-weight: 600; color: var(--ink-muted); }
.gallery { display: grid; gap: .75rem; }
@media (min-width: 768px) { .gallery { grid-template-columns: 2fr 1fr; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

/* Prose (knowledge center) */
.breadcrumb { font-size: .8rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 .4rem; }
.surface-dark .breadcrumb, .surface-dark .breadcrumb a { color: var(--inv-muted); }
.byline { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--ink-soft); }
.surface-dark .byline { color: var(--inv-muted); }
.article-grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
.article-grid > *, .split > *, .grid > * { min-width: 0; }
@media (min-width: 1024px) { .article-grid { grid-template-columns: minmax(0, 1fr) 17rem; gap: 4rem; } }
.toc { position: sticky; top: 6rem; font-size: .875rem; }
.toc > p { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .75rem; }
.toc > a { display: block; text-decoration: none; color: var(--ink-muted); padding: .3rem 0 .3rem .75rem; border-left: 2px solid var(--hair); }
.toc > a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1023px) { .toc-wrap { display: none; } }
.prose { font-size: 1.05rem; line-height: 1.75; color: rgba(21,17,12,.86); max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.75rem; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; color: var(--ink); scroll-margin-top: 6rem; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 700; color: var(--ink); scroll-margin-top: 6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .45rem; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin-left: 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.prose code, .formula { font-family: var(--font-mono); font-size: .9em; }
.formula { display: block; padding: 1rem 1.25rem; background: var(--deep); color: var(--inv); border-radius: 4px; font-size: .95rem; overflow-x: auto; }
.callout { padding: 1.25rem 1.5rem; border: 1px solid var(--hair); border-left: 3px solid var(--accent); background: var(--raised); border-radius: 4px; }
.callout p + p { margin-top: .6rem; }
.callout .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.takeaways { padding: 1.5rem; background: var(--deep); color: var(--inv); border-radius: 6px; }
.takeaways .label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); }
.takeaways ul { margin-top: .75rem; padding-left: 1.1rem; }
.takeaways li { color: rgba(248,243,235,.88); }
.takeaways li + li { margin-top: .5rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: 4px; }
.prose table, table.data { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; }
.prose th, .prose td, table.data th, table.data td { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--hair); vertical-align: top; }
.prose thead th, table.data thead th { background: var(--raised); font-weight: 700; color: var(--ink); white-space: nowrap; }
.prose tbody tr:last-child td, table.data tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { font-size: .8rem; color: var(--ink-soft); margin-top: .5rem; }
.sources { font-size: .85rem; color: var(--ink-muted); }
.sources ol { padding-left: 1.25rem; }
.sources li + li { margin-top: .45rem; }
.sources a { color: var(--ink-muted); word-break: break-word; }
.author-box { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; padding: 1.5rem; border: 1px solid var(--hair); border-radius: 6px; background: var(--raised); }
.author-box img { width: 4.5rem; height: 4.5rem; object-fit: cover; object-position: top; border-radius: 50%; background: var(--deep); }
.disclaimer { font-size: .8rem; color: var(--ink-soft); line-height: 1.6; }

/* Knowledge hub */
.kc-cat + .kc-cat { margin-top: 3rem; }
.kc-list { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 768px) { .kc-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kc-list { grid-template-columns: repeat(3, 1fr); } }
.kc-item { display: block; padding: 1.4rem; border: 1px solid var(--hair); border-radius: 6px; background: var(--base); text-decoration: none; transition: border-color .2s, transform .2s; }
.kc-item:hover { border-color: var(--ink); transform: translateY(-2px); }
.kc-item h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.kc-item p { margin-top: .5rem; font-size: .9rem; color: rgba(21,17,12,.68); }
.kc-item .kc-meta { margin-top: .9rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }

/* FAQ */
.faq-list { display: grid; gap: 1rem; }
.faq-item { border: 1px solid var(--hair); border-radius: 6px; background: var(--raised); padding: 1.5rem 1.6rem; }
.faq-item h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.2; }
.faq-item p { margin-top: .75rem; color: rgba(21,17,12,.8); }
details.faq { border-bottom: 1px solid var(--hair); }
details.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 600; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--ink-soft); font-size: 1.2rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 1.25rem; color: rgba(21,17,12,.75); }

/* Forms */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
label.lbl, .lbl { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(21,17,12,.62); }
.field { margin-top: .5rem; width: 100%; min-height: 3rem; padding: .75rem 1rem; border: 1px solid var(--hair); border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: .95rem; }
.field:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(158,62,31,.15); }
textarea.field { min-height: 7.5rem; resize: vertical; }
.choice-grid { display: grid; gap: .65rem; }
@media (min-width: 640px) { .choice-grid.two { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1rem 1rem 1.15rem; border: 1px solid var(--hair); border-radius: 3px; background: #fff; cursor: pointer; text-align: left; font: inherit; font-size: .95rem; line-height: 1.35; color: var(--ink); transition: border-color .15s, transform .15s, background .15s; width: 100%; }
.choice:hover { border-color: rgba(21,17,12,.6); transform: translateY(-1px); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .dot { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .1rem; border: 1px solid rgba(21,17,12,.35); border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: transparent; }
.choice.multi .dot { border-radius: 2px; }
.choice[aria-checked="true"], .choice:has(input:checked) { border-color: var(--ink); background: rgba(21,17,12,.04); }
.choice[aria-checked="true"]::before, .choice:has(input:checked)::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.choice[aria-checked="true"] .dot, .choice:has(input:checked) .dot { background: var(--ink); border-color: var(--ink); color: var(--inv); }
.choice small { display: block; margin-top: .3rem; color: rgba(21,17,12,.6); font-size: .82rem; }
.form-note { font-size: .78rem; color: var(--ink-soft); line-height: 1.55; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-left: 2px solid var(--accent); background: var(--raised); font-size: .9rem; }
.form-status.error { border-color: #b42318; color: #7a1d14; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: rgba(21,17,12,.75); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--ink); flex: none; }

/* Assessment */
.assess-shell { min-height: 70vh; padding: 2.5rem 0 4rem; }
.progress { display: flex; gap: 3px; margin: 1rem 0 2rem; }
.progress span { flex: 1; height: 4px; background: var(--hair); border-radius: 2px; }
.progress span.on { background: var(--ink); }
.progress span.now { background: var(--accent); }
.q-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 10vw, 6rem); line-height: 1; color: rgba(21,17,12,.06); float: right; margin-top: -1.5rem; }
.q-title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 600; line-height: 1.12; }
.q-help { margin-top: .6rem; font-size: .9rem; color: rgba(21,17,12,.62); }
.assess-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.btn-ghost { background: none; border: 0; padding: .75rem .25rem; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(21,17,12,.65); cursor: pointer; }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.more-btn { margin-top: 1rem; background: none; border: 0; padding: .5rem 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; color: rgba(21,17,12,.7); cursor: pointer; }
.error-text { margin-top: 1rem; padding-left: .75rem; border-left: 2px solid #b42318; color: #7a1d14; font-size: .9rem; }
.result-card { border-radius: 6px; overflow: hidden; }
.result-head { padding: 2.25rem 1.5rem; border-bottom: 1px solid var(--hair-dark); }
@media (min-width: 768px) { .result-head { padding: 2.75rem 2.5rem; } }
.result-key { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.5rem); line-height: 1; color: var(--accent-dark); }
.result-meters { display: grid; gap: 1.5rem; padding: 2rem 1.5rem; }
@media (min-width: 768px) { .result-meters { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; padding: 2.25rem 2.5rem; } }
.meter-top { display: flex; justify-content: space-between; gap: 1rem; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(248,243,235,.65); }
.meter-top b { font-family: var(--font-mono); color: var(--accent-dark); font-weight: 500; }
.meter-bars { display: flex; gap: 3px; margin-top: .75rem; }
.meter-bars span { flex: 1; height: 5px; background: rgba(248,243,235,.15); }
.meter-bars span.on { background: var(--accent-dark); }
.meter-note { margin-top: .6rem; font-size: .8rem; color: rgba(248,243,235,.55); line-height: 1.5; }
.obs li { display: flex; gap: 1rem; }
.obs li + li { margin-top: 1rem; }
.obs .n { font-family: var(--font-mono); font-size: 11px; line-height: 1.6rem; color: var(--accent); flex: none; }
.clar li { list-style: none; padding: 1rem 1.25rem; border: 1px solid var(--hair); background: var(--raised); border-radius: 3px; }
.clar { padding: 0; display: grid; gap: .75rem; }
.preview-card { border-radius: 6px; background: var(--deep); color: var(--inv); padding: 2rem; box-shadow: 0 12px 40px rgba(21,17,12,.18); }
.preview-cells { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .preview-cells { grid-template-columns: 1fr 1fr; } }
.preview-cells div { border: 1px solid var(--hair-dark); border-radius: 2px; padding: 1rem; }
.preview-cells span { font-family: var(--font-mono); font-size: 10px; color: var(--accent-dark); }
.preview-cells p { margin-top: .5rem; font-size: .875rem; color: rgba(248,243,235,.75); }

/* Media */
.photo-frame { overflow: hidden; border: 1px solid var(--hair); border-radius: 4px; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4/5; } .ratio-32 { aspect-ratio: 3/2; } .ratio-85 { aspect-ratio: 8/5; } .ratio-169 { aspect-ratio: 16/9; }
.cover-band { position: relative; overflow: hidden; }
.cover-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-band::after { content: ""; position: absolute; inset: 0; background: rgba(21,17,12,.82); }
.cover-band > .wrap-narrow, .cover-band > .wrap { position: relative; z-index: 1; }
.quote { font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; }
.brand-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-top: 2rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .02em; color: rgba(248,243,235,.55); text-transform: uppercase; }
.embed { border: 1px solid var(--hair); background: #fff; overflow: hidden; border-radius: 4px; }
.embed iframe { display: block; width: 100%; border: 0; }
.cal-frame { position: relative; height: 950px; overflow: hidden; border: 1px solid var(--hair); background: #fff; }
@media (min-width: 768px) { .cal-frame { height: 700px; } }
.cal-frame iframe { position: absolute; left: 0; top: 0; width: 100%; height: 1245px; border: 0; }
@media (min-width: 768px) { .cal-frame iframe { height: 1125px; } }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-block; padding: .35rem .75rem; border: 1px solid var(--hair); border-radius: 999px; font-size: .8rem; text-decoration: none; color: var(--ink-muted); background: var(--base); }
.chip:hover { border-color: var(--ink); color: var(--ink); }

.data-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--hair); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.25rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline b { display: block; }

.card.surface-dark, .door.surface-dark { background: var(--deep); color: var(--inv); border-color: var(--hair-dark); }
.card.surface-dark h3, .door.surface-dark h3 { color: var(--inv); }

@media print {
  .site-header, .site-footer, .mobile-bar, .mobile-bar-spacer, .no-print { display: none !important; }
  body { background: #fff; }
  .surface-dark, .result-card { background: #fff !important; color: #000 !important; }
  .meter-bars span.on { background: #000 !important; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Real Talk with Zuby episode grid */
.zuby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 900px) { .zuby.z4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.zuby > div, .zuby > a { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.zuby img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zuby .me { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.zuby .me-tag { position: absolute; left: .5rem; top: .5rem; background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .5rem; border-radius: 2px; }
.zuby .me:hover .me-tag { background: var(--accent-dark); }
@media (min-width: 1024px) { .stat-row.s4 { grid-template-columns: repeat(4, 1fr); } }

/* Faith, family, and fun */
.fun-fact { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--hair-dark); font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; color: var(--accent-dark); }

/* Home: commercial real estate panel above the owned companies */
.cre-panel { display: grid; gap: 1.5rem; margin-top: 2.25rem; padding: 2rem; border-radius: 6px; border: 1px solid var(--hair-dark); background: var(--deep); color: var(--inv); }
@media (min-width: 900px) { .cre-panel { grid-template-columns: 1.1fr 1fr; gap: 3rem; padding: 2.75rem; align-items: center; } }
.cre-panel .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-muted); }
.cre-panel ul.links { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.cre-panel ul.links a { color: var(--inv); text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; border-bottom: 1px solid var(--hair-dark); padding: .7rem 0; }
.cre-panel ul.links a:hover { color: var(--accent-dark); }
@media (min-width: 768px) { .doors.doors-2 { grid-template-columns: 1fr 1fr; } }
.doors.doors-2 { margin-top: 1.5rem; }

/* Home: Real Talk with Zuby feature */
.zuby.zuby-lg { max-width: 1040px; margin: 0 auto; gap: 1rem; }
@media (min-width: 768px) { .zuby.zuby-lg { gap: 1.25rem; } }
.zuby.zuby-lg .me-tag { font-size: 11px; padding: .4rem .65rem; left: .75rem; top: .75rem; }
.zuby-feature .lead { font-size: 1.2rem; }

/* Footer brand column */
.footer-name { font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--inv); }
.footer-role { margin-top: .6rem; font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--inv-muted); }
.footer-broker { margin-top: 2rem; }
.footer-broker .lbl-b { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--inv-muted); margin-bottom: .6rem; }
.footer-broker img { width: 132px; height: auto; opacity: .85; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.footer-grid .footer-brand, .footer-grid .footer-contact { grid-column: 1 / -1; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } .footer-grid .footer-contact { grid-column: auto; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; } .footer-grid .footer-brand { grid-column: auto; } }

/* Containers always keep their side gutters, whatever vertical padding a section adds. */
.wrap, .wrap-mid, .wrap-narrow { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }
@media (max-width: 767px) { .zuby.zuby-lg .me-tag, .zuby .me-tag { font-size: 9px; padding: .25rem .45rem; left: .4rem; top: .4rem; } }

/* Home: credentials and closing actions at the end of Why Work With Me */
.creds { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .75rem 2rem; }
@media (min-width: 640px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .creds { grid-template-columns: repeat(3, 1fr); } }
.creds li { position: relative; padding-left: 1.1rem; font-size: .95rem; color: rgba(248,243,235,.86); line-height: 1.45; }
.creds li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--accent-dark); }
.close-row { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--hair-dark); display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .close-row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* Footer, tablet widths: name block on the left, link columns in two rows beside it */
@media (min-width: 768px) and (max-width: 1099px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1; grid-row: span 2; }
}
.close-row .arrow-link { align-self: flex-start; } @media (min-width: 768px) { .close-row .arrow-link { align-self: center; } }

/* About: story beside the travel photo */
@media (min-width: 900px) { .story-split { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.story-split .photo-frame { max-width: 460px; }
