/* Growth Field Guide design: editorial rails, earned authority, structured warmth, and progressive disclosure. */
:root {
  --ink: rgb(11 31 51);
  --ink-soft: rgb(29 52 72);
  --teal: rgb(10 142 135);
  --teal-deep: rgb(5 96 94);
  --chartreuse: rgb(214 232 67);
  --paper: rgb(248 246 239);
  --paper-deep: rgb(234 230 220);
  --muted: rgb(99 112 120);
  --line: rgb(205 211 207);
  --white: rgb(255 255 255);
  --shadow: 0 18px 44px rgb(11 31 51 / 14%);
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .22; background-image: radial-gradient(rgb(11 31 51 / 12%) .55px, transparent .55px); background-size: 7px 7px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--chartreuse); outline-offset: 3px; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; inset: 12px auto auto 12px; transform: translateY(-140%); z-index: 99; padding: 10px 14px; background: var(--ink); color: var(--white); font-weight: 800; text-decoration: none; transition: transform 160ms cubic-bezier(.23,1,.32,1); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(205 211 207 / 65%); background: rgb(248 246 239 / 94%); backdrop-filter: blur(14px); }
.site-header__bar { width: min(1440px, 100%); min-height: 78px; margin: auto; padding: 12px clamp(18px, 4vw, 58px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-lockup, .admin-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lockup:hover, .admin-brand:hover { color: var(--ink); }
.brand-mark { display: inline-grid; grid-template-columns: 15px 15px; gap: 3px; width: 35px; height: 35px; transform: skewY(-7deg); }
.brand-image { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.brand-mark span { display: block; background: var(--ink); clip-path: polygon(0 0,100% 0,100% 58%,55% 58%,55% 100%,0 100%); }
.brand-mark i { display: block; background: var(--teal); clip-path: polygon(45% 0,100% 0,100% 100%,0 100%,0 42%,45% 42%); }
.brand-copy, .admin-brand > span:last-child { display: grid; gap: 0; line-height: 1.05; }
.brand-copy strong, .admin-brand strong { font-family: var(--serif); font-size: 1.31rem; font-weight: 400; letter-spacing: -.035em; }
.brand-copy em, .admin-brand em { color: var(--teal-deep); font-size: .61rem; font-style: normal; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2.2vw, 28px); }
.primary-nav a { position: relative; color: var(--ink-soft); font-size: .79rem; font-weight: 800; letter-spacing: .025em; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 160ms cubic-bezier(.23,1,.32,1); }
.primary-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px; background: var(--ink); }

.page-shell { width: min(1440px, 100%); margin: auto; padding: clamp(28px, 4.5vw, 72px) clamp(18px, 4vw, 58px); }
.eyebrow { margin: 0 0 10px; color: var(--teal-deep); font-size: .71rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.field-label { display: inline-flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; color: var(--teal-deep); }
.field-label::before { content: ""; width: 22px; height: 2px; background: var(--chartreuse); }
h1, h2, h3, h4 { margin-top: 0; color: var(--ink); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.03; }
h1 { font-size: clamp(2.75rem, 6.6vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.1vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 2.1rem); }
p { margin: 0 0 1.05rem; }
.lede { max-width: 60ch; color: var(--ink-soft); font-size: clamp(1.08rem, 1.45vw, 1.31rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 12px 18px; border: 1px solid currentColor; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: transform 140ms cubic-bezier(.23,1,.32,1), background-color 140ms cubic-bezier(.23,1,.32,1), color 140ms cubic-bezier(.23,1,.32,1); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.button--primary { border-color: var(--teal); background: var(--teal); color: var(--white); }
.button--primary:hover { color: var(--white); background: var(--teal-deep); }
.button--outline { color: var(--ink); background: transparent; }
.button--outline:hover { background: var(--ink); color: var(--white); }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr); min-height: min(720px, calc(100vh - 78px)); overflow: hidden; background: var(--ink); color: var(--white); }
.hero-grid::before { content: ""; position: absolute; inset: 0; opacity: .94; background-image: linear-gradient(105deg, rgb(11 31 51 / 98%) 0%, rgb(11 31 51 / 88%) 40%, rgb(7 48 61 / 60%) 70%, rgb(6 82 83 / 54%) 100%), radial-gradient(circle at 80% 21%, rgb(10 142 135 / 50%), transparent 22%), var(--hero-image, url("/uploads/images/backgrounds/sbwebguy-hero-field-guide.png")); background-size: cover, cover, cover; background-position: center, center, center; }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 8vw, 120px) clamp(18px, 8vw, 130px); }
.hero-copy h1 { max-width: 11ch; color: var(--white); }
.hero-copy .lede { color: rgb(248 246 239 / 90%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-actions .button--outline { color: var(--white); }
.hero-actions .button--outline:hover { background: var(--white); color: var(--ink); }
.hero-aside { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px, 5vw, 74px); }
.hero-card { position: relative; max-width: 430px; margin-left: auto; padding: clamp(24px, 3vw, 38px); border: 1px solid rgb(255 255 255 / 26%); background: rgb(11 31 51 / 44%); box-shadow: var(--shadow); backdrop-filter: blur(9px); }
.hero-card::before { content: ""; position: absolute; top: -12px; left: 18px; width: 66px; height: 4px; background: var(--chartreuse); }
.hero-card h2 { color: var(--white); font-size: clamp(1.55rem, 2.3vw, 2.4rem); }
.hero-card p { color: rgb(248 246 239 / 82%); }
.hero-card .field-label { color: var(--chartreuse); }

.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 310px); gap: clamp(34px, 6vw, 92px); align-items: start; }
.section-intro { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-intro h2 { max-width: 14ch; }
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 82px 1fr auto; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-row:hover { color: var(--ink); }
.post-number { width: 48px; color: var(--teal-deep); font-family: var(--serif); font-size: 1.7rem; }
.post-row h3 { margin-bottom: 5px; font-size: clamp(1.18rem, 2vw, 1.65rem); }
.post-row p { margin: 0; color: var(--muted); font-size: .93rem; }
.post-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); color: var(--ink); font-weight: 900; transition: background-color 160ms cubic-bezier(.23,1,.32,1), color 160ms cubic-bezier(.23,1,.32,1); }
.post-row:hover .post-arrow { background: var(--teal); border-color: var(--teal); color: var(--white); }

