/* A soft editorial layer over the original type, palette and static pages. */
:root {
  --surface: rgba(255,255,255,.48);
  --header-overlap: 85px;
  --soft-border: rgba(104,98,104,.2);
  --lift: 0 14px 40px rgba(40,24,33,.055), 0 2px 6px rgba(40,24,33,.025);
  --radius: 22px;
  --band-gradient: radial-gradient(ellipse at 94% 6%,rgba(188,76,76,.1),transparent 58%),linear-gradient(125deg,#fffdfc 5%,#fcf4f2 55%,#f7eae7);
  --band-gradient-reverse: radial-gradient(ellipse at 6% 45%,rgba(188,76,76,.08),transparent 55%),linear-gradient(125deg,#faf0ee,#fffdfc 85%);
  --soft-control-shadow: 0 8px 22px rgba(28,30,38,.1),0 2px 5px rgba(28,30,38,.04);
}
html { scroll-padding-top: 110px; }
html { scrollbar-gutter: stable; }
body { position: relative; isolation: isolate; background: #fff; }
body::before { content: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.site-header { background: rgba(245,243,245,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: background .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--soft-border); box-shadow: 0 4px 22px rgba(35,20,30,.04); background: rgba(245,243,245,.92); }
.nav { justify-content: space-between; gap: 24px; min-height: 86px; }
.wordmark { margin: 0; flex-shrink: 0; font-size: 2.15rem; }
.nav-links { margin-left: auto; gap: clamp(14px,1.5vw,23px); }
.nav-links a { font-size: .67rem; letter-spacing: .055em; white-space: nowrap; padding-block: 12px; }
.nav-links .nav-contact { padding: 11px 17px; border: 1px solid var(--soft-border); border-radius: 999px; background: rgba(255,255,255,.5); }
.nav-contact::after { display: none; }
.nav-contact:hover { background: white; border-color: var(--red); }
.menu-glyph { font-size: 1.35rem; line-height: 1; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: .8rem; line-height: 1.4; letter-spacing: .015em; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 5px 16px rgba(203,0,0,.12); }
.button-primary:hover { background: #ad0000; box-shadow: 0 8px 22px rgba(203,0,0,.17); }
.button-secondary { border-color: var(--soft-border); background: rgba(255,255,255,.55); color: var(--ink); }
.button-secondary:hover { border-color: var(--red); background: white; color: var(--red); }
.button-light { background: var(--bg); color: var(--ink); }
.button-light:hover { background: white; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.hero-actions { gap: 12px; }
.resume-hero .text-link { border: 1px solid var(--soft-border); border-radius: 999px; padding: 13px 22px; background: var(--surface); }
.resume-hero .text-link:first-child { background: var(--red); color: white; border-color: var(--red); }
.submit, .icon-button { border-radius: 999px; }
.submit { padding: 13px 24px; background: var(--red); color: white; border-color: var(--red); }
.hero { position: relative; isolation: isolate; padding: 36px 0 56px; border-bottom-color: var(--soft-border); overflow: clip; background: transparent; }
.home-page .hero { margin-top: calc(-1 * var(--header-overlap)); padding-top: calc(36px + var(--header-overlap)); background: linear-gradient(rgba(255,255,255,.14),rgba(255,255,255,.1)),url('/assets/images/hero-sky-garden-refined.webp') center / cover no-repeat; }
.hero .wrap { position: relative; z-index: 1; }
.hero-layout { align-items: center; gap: clamp(32px,5vw,72px); }
.hero-copy-col { padding-top: 0; }
.hero h1 { font-size: clamp(3.6rem,6.8vw,6.6rem); line-height: .94; }
.hero-deck { grid-template-columns: 100px minmax(0,1fr); gap: 20px; margin-top: 26px; }
.hero-deck p { font-size: 1rem; line-height: 1.5; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 0; list-style: none; margin: 16px 0 0; padding: 0; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.hero-proof li { white-space: nowrap; padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--line); }
.hero-proof li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero-proof strong { font-weight: 500; color: var(--ink); }
.hero-actions { margin-top: 24px; }
.hero-photo { min-height: 0; height: clamp(420px,calc(100svh - 210px),560px); align-items: center; justify-content: center; }
.hero-photo img { width: 84%; height: 88%; max-height: none; border-radius: 28px; box-shadow: var(--lift); }
.hero-photo::before { content: none; }
.brand-trust { background: rgba(255,255,255,.25); }
.brand-wordmarks .brand-pill.brand-logo-pill { border-color: var(--soft-border); background: rgba(255,255,255,.65); box-shadow: 0 2px 5px rgba(35,20,30,.02); }
.brand-wordmarks { overflow: visible; }
.case-preview { border-color: var(--soft-border); border-radius: var(--radius); box-shadow: var(--lift); }
.case-preview-copy { padding: 22px; }
.mobile-case-image { border-radius: 12px; }
.case-row { transition: background .2s; }
.case-row:hover { background: rgba(255,255,255,.4); }
.system-feature { background: var(--ink); color: var(--bg); position: relative; isolation: isolate; overflow: clip; }
.system-feature::before { content: ''; position: absolute; width: 540px; height: 540px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle,rgba(203,0,0,.15),transparent 65%); z-index: -1; }
.system-feature-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.system-feature .eyebrow { color: #ff9898; }
.system-feature .section-title { color: var(--bg); font-size: clamp(3.3rem,5.2vw,5.4rem); }
.system-feature-copy > p:not(.eyebrow) { color: #cbc5cb; font-size: .97rem; max-width: 510px; margin: 30px 0; }
.system-preview { display: block; color: var(--ink); text-decoration: none; padding: 26px; background: rgba(245,243,245,.95); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); box-shadow: 0 22px 65px rgba(0,0,0,.2), inset 0 1px 0 white; transition: transform .25s, box-shadow .25s; transform: rotate(1deg); }
.system-preview:hover { transform: rotate(0); box-shadow: 0 26px 65px rgba(0,0,0,.25); }
.preview-topline { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.glowwell-wordmark { font-family: var(--serif); font-size: 2.5rem; line-height: 1.1; letter-spacing: -.03em; }
.glowwell-wordmark > span { font-family: var(--sans); margin-left: 8px; font-size: 1.5rem; color: var(--red); }
.preview-topline .micro { font-size: .6rem; color: var(--muted); }
.preview-document { padding: 28px; background: white; border-radius: 12px; border: 1px solid var(--soft-border); box-shadow: 0 4px 16px rgba(40,24,33,.04); }
.preview-document > .micro { color: var(--red); font-size: .6rem; }
.preview-document h3 { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; line-height: 1.04; margin: 18px 0 24px; }
.preview-document dl { font-size: .73rem; margin: 0; }
.preview-document dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--soft-border); }
.preview-document dt { color: var(--muted); }
.preview-document dd { margin: 0; }
.preview-angle { border-left: 2px solid var(--red); margin: 24px 0 0; padding-left: 14px; font-size: .8rem; }
.preview-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 18px 0; }
.preview-flow span { padding: 7px 8px; font-size: .6rem; border: 1px solid var(--soft-border); border-radius: 6px; }
.preview-flow .active { background: var(--red); border-color: var(--red); color: white; }
.preview-bottom { display: flex; justify-content: space-between; font-size: .7rem; padding-top: 5px; }
.topic-pills a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: .7rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .07em; text-decoration: none; }
.blog-teaser .topic-pills span, .blog-teaser .topic-pills a { background: rgba(255,255,255,.65); border-color: var(--soft-border); }
.blog-teaser .topic-pills a:hover { border-color: var(--red); color: var(--red); background: white; }
.testimonial-card { border-radius: 20px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.testimonial-heading .eyebrow, .testimonial-card cite { color: white; }
.testimonial-track { animation-duration: 80s; }
.credibility-track { animation-duration: 65s; }
.credibility-marquee { background: var(--red); color: white; border-color: rgba(140,0,0,.3); }
.credibility-group span::after { color: rgba(255,255,255,.65); }
.home-page .hero-proof { color: #504b50; }
.page-hero { border-bottom-color: var(--soft-border); position: relative; background: radial-gradient(ellipse at 88% 18%,rgba(203,0,0,.035),transparent 52%); }
.page-hero h1 { line-height: .93; }
.about-photo img { max-height: none; height: auto; object-fit: contain; object-position: center 35%; border-radius: var(--radius); box-shadow: var(--lift); }
.about-photo { max-width: 460px; }
.about-copy .about-lead { font-size: clamp(2.5rem,3.7vw,3.9rem); line-height: 1.06; }
.principle { border-top-color: var(--soft-border); }
.native-artifacts a, .artifact-sheet { border-radius: 16px; box-shadow: var(--lift); }
.artifact-image { border-color: var(--soft-border); border-radius: 14px; overflow: hidden; }
.proof-hero h1 { max-width: 920px; }
.proof-jump { display: flex; gap: 14px; margin-top: 34px; }
.proof-jump a { padding: 9px 18px; border: 1px solid var(--soft-border); border-radius: 999px; text-decoration: none; background: rgba(255,255,255,.6); font-size: .78rem; }
.proof-jump span { color: var(--red); margin-left: 20px; font-size: .65rem; }
.proof-section-label { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; align-items: center; }
.proof-section-label .eyebrow { margin: 0; }
.proof-section-label > span { font-size: .75rem; color: var(--muted); }
.work-grid { gap: 24px; }
.proof-card { min-height: 430px; padding: 30px; border-radius: var(--radius); background: var(--surface); border-color: var(--soft-border); box-shadow: var(--lift); transition: transform .2s, border-color .2s, box-shadow .2s; }
.proof-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(40,24,33,.08); }
.work-card-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.proof-number { font-size: .72rem; color: var(--muted); }
.proof-brand { font-size: .88rem; margin-top: 38px; }
.proof-card h2 { font-size: clamp(2.1rem,3vw,2.9rem); line-height: 1.08; margin: 12px 0 16px; }
.proof-card p { max-width: 480px; font-size: .88rem; line-height: 1.65; margin: 0 0 30px; }
.proof-card .work-footer { display: flex; justify-content: space-between; border-color: var(--soft-border); font-size: .76rem; opacity: 1; padding-top: 18px; }
.proof-card.is-red { background: var(--red); box-shadow: var(--lift); }
.proof-card.is-red .proof-number { color: #ffe1e1; }
.more-writing { display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; margin-top: 68px; padding-top: 32px; border-top: 1px solid var(--soft-border); }
.more-writing h2, .more-editing h2 { font-family: var(--serif); font-weight: 400; font-size: 2.7rem; line-height: 1; margin: 0; }
.more-writing-links { display: grid; }
.more-writing-links a { display: flex; justify-content: space-between; gap: 24px; text-decoration: none; font-size: .86rem; padding: 14px 0; border-bottom: 1px solid var(--soft-border); }
.more-writing-links a:hover { color: var(--red); }
.editing-section { background: rgba(235,231,235,.55); border-top: 1px solid var(--soft-border); }
.pdf-viewer { border: 1px solid var(--soft-border); border-radius: 18px; background: white; overflow: hidden; box-shadow: var(--lift); }
.pdf-tabs { display: flex; gap: 8px; padding: 18px 20px; background: rgba(245,243,245,.7); border-bottom: 1px solid var(--soft-border); }
.pdf-tabs button { border: 1px solid var(--soft-border); background: white; border-radius: 999px; padding: 10px 20px; font-size: .8rem; min-height: 44px; }
.pdf-tabs button[aria-selected="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--soft-border); }
.pdf-status { font-size: .73rem; color: var(--muted); }
.pdf-controls { display: flex; align-items: center; gap: 6px; }
.pdf-controls button, .pdf-controls a { font-size: .73rem; border: 1px solid var(--soft-border); border-radius: 7px; background: white; padding: 8px 12px; min-height: 40px; text-decoration: none; }
.pdf-controls button:hover, .pdf-controls a:hover { border-color: var(--red); color: var(--red); }
.pdf-viewport { height: min(78vh,860px); min-height: 480px; overflow: auto; background: #e8e4e8; padding: 20px; overscroll-behavior: contain; }
.pdf-pages { min-width: 100%; display: flex; align-items: center; flex-direction: column; gap: 28px; width: max-content; }
.pdf-page { position: relative; background: white; box-shadow: 0 2px 14px rgba(0,0,0,.1); flex: 0 0 auto; }
.pdf-page canvas { display: block; }
.pdf-page-label { position: absolute; left: 0; top: -22px; font-size: 11px; color: var(--muted); }
.pdf-page .textLayer { inset: 0; position: absolute; }
.editing-caption { display: flex; align-items: start; justify-content: space-between; gap: 28px; margin-top: 22px; }
.editing-caption p { font-size: .84rem; color: var(--muted); margin: 0; max-width: 750px; }
.editing-caption .text-link { white-space: nowrap; padding-top: 0; }
.more-editing { margin-top: 78px; }
.proof-edit-gallery { gap: 24px; margin-top: 26px; }
.edit-image-link { display: flex; flex-direction: column; text-decoration: none; border-radius: 16px; border: 1px solid var(--soft-border); background: white; padding: 14px; box-shadow: var(--lift); transition: border-color .2s; }
.edit-image-link img { width: 100%; height: 330px; object-fit: contain; object-position: top; }
.edit-image-link > span { display: flex; justify-content: space-between; padding: 16px 6px 2px; font-size: .76rem; color: var(--muted); }
.edit-image-link:hover { border-color: var(--red); }
.system-hero h1 { max-width: 920px; }
.system-work { padding-top: 54px; }
.system-context { display: grid; grid-template-columns: 1.4fr .9fr; gap: 60px; border-bottom: 1px solid var(--soft-border); padding-bottom: 38px; margin-bottom: 50px; }
.system-context > div:first-child { display: flex; align-items: start; gap: 40px; }
.system-context p { font-size: .86rem; max-width: 500px; margin: 0; color: var(--muted); }
.system-context .glowwell-wordmark { flex-shrink: 0; }
.system-purpose { padding-left: 28px; border-left: 1px solid var(--soft-border); }
.system-purpose .micro { color: var(--red); font-size: .63rem; }
.system-purpose p { margin-top: 8px; color: var(--ink); }
.journey-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.journey-heading .eyebrow { margin: 0; }
.journey-heading > span { color: var(--muted); font-size: .75rem; }
.journey-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; position: relative; }
.journey-card { min-height: 230px; border: 1px solid var(--soft-border); border-radius: 18px; padding: 22px; background: var(--surface); box-shadow: var(--lift); display: flex; flex-direction: column; text-decoration: none; position: relative; transition: transform .2s, border-color .2s; }
.journey-card:nth-child(3), .journey-card:nth-child(6) { background: rgba(255,255,255,.9); }
.journey-card:hover { transform: translateY(-3px); border-color: var(--red); }
.journey-meta { display: flex; justify-content: space-between; gap: 20px; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.journey-meta > span:first-child { color: var(--red); }
.journey-card h2 { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1.05; margin: 12px 0 12px; max-width: 270px; }
.journey-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-top: 16px; color: var(--red); background: rgba(203,0,0,.045); border: 1px solid rgba(203,0,0,.1); border-radius: 9px; }
.journey-icon svg { width: 23px; height: 23px; }
.journey-card.is-red { background: var(--red); color: white; border-color: var(--red); }
.journey-card.is-red .journey-meta, .journey-card.is-red .journey-meta > span:first-child, .journey-card.is-red .journey-open { color: white; }
.journey-card.is-red .journey-icon { color: white; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); }
.journey-open { margin-top: auto; align-self: end; color: var(--red); font-size: 1.25rem; }
.system-ending { border-top: 1px solid var(--soft-border); background: rgba(255,255,255,.3); }
.system-ending .section-title { font-size: clamp(3rem,5vw,4.6rem); }
.system-ending p { max-width: 720px; color: var(--muted); margin: 28px 0 0; }
.contribution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 32px; }
.system-ending .system-provenance { max-width: 850px; font-size: .94rem; }
.contribution-grid h3 { font-size: .77rem; font-weight: 500; letter-spacing: .04em; margin: 0; }
.contribution-grid p { font-size: .94rem; line-height: 1.75; margin-top: 14px; }
/* Readers are standalone URLs as well as lazy-loaded dialog content. */
.proof-dialog { width: min(1200px,calc(100vw - 64px)); height: calc(100dvh - 64px); max-width: none; max-height: none; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; background: var(--bg); color: var(--ink); overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.2); }
.proof-dialog::backdrop { background: rgba(19,19,19,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dialog-topbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 24px; height: 70px; border-bottom: 1px solid var(--soft-border); background: rgba(255,255,255,.65); }
.dialog-topbar h2 { font: 500 .85rem/1.4 var(--sans); margin: 0; }
.dialog-close { display: inline-flex; align-items: center; gap: 20px; border: 1px solid var(--soft-border); border-radius: 999px; background: white; padding: 9px 16px; font-size: .76rem; min-height: 42px; flex-shrink: 0; }
.dialog-close span { font-size: 1.3rem; line-height: 1; }
.dialog-close:hover { border-color: var(--red); color: var(--red); }
.dialog-body { height: calc(100% - 70px); }
.dialog-reader { border: 0; width: 100%; height: 100%; display: block; background: var(--bg); }
.reader-toolbar { position: sticky; top: 0; z-index: 5; padding: 14px 28px; min-height: 68px; border-bottom: 1px solid var(--soft-border); background: rgba(245,243,245,.94); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .75rem; }
.reader-back, .reader-original { text-decoration: none; }
.reader-back:hover, .reader-original:hover { color: var(--red); }
.reader-brand { color: var(--muted); }
.reader-tools { display: flex; align-items: center; gap: 20px; }
.reader-mode { border: 1px solid var(--soft-border); border-radius: 999px; padding: 7px 12px; background: white; font-size: .73rem; }
.reader-prose { width: min(100% - 64px,780px); margin: 0 auto; padding: 64px 0 100px; font: 1.06rem/1.5 Georgia,serif; overflow-wrap: anywhere; }
.reader-prose h1 { font: 400 clamp(2.9rem,5vw,4.8rem)/1.04 var(--serif); letter-spacing: -.025em; color: var(--red); margin: 16px 0 24px; }
.reader-prose .eyebrow, .reader-byline { font-family: var(--sans); }
.reader-byline { font-size: .78rem; line-height: 1.15; color: var(--muted); padding-bottom: 30px; margin-bottom: 38px; border-bottom: 1px solid var(--soft-border); }
.reader-prose h2 { font: 400 2.6rem/1.12 var(--serif); color: var(--red); margin: 48px 0 18px; }
.reader-prose h3 { font: 600 1.12rem/1.15 var(--sans); margin: 32px 0 12px; }
.reader-prose h4 { font: 600 1rem/1.15 var(--sans); margin-top: 26px; }
.reader-prose p { margin: 0 0 20px; }
.reader-prose li { padding-left: 4px; margin: 8px 0; }
.reader-prose p:not(.eyebrow):not(.reader-byline), .reader-prose li { text-align: justify; hyphens: auto; }
.reader-prose ul, .reader-prose ol { padding-left: 1.3em; }
.reader-prose img { height: auto; border: 1px solid var(--soft-border); border-radius: 10px; margin: 30px 0; }
.reader-prose figure:has(> figcaption) > img { margin-bottom: 10px; }
.reader-prose figcaption { font: .8rem/1.15 var(--sans); color: var(--muted); }
.reader-prose blockquote { margin: 26px 0; padding: 20px 24px; border-left: 2px solid var(--red); background: rgba(255,255,255,.7); border-radius: 0 12px 12px 0; }
.reader-prose blockquote p:last-child { margin-bottom: 0; }
.reader-prose code { font-size: .9em; padding: 2px 5px; background: var(--soft); border-radius: 3px; }
.reader-table-wrap { overflow: auto; max-width: 100%; margin: 28px 0; border: 1px solid var(--soft-border); border-radius: 10px; }
.reader-prose table { width: 100%; border-collapse: collapse; font: .85rem/1.6 var(--sans); }
.reader-prose th, .reader-prose td { text-align: left; padding: 14px; border-bottom: 1px solid var(--soft-border); vertical-align: top; overflow-wrap: normal; min-width: 110px; }
.reader-prose th { background: var(--soft); font-weight: 500; }
.reader-prose td { background: rgba(255,255,255,.5); }
.reader-prose td p { font-size: inherit; margin: 0 0 8px; }
.reader-prose table tr:last-child td { border-bottom: none; }
.reader-prose a { text-underline-offset: 3px; }
/* Searchable, topic-filtered blog library. */
.blog-page [hidden] { display: none !important; }
.blog-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(250px,340px); gap: 64px; align-items: end; margin-top: 30px; }
.blog-intro .lede { margin: 0; max-width: 700px; line-height: 1.15; text-align: justify; hyphens: auto; }
.blog-search label { display: block; margin-bottom: 10px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.blog-search-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.7); }
.blog-search-field:focus-within { border-color: var(--red); outline: 2px solid var(--red); outline-offset: 3px; }
.blog-search input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 0; background: transparent; border-radius: inherit; font-size: 1rem; outline: none; }
.blog-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.blog-search-field button { border: 0; background: transparent; min-width: 44px; min-height: 44px; cursor: pointer; font-size: 1.3rem; }
.blog-library { padding-top: 38px; scroll-margin-top: 100px; }
.blog-topics { margin: 0 0 22px; gap: 10px; }
.blog-topics button { border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; min-height: 44px; background: transparent; cursor: pointer; font-size: .68rem; letter-spacing: .035em; text-transform: uppercase; }
.blog-topics button:hover { border-color: var(--red); color: var(--red); }
.blog-topics button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: white; }
.blog-results-status { margin: 0 0 18px; color: var(--muted); font-size: .78rem; line-height: 1.15; }
.blog-post { grid-template-columns: 58px minmax(0,1fr); cursor: auto; }
.blog-post:hover { background: transparent; }
.blog-post h3 { line-height: 1.15; }
.blog-post h3 a { text-decoration: none; }
.blog-post:hover h3 { color: inherit; }
.blog-post h3 a:hover, .blog-post h3 a:focus-visible { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.blog-post p { line-height: 1.15; }
.blog-post p:last-child { max-width: 850px; text-align: justify; hyphens: auto; }
.blog-pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; font-size: .78rem; }
.blog-pagination button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.blog-pagination button:hover:not(:disabled) { color: var(--red); border-color: var(--red); }
.blog-pagination button:disabled { opacity: .4; cursor: default; }
.blog-page :is(button,a):focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.blog-empty { padding-block: 30px; }
.blog-empty .big { font-size: 2.6rem; }
@media(max-width:760px) {
  .blog-intro { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .blog-intro .lede { margin-top: 0; }
  .blog-search { max-width: 100%; }
  .blog-topics { gap: 8px; }
  .blog-topics button { padding-inline: 12px; font-size: .62rem; }
  .blog-post { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
  .blog-pagination { gap: 10px; font-size: .72rem; }
  .blog-pagination button { padding-inline: 12px; }
}
.embedded-reader .reader-back { display: none; }
.embedded-reader .reader-toolbar.is-empty { display: none; }
.live-reader { height: calc(100dvh - 68px); }
.live-article { width: 100%; height: 100%; display: block; border: 0; background: white; }
.embedded-reader .editing-reader-page .site-header, .embedded-reader .editing-reader-page .footer { display: none; }
.embedded-reader .editing-reader-page .page-hero { padding: 24px 0; }
.embedded-reader .editing-reader-page .page-hero h1 { font-size: 3.3rem; }
.embedded-reader .editing-reader-page .page-hero .lede { font-size: .9rem; margin-top: 14px; }
.embedded-reader .editing-reader-page .section { padding: 24px 0; }
.image-dialog .dialog-body { display: flex; flex-direction: column; }
.lightbox-controls { padding: 12px 22px; display: flex; gap: 20px; align-items: center; font-size: .72rem; color: var(--muted); border-bottom: 1px solid var(--soft-border); }
.lightbox-controls .button { min-height: 38px; padding: 8px 16px; font-size: .75rem; }
.lightbox-stage { overflow: auto; padding: 24px; flex: 1; background: var(--soft); }
.lightbox-stage img { margin: auto; max-width: 100%; width: auto; height: auto; box-shadow: var(--lift); }
.lightbox-stage.zoomed img { max-width: none; width: 1600px; }
@media (max-width:1100px) {
  .nav { min-height: 76px; }
  .menu-button { display: inline-flex; align-items: center; gap: 12px; padding: 10px; margin-left: auto; }
  .nav-links { position: absolute; left: 0; right: 0; top: 76px; display: none; margin: 0; flex-direction: column; align-items: stretch; padding: 20px 26px 28px; gap: 4px; background: rgba(245,243,245,.98); border-bottom: 1px solid var(--soft-border); box-shadow: 0 10px 25px rgba(40,24,33,.05); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: .78rem; padding: 12px 10px; }
  .nav-links a::after { left: 10px; }
  .nav-links .nav-contact { margin-top: 8px; align-self: start; padding: 12px 18px; }
  .system-feature-layout { gap: 40px; }
  .system-context { gap: 36px; }
  .system-context > div:first-child { display: block; }
  .system-context p { margin-top: 16px; }
  .journey-card h2 { font-size: 2.25rem; }
}
@media (max-width:960px) {
  .hero-deck { grid-template-columns: 1fr; }
}
@media (max-width:760px) {
  html { scroll-padding-top: 90px; }
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 70px; gap: 16px; }
  .nav-links { top: 70px; }
  .wordmark { font-size: 2rem; }
  .hero { padding-top: 20px; padding-bottom: 54px; }
  .hero-copy-col { padding-top: 0; }
  .hero h1 { line-height: .94; font-size: clamp(2.65rem,12.5vw,4.1rem); }
  .hero-deck { margin-top: 22px; }
  .hero-deck p { font-size: 1rem; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { font-size: .72rem; padding-inline: 12px; gap: 9px; }
  .hero-photo { min-height: 420px; height: clamp(420px,110vw,520px); max-width: 440px; width: calc(100% - 14px); }
  .hero-photo img { border-radius: 22px; }
  .system-feature-layout { grid-template-columns: 1fr; gap: 44px; }
  .system-feature .section-title { font-size: 3.8rem; }
  .system-preview { transform: none; padding: 18px; }
  .preview-document { padding: 22px; }
  .preview-document h3 { font-size: 2.2rem; }
  .preview-flow span { font-size: .56rem; }
  .page-hero { padding-top: 50px; padding-bottom: 44px; }
  .page-hero h1 { font-size: clamp(3.6rem,15vw,5.6rem); }
  .page-hero .lede { font-size: 1rem; margin-top: 26px; }
  .proof-section-label > span { font-size: .66rem; }
  .proof-card { min-height: 365px; padding: 26px; }
  .proof-card h2 { font-size: 2.65rem; }
  .proof-brand { margin-top: 26px; }
  .more-writing { grid-template-columns: 1fr; gap: 24px; }
  .more-writing h2, .more-editing h2 { font-size: 2.4rem; }
  .editing-caption { flex-direction: column; gap: 12px; }
  .pdf-tabs { padding: 14px; }
  .pdf-tabs button { font-size: .76rem; padding: 9px 15px; }
  .pdf-toolbar { padding: 10px 14px; }
  .pdf-controls { flex-wrap: wrap; }
  .pdf-status { font-size: .68rem; }
  .pdf-viewport { height: 65vh; min-height: 420px; padding: 20px; }
  .pdf-pages { align-items: flex-start; }
  .edit-image-link img { height: 300px; }
  .system-context { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; margin-bottom: 34px; }
  .system-purpose { border-left: 0; border-top: 1px solid var(--soft-border); padding: 20px 0 0; }
  .journey-heading { flex-direction: column; align-items: start; gap: 10px; }
  .journey-heading > span { font-size: .7rem; }
  .journey-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .journey-card { min-height: 210px; padding: 18px; }
  .journey-card h2 { font-size: 2rem; margin-top: 14px; }
  .journey-icon { width: 34px; height: 34px; margin-top: 16px; }
  .journey-icon svg { width: 20px; height: 20px; }
  .journey-meta { font-size: .58rem; gap: 10px; }
  .system-ending .section-title { font-size: 3.5rem; }
  .contribution-grid { grid-template-columns: 1fr; gap: 28px; }
  .proof-dialog { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .dialog-topbar { padding: 12px 16px; gap: 14px; height: 64px; }
  .dialog-topbar h2 { font-size: .74rem; }
  .dialog-close { gap: 12px; padding: 8px 12px; }
  .dialog-body { height: calc(100% - 64px); }
  .reader-toolbar { padding: 12px 18px; gap: 10px; font-size: .7rem; flex-wrap: wrap; }
  .reader-back span { display: none; }
  .reader-tools { gap: 12px; }
  .reader-mode { font-size: .66rem; }
  .reader-prose { width: calc(100% - 36px); padding-top: 34px; font-size: 1rem; line-height: 1.5; }
  .reader-prose h1 { font-size: 3rem; }
  .reader-prose h2 { font-size: 2.3rem; margin-top: 36px; }
  .reader-prose blockquote { padding: 18px; }
  .reader-prose th, .reader-prose td { padding: 10px; font-size: .75rem; }
  .lightbox-controls { padding: 10px 16px; gap: 12px; }
  .lightbox-controls > span { font-size: .65rem; }
  .lightbox-stage { padding: 14px; }
}
@media (max-width:380px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-card { min-height: 190px; }
  .reader-tools { gap: 8px; }
}
@media (prefers-reduced-motion:reduce) {
  .credibility-track, .testimonial-track { animation: none; }
  .button:hover, .proof-card:hover, .journey-card:hover { transform: none; }
}

/* Interaction audit: resilient navigation, readers and motion controls. */
img { height: auto; }
a, button, input, select, textarea { touch-action: manipulation; }
h1, h2 { text-wrap: pretty; }
.field :is(input, select, textarea):focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { margin: 8px 0 0; color: var(--red); font-size: .8rem; }
.form-help { font-size: .84rem; color: var(--muted); margin: 0 0 18px; }
.proof-card.is-red:focus-visible, .journey-card.is-red:focus-visible { outline-color: var(--ink); box-shadow: inset 0 0 0 2px white; }
.proof-number, .journey-meta, .pdf-status { font-variant-numeric: tabular-nums; }
.proof-jump a, .reader-back, .reader-original, .reader-mode, .pdf-controls button, .pdf-controls a { min-height: 44px; }
.reader-back, .reader-original { display: inline-flex; align-items: center; padding: 8px 4px; }
.reader-toolbar { padding-block: 10px; }
.reader-tools, .reader-brand { min-width: 0; }
.reading-live { height: 100dvh; display: flex; flex-direction: column; }
.reading-live .reader-toolbar { flex-shrink: 0; }
.reading-live main { flex: 1; min-height: 0; }
.reading-live .live-reader { height: 100%; }
.reader-page { overscroll-behavior: contain; }
.proof-dialog[open] { display: flex; flex-direction: column; }
.dialog-topbar { height: auto; min-height: 70px; flex: 0 0 auto; }
.dialog-topbar h2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dialog-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.dialog-open-page { display: inline-flex; align-items: center; min-height: 44px; font-size: .74rem; text-decoration: none; padding: 8px 4px; }
.dialog-open-page:hover { color: var(--red); }
.dialog-close { min-height: 44px; }
.dialog-body { height: auto; flex: 1; min-height: 0; position: relative; padding-bottom: env(safe-area-inset-bottom,0px); }
.dialog-loading { position: absolute; inset: 0; margin: 0; padding: 38px; background: var(--bg); z-index: 2; color: var(--muted); font-size: .9rem; pointer-events: none; }
.lightbox-stage { overscroll-behavior: contain; }
.pdf-link-layer { position: absolute; inset: 0; pointer-events: none; }
.pdf-link-layer a { position: absolute; pointer-events: auto; }
.pdf-controls button:disabled { opacity: .4; cursor: wait; }
.credibility-marquee { position: relative; }
[data-reveal] { opacity: 1; transform: none; }
.has-js [data-reveal].will-reveal:not(.revealed) { opacity: 0; transform: translateY(16px); }
html:not(.has-js) .menu-button, html:not(.has-js) .form, html:not(.has-js) .reader-mode,
html:not(.has-js) .pdf-tabs, html:not(.has-js) .pdf-viewport, html:not(.has-js) .pdf-controls button { display: none; }
html:not(.has-js) .credibility-track, html:not(.has-js) .testimonial-track { animation: none; }
html:not(.has-js) .nav { flex-wrap: wrap; padding-block: 14px; }
html:not(.has-js) .nav-links { display: flex; position: static; flex-wrap: wrap; flex-direction: row; width: 100%; box-shadow: none; padding: 0; }
@media(max-width:1100px) {
  .has-js .nav-links { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom,0px)); }
}
@media(max-width:760px) {
  .has-js .nav-links { max-height: calc(100dvh - 70px); }
  .dialog-topbar { min-height: calc(64px + env(safe-area-inset-top,0px)); padding: calc(10px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 10px max(12px,env(safe-area-inset-left,0px)); }
  .dialog-actions { gap: 10px; }
  .dialog-open-page { font-size: .68rem; }
  .dialog-close { gap: 8px; }
  .reader-toolbar { padding-inline: max(14px,env(safe-area-inset-left,0px)); }
  .reader-prose { padding-bottom: calc(80px + env(safe-area-inset-bottom,0px)); }
}
@media(prefers-reduced-motion:reduce) {
  .has-js [data-reveal].will-reveal:not(.revealed) { opacity: 1; transform: none; }
  .testimonial-viewport { overflow: visible; }
  .testimonial-track { width: auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); padding: 0 18px; }
  .testimonial-card { width: auto; }
  .testimonial-card[aria-hidden="true"] { display: none; }
}
html:not(.has-js) .testimonial-track { width: auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); padding: 0 18px; }
html:not(.has-js) .testimonial-card { width: auto; }
html:not(.has-js) .testimonial-card[aria-hidden="true"] { display: none; }

