/* Shared navigation and the personal Atom & Bits pages. */
html { scroll-padding-top: 96px; }
body { overflow-wrap: break-word; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button, summary { font: inherit; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--copper); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 12px; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-nav .nav-inner { min-height: 78px; }
.site-nav .brand-mark { border: 0; width: auto; height: auto; font: 30px/1 Georgia, serif; color: var(--navy); }
.site-nav .brand > span + span { padding-left: 12px; border-left: 1px solid var(--line-strong); font-size: .83rem; }
.site-nav .nav-cta { min-height: 42px; }
.mobile-nav { display: none; }
.button { gap: 12px; min-height: 48px; font-weight: 700; border-radius: 4px; }
.button span[aria-hidden] { margin-left: 5px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 5px; font-size: .88rem; font-weight: 600; }
.text-link:hover { color: var(--copper); }
.hero { padding: 78px 0 70px; }
.hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(260px, .65fr); gap: 60px; }
.hero-grid > * { min-width: 0; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.7rem); line-height: 1.08; text-wrap: balance; }
h2, h3 { text-wrap: balance; }
.hero-copy { font-size: 1.15rem; }
.section-title { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
.section-head { grid-template-columns: 180px minmax(0,1fr); gap: 48px; }
.section-head > .section-label { padding-top: 8px; }
.section { padding: 88px 0; }
.eyebrow, .section-label { font-size: .72rem; letter-spacing: .13em; }
.answer-card { margin-top: 22px; border-radius: 2px; }
.answer-card p + p { margin-top: 16px; }
.proof-item strong { line-height: 1.35; }
.footer-inner { padding: 34px 0; gap: 40px; }
.footer-brand { margin-bottom: 8px; color: var(--navy); font-family: Georgia, serif; font-size: 1.3rem; }
.footer-inner p { font-size: .76rem; }
.footer-links { max-width: 560px; justify-content: flex-end; gap: 8px 22px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; }
.file-type { font-size: .68rem; letter-spacing: .1em; }
.timeline-item .role-line { margin: 0 0 12px; color: var(--navy); }
.timeline-item .text-link { margin-top: 12px; }
.evidence-details { margin-top: 40px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.evidence-details summary { padding: 18px 0; cursor: pointer; color: var(--navy); font-weight: 600; font-size: .87rem; }
.evidence-details p { max-width: 850px; padding: 0 0 22px; color: var(--muted); font-size: .9rem; }
.small-copy { font-size: .85rem; line-height: 1.6; color: var(--muted); }
.proof-label { margin: 28px 0 8px; font-weight: 700; font-size: .74rem; color: var(--navy); }
.evidence-card .text-link { margin-top: 15px; }
.deliverable-list article, .principle-list article { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--line-strong); }
.deliverable-list article:last-child, .principle-list article:last-child { border-bottom: 1px solid var(--line-strong); }
.deliverable-list article > span, .principle-list article > span { color: var(--copper); font-size: .84rem; padding-top: 4px; }
.deliverable-list h3, .principle-list h3 { font-size: 1.4rem; margin-bottom: 12px; }
.deliverable-list p, .principle-list p { color: var(--muted); max-width: 780px; }
.principle-list .text-link { margin-top: 12px; }

/* Homepage: the founder's voice, specific work, and a shared deliverable. */
.home-hero { padding: 80px 0 0; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .75fr); gap: 80px; align-items: start; }
.home-hero h1 { max-width: 730px; margin: 20px 0 26px; font-size: clamp(2.8rem, 5.1vw, 4.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -.05em; text-wrap: initial; }
.home-hero h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--copper); }
.home-hero .hero-copy { max-width: 590px; font-size: 1.12rem; line-height: 1.65; color: var(--text); }
.hero-personal { max-width: 535px; margin-top: 18px; font-size: .97rem; color: var(--muted); line-height: 1.7; }
.home-hero .hero-actions { gap: 24px; margin-top: 30px; }
.working-note { position: relative; padding: 30px 30px 20px; border: 1px solid #d5cdc0; background: #f4efe5; margin-top: 4px; box-shadow: 7px 7px 0 #ebe5d9; }
.note-label { margin-bottom: 28px; color: #6b5543; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; }
.perspectives { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid #d5cdc0; }
.perspectives span { padding: 12px 2px; border-bottom: 1px solid #d5cdc0; color: var(--navy); font-size: .87rem; }
.perspectives span:nth-child(even) { padding-left: 12px; border-left: 1px solid #d5cdc0; }
.shared-result { display: flex; align-items: flex-start; gap: 18px; padding: 28px 0 26px; }
.connection-line { height: 60px; width: 18px; margin-top: -28px; flex-shrink: 0; border-left: 1px solid var(--copper); border-bottom: 1px solid var(--copper); }
.shared-result p { color: var(--ink); font-size: 1.72rem; line-height: 1.2; letter-spacing: -.04em; }
.shared-result em { font-family: Georgia, serif; font-size: 1.95rem; color: var(--copper); }
.note-caption { margin-left: 36px; font-size: .8rem; line-height: 1.9; color: #695b4d; }
.working-note .text-link { margin-top: 18px; font-size: .8rem; }
.story-note blockquote { margin: 0 0 26px; color: var(--ink); font: 2.15rem/1.2 Georgia, serif; letter-spacing: -.03em; text-wrap: balance; }
.story-note-copy { color: #695b4d; font-size: .9rem; line-height: 1.8; }
.essay-intro { max-width: 880px; }
.essay-intro .hero-copy { max-width: 720px; }
.story-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; align-items: start; }
.story-layout > .section-label { padding-top: 9px; }
.story-prose { max-width: 740px; }
.story-prose h2 { margin: 0 0 28px; font-size: clamp(1.9rem, 3.2vw, 2.65rem); line-height: 1.18; letter-spacing: -.035em; }
.story-prose > p { margin: 0 0 22px; color: var(--text); font-size: 1.08rem; line-height: 1.85; }
.story-prose > p:last-child { margin-bottom: 0; }
.story-prose blockquote { margin: 32px 0; padding: 5px 0 5px 26px; border-left: 2px solid var(--copper); font: 2rem/1.35 Georgia, serif; color: var(--navy); }
.story-prose .evidence-details { margin-top: 32px; }
.story-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* The accepted narrative needs room for a full thought before the next section. */
.narrative-page .essay-heading { max-width: 1000px; }
.narrative-page .essay-hero h1 { max-width: 1000px; font-family: Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.13; }
.narrative-page .essay-intro { max-width: 760px; margin-top: 26px; }
.narrative-page .essay-intro > p { color: var(--text); font-size: 1.12rem; line-height: 1.8; margin: 0 0 18px; }
.narrative-page .essay-intro > p:last-child { margin-bottom: 0; }
.narrative-page .section-inner > p:not(.section-label) { max-width: 760px; color: var(--text); font-size: 1.08rem; line-height: 1.8; margin-bottom: 32px; }
.narrative-page .narrative-home-hero { padding: 70px 0 64px; border-bottom: 1px solid var(--line); }
.narrative-opening { max-width: 1060px; }
.narrative-page .narrative-home-hero h1 { max-width: 1060px; font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.16; letter-spacing: -.035em; text-wrap: balance; }
.narrative-page .narrative-home-hero .hero-copy { max-width: 780px; font-size: 1.22rem; line-height: 1.7; }
.narrative-page .narrative-home-hero .hero-personal { max-width: 720px; font-size: 1rem; line-height: 1.8; }
.narrative-page .role-line { max-width: 820px; }

@media (max-width: 620px) {
    .narrative-page .narrative-home-hero { padding: 44px 0 42px; }
    .narrative-page .narrative-home-hero h1 { font-size: clamp(2.2rem, 8.8vw, 3rem); }
    .narrative-page .narrative-home-hero .hero-copy { font-size: 1.08rem; }
    .narrative-page .narrative-home-hero .hero-personal { font-size: .94rem; }
    .narrative-page .essay-intro > p { font-size: 1.04rem; }
}
.experience-line { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 34px; margin-top: 64px; border-top: 1px solid var(--line); padding: 26px 0; }
.experience-line span { max-width: 260px; font-size: .8rem; color: var(--muted); line-height: 1.55; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 44px; }
.case-card { border-top: 1px solid var(--line-strong); padding-top: 24px; display: flex; flex-direction: column; }
.case-category { font-size: .67rem; letter-spacing: .07em; color: var(--copper); font-weight: 600; text-transform: uppercase; margin-bottom: 24px; }
.case-card h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 14px; }
.case-card h3 a { display: flex; justify-content: space-between; gap: 25px; text-decoration: none; }
.case-card h3 a span { font-size: 1.3rem; color: var(--copper); }
.case-card h3 a:hover { color: var(--navy); }
.case-card > p:not(.case-category):not(.case-metric) { color: var(--muted); font-size: .91rem; line-height: 1.7; }
.case-card .case-title { color: var(--text) !important; font-weight: 600; margin-bottom: 12px; }
.case-metric { font-family: Georgia, serif; font-size: 1.32rem; color: var(--navy); margin-top: auto; padding-top: 22px; }
.section-foot { display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; align-items: center; }
.section-foot > p { max-width: 340px; font-size: .78rem; color: var(--muted); }
.section-foot > div { display: flex; gap: 24px; flex-wrap: wrap; }
.section-foot .text-link { font-size: .78rem; }
.current-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.current-card { padding: 32px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 4px; }
.current-card h3 { font-size: 1.9rem; line-height: 1.17; margin: 26px 0 18px; letter-spacing: -.04em; }
.current-card > p:not(.proof-label):not(.small-copy) { font-size: .95rem; color: var(--muted); }
.status-line { display: flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 600; color: var(--navy); }
.status-dot { height: 6px; width: 6px; border-radius: 50%; background: var(--copper); flex-shrink: 0; }
.mini-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border: 1px solid var(--line); background: var(--paper); }
.mini-flow span { padding: 18px 5px; text-align: center; font-size: .7rem; border-right: 1px solid var(--line); color: var(--navy); }
.mini-flow span:last-child { border: 0; }
.desk-preview { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; background: #242c35; color: #e8e9eb; }
.desk-preview span { text-align: center; padding: 19px 4px; font-size: .7rem; border-right: 1px solid #49515b; }
.desk-preview span:last-child { color: #f4c994; border: 0; }
.current-card .text-link { margin-top: 16px; }
.offer-list { border-top: 1px solid var(--line-strong); }
.offer-row { display: grid; grid-template-columns: 175px 1fr 32px; gap: 30px; padding: 32px 0; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.offer-row:hover h3 { color: var(--copper); }
.offer-number { font-size: .7rem; color: var(--copper); text-transform: uppercase; letter-spacing: .1em; padding-top: 7px; }
.offer-row h3 { font-size: 1.4rem; margin-bottom: 12px; line-height: 1.3; }
.offer-row p { max-width: 690px; color: var(--muted); font-size: .92rem; }
.offer-arrow { font-size: 1.6rem; color: var(--copper); }
.personal-section { background: #eee8dc; }
.personal-section .section-label { color: #8b432a; }
.section.dark .card-number { color: #ecc4ac; }
.personal-principle { display: grid; grid-template-columns: 180px 1fr; gap: 48px; }
.personal-principle h2 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; }
.personal-principle h2 em { font-family: Georgia, serif; color: var(--copper); }
.personal-principle p:not(.section-label) { max-width: 640px; font-size: 1.06rem; margin-top: 26px; line-height: 1.75; }
.personal-principle .text-link { margin-top: 24px; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: end; }
.contact-grid h2 { margin-top: 18px; font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 600; line-height: 1.1; }
.contact-grid .button { margin-top: 30px; }
.contact-details { border-top: 1px solid var(--line-strong); padding: 24px 0; }
.contact-details > a, .contact-details > p { display: block; font-size: .93rem; padding: 5px 0; }
.contact-details > p { color: var(--muted); }
.contact-details .text-link { display: inline-flex; margin-top: 16px; font-size: .83rem; }

/* Homepage doors: one path for practices, one for founders and operators. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.door-section { padding: 56px 0; }
.door-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 34px; background: var(--white); border: 1px solid var(--line-strong); border-top: 3px solid var(--navy); border-radius: 8px; }
.door + .door { border-top-color: var(--copper); }
.door-label { color: var(--copper); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.door h3 { margin: 16px 0 16px; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.17; letter-spacing: -.035em; }
.door > p:not(.door-label):not(.door-qualifier) { color: var(--muted); font-size: .96rem; line-height: 1.7; }
.door-qualifier { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .72rem; font-weight: 600; color: var(--navy); }
.door .button { margin-top: auto; }
.door-qualifier, .door-offers:not(.door-points) { margin-bottom: 26px; }
.door-offers.door-points { margin-bottom: 22px; }
.door-offers { width: 100%; margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.door-offers li { border-bottom: 1px solid var(--line); }
.door-offers a { display: grid; gap: 3px; padding: 13px 28px 13px 0; position: relative; text-decoration: none; }
.door-offers a::after { content: "↗"; position: absolute; right: 2px; top: 13px; color: var(--copper); }
.door-offers span { color: var(--navy); font-weight: 600; font-size: .95rem; }
.door-offers small { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.door-offers a:hover span { color: var(--copper); }
.door-points li { display: grid; gap: 3px; padding: 13px 0; }
.door-points + .door-qualifier { margin-top: 0; }
.bridge-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; margin-top: 48px; padding: 30px 0 0; border-top: 1px solid var(--line-strong); }
.bridge-card .case-category { margin: 6px 0 0; line-height: 1.6; }
.bridge-body h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 14px; }
.bridge-body p { max-width: 760px; color: var(--text); font-size: 1rem; line-height: 1.8; }
.bridge-body .text-link { margin-top: 10px; }

/* Guides and writing: short, specific entry points. */
.writing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.writing-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 8px; text-decoration: none; color: var(--text); transition: border-color .15s ease; }
.writing-card:hover { border-color: var(--copper); }
.writing-card:hover h3 { color: var(--copper); }
.writing-type { color: var(--copper); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.writing-card h3 { margin: 14px 0 12px; color: var(--navy); font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; }
.writing-card p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) { .writing-card { transition: none; } }

/* A labelled, sample-only explanation. All panels remain available without JS. */
.workflow-demo { max-width: 900px; margin: 0 auto; border: 1px solid var(--line-strong); background: var(--white); border-radius: 5px; overflow: hidden; }
.demo-topline { display: flex; justify-content: space-between; gap: 16px; background: #242c35; color: #e8e9eb; font-size: .72rem; padding: 16px 26px; }
.demo-controls { display: none; grid-template-columns: repeat(5,1fr); border-bottom: 1px solid var(--line); }
.workflow-demo.enhanced .demo-controls { display: grid; }
.demo-controls button { border: 0; border-right: 1px solid var(--line); background: var(--paper); padding: 18px 5px; color: var(--muted); cursor: pointer; font-size: .82rem; font-weight: 600; }
.demo-controls button:last-child { border-right: 0; }
.demo-controls button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: inset 0 -3px var(--copper); }
.demo-controls button:focus-visible { outline-offset: -5px; }
.demo-panel { padding: 34px; }
.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.workflow-demo.enhanced .demo-panel { border-top: 0; min-height: 360px; }
.demo-eyebrow { color: var(--copper); font-size: .73rem; font-weight: 600; margin-bottom: 12px; }
.demo-panel h3 { font-size: 1.7rem; margin-bottom: 20px; line-height: 1.2; }
.demo-panel > p:not(.demo-eyebrow):not(.demo-boundary) { color: var(--muted); font-size: .96rem; max-width: 710px; }
.demo-panel .sample-quote { font-family: Georgia, serif; font-size: 1.2rem !important; color: var(--ink) !important; }
.demo-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-panel dt { font-size: .69rem; color: var(--copper); font-weight: 700; margin-bottom: 7px; }
.demo-panel dd { color: var(--text); font-size: .84rem; }
.demo-boundary { font-size: .79rem; color: var(--muted); }
[hidden] { display: none !important; }

@media(max-width: 1000px) {
    .home-hero-grid { gap: 38px; grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr); }
    .home-hero h1 { font-size: 3.5rem; }
    .case-grid { column-gap: 34px; }
    .current-card { padding: 26px; }
    .section-foot { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media(max-width: 900px) {
    .site-nav .nav-links, .site-nav .nav-cta { display: none; }
    .site-nav .nav-inner { min-height: 66px; position: relative; }
    .mobile-nav { display: block; }
    .mobile-nav summary { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; cursor: pointer; color: var(--navy); font-size: .84rem; border: 1px solid var(--line); border-radius: 3px; list-style: none; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav summary::after { content: "+"; font-size: 1.25rem; }
    .mobile-nav[open] summary::after { content: "−"; }
    .mobile-links { position: absolute; top: 65px; right: 0; left: 0; display: grid; padding: 12px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 16px 24px #11182712; }
    .mobile-links a { padding: 12px; min-height: 46px; text-decoration: none; font-size: .9rem; }
    .mobile-links a:hover { background: var(--wash); }
    .hero-grid, .section-head, .home-hero-grid, .personal-principle, .contact-grid, .story-layout { grid-template-columns: 1fr; gap: 30px; }
    .home-hero h1 { max-width: 740px; font-size: clamp(2.8rem, 7.5vw, 4.7rem); }
    .home-hero .hero-copy, .hero-personal { max-width: 650px; }
    .working-note { max-width: 560px; margin-top: 12px; }
    .section-head > .section-label { padding-top: 0; }
    .hero-grid .answer-card { max-width: 620px; margin-top: 0; }
    .offer-row { grid-template-columns: 120px 1fr 20px; gap: 22px; }
    .current-grid { grid-template-columns: 1fr; }
    .door-grid { grid-template-columns: 1fr; }
    .writing-grid { grid-template-columns: 1fr 1fr; }
    .bridge-card { grid-template-columns: 1fr; gap: 12px; }
    .footer-links { justify-content: flex-start; }
}
@media(max-width:620px) {
    h1 { font-size: clamp(2.35rem, 10vw, 2.8rem); }
    .hero { padding: 46px 0 48px; }
    .home-hero { padding: 48px 0 0; }
    .home-hero h1 { font-size: clamp(2.75rem, 10.5vw, 3.5rem); line-height: 1.08; }
    .home-hero .hero-copy { font-size: 1.06rem; }
    .hero-personal { font-size: .93rem; }
    .home-hero .hero-actions { gap: 10px; }
    .hero-actions .text-link { justify-content: center; width: 100%; }
    .working-note { margin-right: 7px; padding: 24px; }
    .experience-line { grid-template-columns: 1fr; gap: 12px; margin-top: 42px; padding: 22px 0; }
    .experience-line span { max-width: 100%; border-left: 2px solid var(--copper); padding-left: 12px; }
    .section { padding: 58px 0; }
    .section-head { margin-bottom: 28px; gap: 16px; }
    .case-grid { grid-template-columns: 1fr; gap: 32px; }
    .case-category { margin-bottom: 18px; }
    .current-card { padding: 24px 20px; }
    .current-card h3 { font-size: 1.72rem; }
    .door-section { padding: 40px 0; }
    .door { padding: 26px 20px; }
    .door .button { width: 100%; justify-content: center; }
    .writing-grid { grid-template-columns: 1fr; gap: 14px; }
    .writing-card { padding: 22px 20px; }
    .bridge-card { margin-top: 36px; }
    .mini-flow span, .desk-preview span { font-size: .65rem; }
    .offer-row { grid-template-columns: 1fr 20px; gap: 12px; padding: 25px 0; }
    .offer-number { grid-column: 1; }
    .offer-row > div { grid-column: 1; }
    .offer-arrow { grid-column: 2; grid-row: 2; }
    .personal-principle { gap: 22px; }
    .personal-principle h2 { font-size: 2.55rem; }
    .personal-principle p:not(.section-label) { font-size: 1rem; }
    .story-layout { gap: 20px; }
    .story-layout > .section-label { padding-top: 0; }
    .story-prose > p { font-size: 1rem; line-height: 1.8; }
    .story-prose blockquote { padding-left: 18px; font-size: 1.65rem; }
    .contact-grid { gap: 32px; }
    .deliverable-list article, .principle-list article { grid-template-columns: 30px 1fr; gap: 12px; }
    .demo-topline { padding: 14px 16px; font-size: .64rem; }
    .demo-controls button { font-size: .7rem; padding: 16px 3px; }
    .demo-panel { padding: 26px 20px; }
    .demo-panel dl { grid-template-columns: 1fr; gap: 18px; }
    .workflow-demo.enhanced .demo-panel { min-height: 440px; }
    .footer-inner { gap: 24px; }
}

/* Shared nav: six links and a button need a little more room before the menu takes over. */
.site-nav .nav-links a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.mobile-links a[aria-current="page"] { color: var(--navy); font-weight: 700; }
@media (max-width: 1120px) and (min-width: 901px) {
    .site-nav .nav-inner { gap: 18px; }
    .site-nav .nav-links { gap: 16px; }
    .site-nav .nav-links a { font-size: .8rem; }
    .site-nav .brand > span + span { display: none; }
}

/* Contact page: a short note that opens in the visitor's own email app. */
.contact-direct { max-width: 760px; margin-top: 22px; color: var(--muted); font-size: 1rem; }
.contact-direct a { color: var(--navy); font-weight: 700; text-underline-offset: 4px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr); gap: 64px; align-items: start; }
.contact-layout > * { min-width: 0; }
.contact-form-title { margin-bottom: 10px; color: var(--ink); font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.contact-form-intro { max-width: 640px; color: var(--muted); font-size: .95rem; }
.topic-note { margin-top: 20px; padding: 14px 18px; border-left: 3px solid var(--copper); background: var(--copper-soft); color: var(--text); font-size: .92rem; border-radius: 0 8px 8px 0; }
.contact-form { display: grid; gap: 22px; margin-top: 28px; padding: 30px; background: var(--white); border: 1px solid var(--line-strong); border-radius: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { color: var(--ink); font-size: .9rem; font-weight: 700; }
.field .optional { color: var(--muted); font-weight: 500; }
.field-hint { margin-top: -3px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.contact-form input, .contact-form select, .contact-form textarea, .message-copy { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; }
.contact-form textarea, .message-copy { min-height: 120px; resize: vertical; }
.contact-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--navy); }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible, .message-copy:focus-visible, .form-confirmation:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-color: var(--navy); }
.phi-note { padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.6; }
.contact-form .button { justify-self: start; border-radius: 8px; cursor: pointer; }
.form-confirmation { margin-top: 24px; padding: 26px 28px; border: 1px solid var(--line-strong); border-top: 3px solid var(--copper); border-radius: 8px; background: var(--white); }
.form-confirmation h3 { margin-bottom: 10px; color: var(--ink); font-size: 1.3rem; line-height: 1.3; }
.form-confirmation p { color: var(--muted); font-size: .95rem; }
.form-confirmation p a { color: var(--navy); font-weight: 700; }
.confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 18px; }
.confirmation-actions .button { border-radius: 8px; cursor: pointer; }
.copy-status:not(:empty) { margin-top: 12px; color: var(--navy) !important; font-weight: 600; }
.message-copy { margin-top: 14px; font-size: .88rem; }
.contact-aside { display: grid; gap: 24px; }
.contact-aside .section-label { margin: 0; }
.contact-aside .contact-details > a { color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-aside .contact-details > a:hover { color: var(--copper); }
.contact-aside .booking-link { justify-self: start; border-radius: 8px; }
.aside-note { padding-top: 20px; border-top: 1px solid var(--line); }
.aside-note h3 { margin-bottom: 8px; color: var(--ink); font-size: 1.05rem; line-height: 1.35; }
.aside-note p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.aside-note a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 620px) {
    .contact-form { padding: 22px 18px; gap: 20px; }
    .field-row { grid-template-columns: 1fr; gap: 20px; }
    .contact-form .button, .confirmation-actions .button { width: 100%; justify-self: stretch; }
    .form-confirmation { padding: 22px 18px; }
}