.widget-rail { position: sticky; top: 104px; display: grid; gap: 18px; }
.widget { padding: 24px; border: 1px solid var(--line); background: rgb(255 255 255 / 58%); box-shadow: 0 10px 28px rgb(11 31 51 / 5%); }
.widget h2, .widget h3 { margin-bottom: 10px; font-size: 1.55rem; }
.widget p { color: var(--ink-soft); font-size: .91rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.widget li a { font-size: .87rem; font-weight: 800; text-decoration: none; }
.widget-form { display: grid; gap: 12px; }
.widget-form label, .form-field label { display: grid; gap: 6px; color: var(--ink); font-size: .76rem; font-weight: 900; letter-spacing: .05em; }
.widget-form input, .form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--ink); padding: 11px 12px; }
.widget-form input:focus, .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--teal); outline: 2px solid rgb(10 142 135 / 18%); }
.form-consent { display: flex !important; grid-template-columns: 18px 1fr; align-items: start; gap: 8px !important; color: var(--muted) !important; font-size: .73rem !important; font-weight: 600 !important; letter-spacing: 0 !important; }
.form-consent input { width: auto; margin-top: 4px; }
.form-status { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--teal); background: rgb(10 142 135 / 9%); color: var(--ink-soft); font-weight: 700; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 310px); gap: clamp(34px, 6vw, 92px); align-items: start; }
.article-header { margin-bottom: clamp(30px, 5vw, 60px); padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 14ch; margin-bottom: 18px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.article-prose { max-width: 74ch; font-size: 1.06rem; }
.article-prose h1, .article-prose h2, .article-prose h3, .article-prose h4 { margin: 1.6em 0 .45em; }
.article-prose h1 { font-size: 2.3rem; }
.article-prose h2 { font-size: 1.85rem; }
.article-prose h3 { font-size: 1.4rem; }
.article-prose p, .article-prose li { color: var(--ink-soft); }
.article-prose ul { padding-left: 1.25em; }
.video-frame { position: relative; aspect-ratio: 16 / 9; margin: 28px 0; background: var(--ink); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.archive-card { min-height: 230px; padding: 24px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; transition: transform 180ms cubic-bezier(.23,1,.32,1), box-shadow 180ms cubic-bezier(.23,1,.32,1); }
.archive-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); }
.archive-card .field-label { margin-bottom: 28px; }
.archive-card h2 { margin-bottom: 12px; font-size: 1.55rem; }
.archive-card p { color: var(--muted); font-size: .9rem; }
.archive-card:nth-child(3n+2) { background: var(--ink); }
.archive-card:nth-child(3n+2) h2, .archive-card:nth-child(3n+2) .field-label, .archive-card:nth-child(3n+2) p { color: var(--white); }
.archive-card:nth-child(3n+2) .field-label::before { background: var(--chartreuse); }
.button--ink { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button--ink:hover { border-color: var(--teal-deep); background: var(--teal-deep); color: var(--white); }
.archive-tools { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(210px, .72fr) auto; gap: 14px; align-items: end; margin-top: 30px; padding: 20px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 30px rgb(11 31 51 / 5%); }
.archive-tools__field { display: grid; gap: 7px; }
.archive-tools label { color: var(--ink-soft); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.archive-tools input, .archive-tools select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.archive-tools input:focus, .archive-tools select:focus { border-color: var(--teal); outline: 2px solid rgb(10 142 135 / 18%); outline-offset: 2px; }
.archive-tools__action { display: flex; }
.archive-tools__action .button { width: 100%; white-space: nowrap; }
.archive-summary { margin: 18px 0 24px; color: var(--muted); font-size: .9rem; }
.archive-summary strong { color: var(--teal-deep); }
.archive-empty { max-width: 720px; margin-top: 30px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); background: var(--white); }
.archive-empty h2 { max-width: 14ch; margin: 14px 0; }
.archive-empty p:not(.field-label) { max-width: 54ch; color: var(--ink-soft); }
.archive-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.archive-pagination p { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 800; }
.archive-pagination__link { min-width: 100px; padding: 10px 14px; border: 1px solid var(--ink); color: var(--ink); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-align: center; text-decoration: none; text-transform: uppercase; transition: background-color 160ms cubic-bezier(.23,1,.32,1), color 160ms cubic-bezier(.23,1,.32,1), transform 160ms cubic-bezier(.23,1,.32,1); }
.archive-pagination__link:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.contact-panel { padding: clamp(25px, 4vw, 48px); background: var(--ink); color: var(--white); }
.contact-panel h2 { color: var(--white); }
.contact-panel p { color: rgb(248 246 239 / 78%); }
.contact-panel ul { padding-left: 20px; color: rgb(248 246 239 / 88%); }
.public-form { display: grid; gap: 16px; }
.public-form .form-field { display: grid; gap: 7px; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

.site-footer { margin-top: clamp(46px, 8vw, 110px); padding: clamp(36px, 6vw, 78px) clamp(18px, 4vw, 58px) 20px; background: var(--ink); color: var(--white); }
.site-footer__top, .site-footer__bottom { width: min(1324px, 100%); margin: auto; display: flex; justify-content: space-between; gap: 30px; }
.site-footer__top { align-items: end; padding-bottom: 46px; }
.footer-signoff { max-width: 600px; }
.footer-signoff h2 { color: var(--white); font-size: clamp(2.2rem, 4vw, 4rem); }
.footer-signoff p { color: rgb(248 246 239 / 74%); }
.footer-signoff .eyebrow { color: var(--chartreuse); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.footer-links a, .site-footer__bottom a { color: rgb(248 246 239 / 82%); font-size: .8rem; font-weight: 800; text-decoration: none; }
.site-footer__bottom { align-items: center; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 20%); color: rgb(248 246 239 / 62%); font-size: .74rem; }
.site-footer__bottom p { margin: 0; }
.error-page { max-width: 700px; margin: 0 auto; min-height: 100vh; padding: 18vh 22px 40px; }
.error-page__mark { margin-bottom: 40px; }
.error-page h1 { max-width: 10ch; }

@media (max-width: 900px) {
  .hero-grid, .section-grid, .article-layout, .contact-layout { grid-template-columns: 1fr; }
  .archive-tools { grid-template-columns: minmax(0, 1fr) minmax(190px, .7fr); }
  .archive-tools__action { grid-column: 1 / -1; }
  .archive-tools__action .button { width: auto; }
  .hero-grid { min-height: auto; }
  .hero-aside { padding-top: 0; }
  .hero-card { margin-left: 0; }
  .widget-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .site-header__bar { min-height: 66px; }
  .nav-toggle { display: inline-block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; padding: 12px 18px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 10px 0; }
  .hero-copy { padding-top: 56px; }
  .post-row { grid-template-columns: 52px 1fr; }
  .post-arrow { display: none; }
  .widget-rail { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-tools { grid-template-columns: 1fr; padding: 18px; }
  .archive-tools__action { grid-column: auto; }
  .archive-tools__action .button { width: 100%; }
  .archive-pagination { align-items: stretch; flex-direction: column; }
  .archive-pagination__link { width: 100%; }
  .archive-pagination p { order: -1; text-align: center; }
  .site-footer__top, .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Growth Field Guide extension: booking and Ask sbwebguy remain editorial, practical, and high-contrast. */
.primary-nav .nav-cta { padding: 10px 13px; border: 1px solid var(--teal); background: var(--teal); color: var(--white); }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { color: var(--white); background: var(--teal-deep); }
.service-intro { max-width: 820px; padding: clamp(36px, 7vw, 96px) 0 clamp(30px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.service-intro h1 { max-width: 12ch; }
.service-intro .lede { max-width: 56ch; }
.content-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 70px); margin-top: clamp(34px, 6vw, 80px); }
.content-split > div { padding: clamp(24px, 3.4vw, 40px); border-top: 4px solid var(--chartreuse); background: rgb(255 255 255 / 56%); }
.content-split h2 { max-width: 12ch; font-size: clamp(1.7rem, 3vw, 2.75rem); }
.content-split p { color: var(--ink-soft); }
.ask-panel { max-width: 980px; margin: 0 auto clamp(20px, 4vw, 60px); border: 1px solid var(--line); background: rgb(255 255 255 / 56%); box-shadow: 0 20px 50px rgb(11 31 51 / 7%); }
.ask-tablist { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.ask-tab { flex: 1; min-height: 60px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--muted); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; transition: background-color 160ms cubic-bezier(.23,1,.32,1), color 160ms cubic-bezier(.23,1,.32,1); }
.ask-tab:last-child { border-right: 0; }
.ask-tab.is-active, .ask-tab:hover { background: var(--ink); color: var(--white); }
.ask-tabpanel { padding: clamp(28px, 5vw, 66px); }
.ask-tabpanel h2 { max-width: 11ch; }
.ask-tabpanel > p:not(.field-label) { max-width: 58ch; color: var(--ink-soft); }
.ask-tabpanel[hidden] { display: none; }
.contact-form { display: grid; gap: 16px; max-width: 660px; margin-top: 26px; }
.contact-form .form-field { display: grid; gap: 7px; }
.contact-form textarea { min-height: 160px; resize: vertical; }
@media (max-width: 900px) { .content-split { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .primary-nav .nav-cta { display: inline-flex; width: fit-content; margin-top: 4px; padding: 10px 13px; } .ask-tablist { flex-direction: column; } .ask-tab { min-height: 52px; border-right: 0; border-bottom: 1px solid var(--line); } .ask-tab:last-child { border-bottom: 0; } }

/* Growth Field Guide design: quiet editorial About portrait with copy-safe visual breathing room; never a thumbnail treatment. */
.about-portrait { display: block; width: 100%; margin: 0 0 clamp(24px, 3vw, 34px); overflow: hidden; background: rgb(248 246 239 / 8%); border: 1px solid rgb(255 255 255 / 24%); }
.about-portrait img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 76% center; filter: saturate(.82) contrast(1.02); }
.service-asset { position: relative; overflow: hidden; min-height: 250px; margin: 0; background: var(--ink); }
.service-asset img { display: block; width: 100%; height: 100%; min-height: 250px; object-fit: cover; opacity: .86; }
.service-asset figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 16px 18px; background: linear-gradient(transparent, rgb(11 31 51 / 90%)); color: var(--white); font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.services-chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr); gap: clamp(26px, 5vw, 70px); align-items: start; padding-block: clamp(36px, 6vw, 82px); border-top: 1px solid var(--line); }
.services-chapter:first-of-type { border-top: 0; }
.services-chapter__copy { max-width: 66ch; }
.services-chapter__copy h2 { max-width: 12ch; }
.services-checklist { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.services-checklist li { padding-left: 29px; position: relative; color: var(--ink-soft); }
.services-checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 15px; height: 2px; background: var(--chartreuse); }
@media (max-width: 900px) { .services-chapter { grid-template-columns: 1fr; } .about-portrait { width: min(100%, 560px); } .about-portrait img { object-position: 72% center; } }


/* Definitive mobile navigation interaction fix. */
@media (max-width: 680px) {
  .site-header,
  .site-header__bar {
    overflow: visible;
  }

  .site-header__bar {
    position: relative;
  }

  .brand-lockup {
    position: relative;
    z-index: 1;
    min-width: 0;
  }

  .nav-toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
    appearance: none;
    -webkit-appearance: none;
  }

  .nav-toggle > span:not(.sr-only) {
    width: 26px;
    height: 2px;
    margin: 3px 0;
    pointer-events: none;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav-toggle.is-open > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open > span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .primary-nav {
    z-index: 1001;
  }
}

/* Regression-safe restorations after the mobile navigation update. */

/* Allow the desktop right rail to scroll naturally with the main content. */
.widget-rail {
    position: static;
    top: auto;
    align-self: start;
}

/* Blog discovery controls: visible square buttons for suggested searches and categories. */
.archive-tools--search-only {
    grid-template-columns: minmax(0, 1fr) auto;
}
.search-suggestions,
.category-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
}
.search-suggestions__label,
.category-links__label {
    flex: 0 0 auto;
    margin-right: 3px;
    color: var(--ink-soft);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.search-suggestions a,
.category-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px !important;
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: var(--white) !important;
    color: var(--ink) !important;
    box-shadow: 0 2px 0 rgb(21 32 38 / 8%);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.search-suggestions a:hover,
.search-suggestions a:focus-visible,
.category-links a:hover,
.category-links a:focus-visible {
    border-color: var(--teal) !important;
    background: rgb(10 142 135 / 8%) !important;
    color: var(--ink) !important;
    box-shadow: 0 3px 0 rgb(21 32 38 / 12%);
    transform: translateY(-1px);
}
.category-links {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.category-links a[aria-current="page"] {
    border-color: var(--ink) !important;
    background: var(--ink) !important;
    color: var(--white) !important;
}
@media (max-width: 760px) {
    .archive-tools--search-only {
        grid-template-columns: 1fr;
    }
    .search-suggestions,
    .category-links {
        align-items: stretch;
    }
    .search-suggestions__label,
    .category-links__label {
        flex-basis: 100%;
        margin-bottom: 2px;
    }
}

/* Blog archive-card reading time: quiet editorial metadata. */
.archive-card .reading-time {
    display: inline-flex;
    align-items: center;
    gap: .34rem;
    margin-top: 10px;
    color: rgb(99 112 120 / 74%);
    font-size: .86rem`;
    font-weight: 650;
    font-variant-caps: all-small-caps;
    letter-spacing: .11em;
    line-height: 1.2;
    text-transform: lowercase;
}
.archive-card .reading-time::before {
    content: "\23F1";
    font-size: .86rem;
    line-height: 1;
    opacity: .72;
}
.archive-card:nth-child(3n+2) .reading-time {
    color: rgb(248 246 239 / 66%);
}