/* Clear glass surfaces: scenery, a light tint and restrained edge highlights. */
:root {
  --glass-surface: rgba(255,255,255,.2);
  --glass-border: rgba(255,255,255,.62);
  --glass-shadow: 0 8px 28px rgba(40,48,65,.07),inset 0 1px 0 rgba(255,255,255,.65);
  --glass-red: var(--red);
}
.site-header, .site-header.scrolled { padding: 10px 0; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav { position: relative; min-height: 64px; padding: 8px 20px; border: 1px solid var(--glass-border); border-radius: 22px; background: var(--glass-surface); box-shadow: var(--glass-shadow); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.site-header.scrolled .nav { background: rgba(255,255,255,.36); box-shadow: var(--glass-shadow); }
.button, .submit, .icon-button, .menu-button, .nav-links .nav-contact,
.reader-mode, .dialog-close, .pdf-controls button, .pdf-controls a, .pdf-tabs button,
.blog-topics button, .blog-pagination button, .proof-jump a, .resume-hero .text-link,
.topic-pills a, .blog-teaser .topic-pills a, .social-icon {
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  background: var(--glass-surface);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}
.button, .submit, .menu-button, .reader-mode, .dialog-close, .pdf-controls button, .pdf-tabs button, .blog-topics button, .blog-pagination button { transition: background .2s ease,box-shadow .2s ease,transform .2s ease; }
.button-secondary, .button-light, .nav-links .nav-contact, .blog-topics button, .blog-pagination button { color: var(--ink); }
.button:hover, .nav-links .nav-contact:hover, .blog-topics button:hover, .blog-pagination button:hover:not(:disabled), .topic-pills a:hover { background: rgba(255,255,255,.4); border-color: rgba(255,255,255,.84); box-shadow: var(--glass-shadow); }
.button-primary, .submit, .resume-hero .text-link:first-child, .blog-topics button[aria-pressed="true"] { background: var(--red); color: white; border-color: var(--red); box-shadow: 0 6px 20px rgba(40,40,40,.08); backdrop-filter: none; -webkit-backdrop-filter: none; }
.button-primary:hover, .submit:hover, .resume-hero .text-link:first-child:hover, .blog-topics button[aria-pressed="true"]:hover { background: var(--red); color: white; border-color: var(--red); box-shadow: 0 8px 24px rgba(40,40,40,.12); }
.pdf-tabs button[aria-selected="true"] { background: linear-gradient(180deg,rgba(255,255,255,.19),transparent 55%),rgba(30,26,30,.94); color: white; }
.button:active, .submit:active, .menu-button:active, .blog-topics button:active, .blog-pagination button:active:not(:disabled) { transform: scale(.98); }
.reader-toolbar, .dialog-topbar { background: var(--glass-surface); border-color: var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); }
.brand-trust { background: #fff; }
.page-hero, .case-hero, .soft-gradient-band { background: var(--band-gradient); }
.proof-card:not(.is-red), .journey-card:not(.is-red), .case-preview, .system-preview, .native-artifacts a, .artifact-sheet, .edit-image-link, .pdf-viewer { background: rgba(255,255,255,.35); border-color: var(--glass-border); box-shadow: var(--glass-shadow); backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); }
.brand-wordmarks .brand-pill.brand-logo-pill, .blog-search-field { background: rgba(255,255,255,.3); border-color: var(--glass-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand-pill, .brand-wordmarks .brand-pill.brand-logo-pill, .blog-search-field, .home-page .button { box-shadow: var(--soft-control-shadow); }
.home-page .button:hover { box-shadow: 0 11px 28px rgba(28,30,38,.14),0 3px 7px rgba(28,30,38,.05); }
.testimonial-marquee-section { background: var(--red); }
.testimonial-card { background: rgba(255,255,255,.09); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.system-feature { background: var(--band-gradient); color: var(--ink); border-block: 1px solid rgba(174,99,99,.12); }
.system-feature .eyebrow { color: var(--red); }
.system-feature .section-title { color: var(--red); }
.system-feature-copy > p:not(.eyebrow) { color: #625454; }
.system-feature::before { content: none; }
.system-preview { background: rgba(255,255,255,.48); }
.system-ending, .editing-section, .brand-trust.soft-gradient-band { background: var(--band-gradient-reverse); }
.footer { background: #fff; border-top-color: var(--soft-border); }
.blog-page .blog-post:hover { background: transparent; }
@media(max-width:1100px) {
  .nav { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
  .nav-links { top: calc(100% + 10px); padding: 16px; border: 1px solid var(--glass-border); border-radius: 20px; background: rgba(255,255,255,.66); box-shadow: var(--glass-shadow); backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%); }
  .has-js .nav-links { max-height: calc(100dvh - 120px); }
  .menu-button { min-height: 44px; border-radius: 12px; }
  .nav-links a { border-radius: 12px; }
  .nav-links a:hover { background: rgba(255,255,255,.65); }
}
@media(max-width:760px) {
  :root { --header-overlap: 75px; }
  .home-page .hero { padding-top: calc(20px + var(--header-overlap)); background-color: #d4e5f4; background-image: linear-gradient(rgba(212,229,244,.05),rgba(255,255,255,.2)),url('/assets/images/hero-sky-garden-refined.webp'); background-size: auto,100% auto; background-position: center,center bottom; background-repeat: no-repeat; }
  .site-header, .site-header.scrolled { padding-block: 8px; }
  .nav { min-height: 58px; padding: 6px 12px; gap: 12px; border-radius: 18px; }
  .nav-links { top: calc(100% + 10px); }
  .wordmark { font-size: 1.9rem; }
  .fact-line > div { min-width: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .button, .submit, .menu-button, .reader-mode, .dialog-close, .pdf-controls button, .pdf-tabs button, .blog-topics button, .blog-pagination button { transition: none; }
  .button:active, .submit:active, .menu-button:active, .blog-topics button:active, .blog-pagination button:active:not(:disabled) { transform: none; }
}
@media(prefers-reduced-transparency:reduce) {
  body::before { opacity: .08; }
  .proof-card:not(.is-red), .journey-card:not(.is-red), .case-preview, .system-preview, .native-artifacts a, .artifact-sheet, .edit-image-link, .pdf-viewer, .reader-toolbar, .dialog-topbar { background: #f9f7fa; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav, .nav::before, .site-header.scrolled .nav, .nav-links.open, .button-secondary, .button-light, .menu-button, .nav-links .nav-contact, .reader-mode, .dialog-close, .pdf-controls button, .pdf-tabs button, .blog-topics button, .blog-pagination button, .topic-pills a { background: #f9f7fa; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .button-primary, .submit, .blog-topics button[aria-pressed="true"] { background: var(--red); }
  .pdf-tabs button[aria-selected="true"] { background: #211b21; }
}
