/* UNOMOJO after dark: warm charcoal, readable ivory, and the logo's living green. */
:root{
 color-scheme:dark;
 --paper:#0c100b;
 --ink:#f2f2e9;
 --white:#f6f5ee;
 --muted:#b5bdae;
 --green:#172112;
 --soft:#141b10;
 --accent:#c1df69;
 --surface:#1c2517;
 --field:#10170d;
 --line:#47523e;
 --brand-spectrum:linear-gradient(105deg,#a8c74f 0%,#d0c557 29%,#e8a453 56%,#d56367 100%);
 --brand-text:linear-gradient(105deg,#c3e372 0%,#e3d476 30%,#f2b171 62%,#f08f98 100%);
}
::selection{background:#c1df69;color:#16200e}
body{background:var(--paper);color:var(--ink)}
h1,h2,h3{font-weight:600}
.site-header{background:var(--paper)}
.site-header nav>a:not(.button):hover,.site-header nav>a[aria-current=page]:not(.button){color:var(--accent)}
.site-header nav>a:not(.button):after{background:var(--accent)}
.button{color:#fffdf7}
.text-link:hover,.text-link:focus-visible{color:var(--accent)}
.skip-link{background:var(--accent);color:#14200d}
.menu-toggle{color:var(--ink)}
.cinematic-content h1{font-weight:600;color:#fffdf7}
.cinematic-signature,.cinematic-footer,.cinematic-intro p{color:#fffdf7}
.cinematic-stage{background:#10160d}
.cinematic-shade{background:linear-gradient(90deg,rgba(6,12,6,.74),rgba(6,12,6,.3) 49%,rgba(6,12,6,.08)),linear-gradient(0deg,rgba(6,12,6,.86),rgba(6,12,6,.27) 60%,rgba(6,12,6,.08))}
.impact{background:#141c10;color:var(--ink)}
.impact-intro p{color:#c9d1c0}
.giving-number{color:#d0e582}
.impact-note{color:#cfdfad}
.venture-name,.venture-autism .text-link,.venture-golf .text-link{color:var(--accent)}
.community-preview,.directory{background:var(--soft)}
.logo-gallery a,.org-logo{background:#f0f2e9}
.org{background:var(--surface)}
.org-logo{border-radius:7px;padding:14px}
.org-logo span{color:#25301e}
.org-info h3,.org-info>span{color:var(--ink)}
.org-info p{color:var(--muted)}
.site-footer{background:#11170e}
.page-subtitle,.journal-feature-credit{color:var(--accent)}
.values-grid article:nth-child(1) h3,.values-grid article:nth-child(5) h3{color:#c1df69}
.values-grid article:nth-child(2) h3{color:#e7cd79}
.values-grid article:nth-child(3) h3{color:#f0b284}
.values-grid article:nth-child(4) h3{color:#f1a6b3}
.search-field input{background:var(--field);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
input::placeholder,textarea::placeholder{color:#9da791;opacity:1}
.filters button{background:#25301d;color:var(--ink)}
.filters button[aria-pressed=true]{background:var(--accent);color:#16200d}
.filters button:hover{background:#344329;color:var(--ink)}
.filters button[aria-pressed=true]:hover{background:#d1e88d;color:#16200d}
.contact-form{background:var(--soft)}
.contact-form input,.contact-form select,.contact-form textarea{background:var(--field);color:var(--ink);border-color:#5c6851}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{background:#192312;border-color:var(--accent)}
.story-promise{background:#202e17;color:#eaf1dd}
.story-name{background:#171c12}
.story-equation .name-symbol{color:var(--muted)}
.name-mo{color:#c1df69}.name-jo{color:#f1b272}.name-uno{color:#f29aa8}
.story-name-copy p:last-child,.story-legacy blockquote{color:#c5dda2}
.story-personal{background:#191e14}
.story-personal .text-link{color:var(--accent)}
.story-legacy-title>p{color:var(--muted)}
.illustrated-chapter.sage,.conversation-section{background:#141e10}
.illustrated-chapter.warm,.welcome-letter{background:#1b1c12}
.illustrated-chapter .reading-column>.medical-note,
.illustrated-chapter:not(.sage):not(.warm) .reading-column>.medical-note{background:#24321b;color:#e8efdc}
.conversation-topics article{background:#202a19}
.conversation-topics article:nth-child(1) h3,.conversation-topics article:nth-child(4) h3{color:#c1df69}
.conversation-topics article:nth-child(2) h3{color:#e7c181}
.conversation-topics article:nth-child(3) h3{color:#efa8b5}
.research-feature{background:var(--soft)}
.research-feature>div:last-child>p:last-of-type{background:#24301b;color:var(--ink)}
.resource-links a{background:#bfdc6f;color:#18220e}
.resource-links a:hover{background:#d2e793;color:#18220e}
.journal-feature,.journal-archive-note,.article-notice,.article-resource,.article-aside,.article-body blockquote{background:var(--soft);color:var(--ink)}
.journal-meta,.article-meta,.article-photo figcaption,.chapter-photo>figcaption{color:var(--muted)}
.article-body a{color:#d2e6a1}
.article-photo img,.article-hero,.journal-photo,.magazine-reading figure{background:#141b10}
.article-mark img{background:#f0f2e9;padding:14px;border-radius:7px}
.article-mark .scroll-photo-frame{background:#f0f2e9}
.venture-logo.golf-logo{background:#f0f2e9;padding:11px;border-radius:6px}
/* The gallery uses existing client photographs rather than new stock artwork. */
.shared-photos{padding:70px var(--gutter);background:#141b10}
.shared-photos-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:36px}
.shared-photos-heading>div{max-width:430px}
.shared-photos-heading p{margin-bottom:10px;color:var(--muted)}
.shared-photos-grid{display:grid;grid-template-columns:1.08fr 1fr 1fr;gap:26px;align-items:start}
.shared-photos-grid figure:first-child{grid-row:span 2}
.shared-photos-grid a{display:block;overflow:hidden;border-radius:8px}
.shared-photos-grid img{height:210px;object-fit:cover;object-position:center 35%}
.shared-photos-grid figure:first-child img{height:487px;object-position:center 55%}
.shared-photos-grid figcaption{font-size:13px;line-height:1.6;color:var(--muted);margin-top:10px}
@media(max-width:900px){
 .site-header nav{background:var(--paper)}
 .cinematic-shade{background:linear-gradient(180deg,rgba(6,12,6,.78),rgba(6,12,6,.62) 44%,rgba(6,12,6,.12) 68%,rgba(6,12,6,.6))}
 .shared-photos{padding-top:46px;padding-bottom:46px}.shared-photos-grid{gap:18px}.shared-photos-grid img{height:160px}.shared-photos-grid figure:first-child img{height:390px}
}
@media(max-width:600px){
 .cinematic-intro p{color:var(--ink)}
 .shared-photos{padding-top:34px;padding-bottom:34px}
 .shared-photos-heading{display:block;margin-bottom:24px}.shared-photos-heading h2{margin-bottom:18px}.shared-photos-heading p{font-size:16px}
 .shared-photos-grid{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:0;padding-bottom:14px}
 .shared-photos-grid figure,.shared-photos-grid figure:first-child{flex:0 0 80%;scroll-snap-align:start;min-width:0}
 .shared-photos-grid img,.shared-photos-grid figure:first-child img{height:315px;object-position:center 35%}
 .shared-photos-grid figure:first-child img{object-position:center 58%}
}
@media(prefers-reduced-motion:no-preference) and (hover:hover){.shared-photos-grid img{transition:transform .5s cubic-bezier(.22,1,.36,1)}.shared-photos-grid a:hover img{transform:scale(1.025)}}
@media(forced-colors:active){
 .button,.filters button,.resource-links a{background:ButtonFace;color:ButtonText;outline:2px solid ButtonText}
 .giving-number{background:none;color:CanvasText}
}
@media print{:root{color-scheme:light;--paper:#fff;--ink:#161b12;--muted:#444c3c;--soft:#fff;--green:#fff;--accent:#36511c}.shared-photos-grid{overflow:visible}.shared-photos{background:#fff}.site-footer{background:#fff}}
.article-aside{background:transparent}
.shared-photos-grid img[src*="client-pro-am-golf"]{object-fit:contain;background:#10160d}
@media(max-width:900px){.article-aside{background:var(--soft)}}
/* A contained flight path: the illustration never becomes a floating page overlay. */
.hero-flight.home-hero{display:block;position:relative;margin:0;padding:0;min-height:0;background:var(--paper);color:var(--ink)}
.hero-flight .cinematic-stage{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:4vw;height:auto;min-height:760px;max-height:none;padding:40px var(--gutter) 210px;isolation:isolate;background:var(--paper)}
.hero-flight .cinematic-content{position:relative;top:auto;left:auto;right:auto;max-width:620px}
.hero-flight .cinematic-content h1{font-size:clamp(86px,8.4vw,132px);line-height:.96;letter-spacing:-.07em}
.hero-flight .cinematic-content>p{font-size:20px;margin:26px 0 30px;color:#d7dece}
.hero-flight .cinematic-intro{position:absolute;left:var(--gutter);right:auto;bottom:105px;width:min(42vw,500px);padding:0;background:none;color:var(--ink)}
.hero-flight .cinematic-intro p{color:#c8d0bd;font-size:16px;line-height:1.85}
.hero-flight .cinematic-footer{bottom:25px}
.hero-flight .cinematic-signature{font-size:29px}
.flight-visual{position:relative;width:100%;max-width:560px;aspect-ratio:1;justify-self:end;pointer-events:none;isolation:isolate}
.flight-bird{position:relative;transform:translate3d(var(--flight-x,0px),var(--flight-y,0px),0) rotate(var(--flight-tilt,0deg));transform-origin:center;pointer-events:none;will-change:transform}
.flight-bird-art{display:block;width:100%;height:auto;object-fit:contain}
.flight-bird-small{width:160px;margin:0 auto 18px}
@media(min-width:1600px){.flight-visual{max-width:620px}.hero-flight .cinematic-content{max-width:700px}}
@media(max-width:1150px) and (min-width:901px){.hero-flight .cinematic-content h1{font-size:9vw}.hero-flight .cinematic-stage{min-height:740px;padding-bottom:230px}.hero-flight .cinematic-intro{width:44vw}}
@media(max-width:900px){
 .hero-flight .cinematic-stage{min-height:570px;padding:38px var(--gutter) 105px;gap:3vw}
 .hero-flight .cinematic-content h1{font-size:9.3vw}
 .hero-flight .cinematic-content>p{font-size:17px;margin:22px 0 25px}
 .hero-flight .cinematic-content .button{font-size:14px;gap:24px}
 .hero-flight .cinematic-intro{position:static;width:auto;padding:26px var(--gutter) 0}
 .hero-flight .cinematic-intro p{color:var(--ink)}
 .flight-bird-small{display:none}
}
@media(max-width:600px){
 .hero-flight .cinematic-stage{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:28px var(--gutter) 100px;gap:12px}
 .hero-flight .cinematic-content h1{font-size:19vw;line-height:.98}
 .hero-flight .cinematic-content>p{font-size:16px;margin:20px 0 25px}
 .flight-visual{width:min(100%,360px);margin:0 auto;align-self:center;max-width:none}
 .hero-flight .cinematic-intro{padding-top:20px}
 .hero-flight .cinematic-signature{font-size:27px}
 .hero-flight .cinematic-footer{bottom:22px}
}
@media(prefers-reduced-motion:reduce){.flight-bird{transform:none!important;will-change:auto}}
@media print{.flight-bird{transform:none;will-change:auto}.flight-bird-small{display:none}}
.shared-photos-grid figure:first-child img{object-position:62% 30%}
.shared-photos-grid img[src*="client-treasure-house-evening"]{object-position:center 65%}
@media(max-width:600px){.hero-flight .cinematic-stage{gap:22px}}

/* The total is a display figure; its caption is sized independently of child order. */
.giving-number{font-size:clamp(76px,8vw,118px);line-height:1.1;white-space:nowrap}
@media(max-width:900px){.giving-number{font-size:clamp(76px,12vw,106px)}}
@media(max-width:600px){.giving-number{font-size:clamp(48px,16vw,96px)}}

/* A winged companion takes over once the large homepage bird leaves view. */
.flight-guide{position:fixed;left:0;top:0;width:116px;height:116px;z-index:45;pointer-events:none;opacity:0;transition:opacity .18s;will-change:transform;contain:layout paint style}
.flight-guide.is-visible{opacity:1}
.flight-guide.is-visible.is-crossing{opacity:.25}
.flight-guide-heading,.flight-guide-wings{width:100%;height:100%}
.flight-guide-heading{transition:transform .24s}
.flight-guide-wings{background:var(--um-bird-wings,none) 0 0 / 300% 200% no-repeat}
.flight-guide.is-flying .flight-guide-wings{animation:bird-wingbeat .42s steps(1,end) infinite}
@keyframes bird-wingbeat{0%,100%{background-position:0 0}16.67%{background-position:50% 0}33.33%{background-position:100% 0}50%{background-position:0 100%}66.67%{background-position:50% 100%}83.33%{background-position:100% 100%}}
.flight-toggle{font:inherit;font-size:12px;color:var(--ink);border:1px solid #65704f;border-radius:99px;background:transparent;padding:8px 12px;cursor:pointer}
.flight-toggle:focus-visible{outline:2px solid var(--lime);outline-offset:4px}
@media(max-width:600px){.flight-guide{width:64px;height:64px}}
@media(prefers-reduced-motion:reduce){.flight-guide{display:none}.flight-toggle{display:none}}
@media print{.flight-guide,.flight-toggle{display:none}}

/* A continuous home takeoff and a separate, feet-anchored resting pose. */
.flight-visual.is-controlled .flight-bird{transform:none!important}
.flight-visual.is-away .flight-bird{visibility:hidden}
.flight-guide{transform-origin:top left;overflow:visible;contain:layout style}
.flight-guide-heading{position:relative;transition:transform .2s}
.flight-guide-hero,.flight-guide-wings,.flight-guide-perched{position:absolute;inset:0;width:100%;height:100%;background-repeat:no-repeat}
.flight-guide-hero{background-image:var(--um-bird-hero,none);background-size:contain;opacity:var(--hero-opacity,0)}
.flight-guide-wings{opacity:var(--wings-opacity,1);transition:opacity .12s}
.flight-guide-perched{background-image:var(--um-bird-perched,none);background-size:contain;opacity:0;transition:opacity .12s}
.flight-guide.is-perched .flight-guide-perched{opacity:1}
.flight-guide.is-perched .flight-guide-wings{opacity:0}
@media(max-width:600px){.flight-guide{width:78px;height:78px}}

/* Keep the last flying frame during a gentle transition into the slimmer resting silhouette. */
.flight-guide-wings{animation:bird-wingbeat .42s steps(1,end) infinite;animation-play-state:paused;transition:opacity .28s ease-out}
.flight-guide.is-flying .flight-guide-wings{animation-play-state:running}
.flight-guide-perched{transform:scale(.88);transform-origin:48% 77%;transition:opacity .28s ease-out}
.flight-guide.is-perched .flight-guide-perched{animation:bird-touchdown .32s ease-out both}
@keyframes bird-touchdown{from{transform:translateY(-2px) scale(.88)}to{transform:translateY(0) scale(.88)}}

/* Preserve the whole group: these photographs have people at both edges. */
main img[src*="client-treasure-house-community"],
main img[src*="client-community-celebration"],
main img[src*="client-evening-connections"],
.shared-photos-grid img[src*="client-pro-am-golf"]{
 height:auto!important;min-height:0!important;aspect-ratio:auto;object-fit:contain;
 scale:none!important;translate:none!important;transform:none!important;
}
main img[src*="client-garden-portrait"]{object-position:50% 0%!important}
main img[src*="client-golf-together"]{object-position:50% 65%!important}
