@import './global.css';
@import './motion.css?v=20260930-cards';
.site-header{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--paper) 94%,transparent);backdrop-filter:blur(12px)}.header-inner{display:flex;min-height:78px;align-items:center;gap:1.3rem}.brand{display:inline-flex;align-items:center;min-width:118px;text-decoration:none}.brand img{width:120px;height:52px;object-fit:contain;object-position:left center}.brand .dark-logo{display:none}[data-theme="dark"] .brand .light-logo{display:block;filter:brightness(0) invert(1)}[data-theme="dark"] .brand .dark-logo{display:none}.main-nav{display:flex;align-items:center;gap:1.1rem;margin-left:auto;font-size:.82rem;font-weight:600}.main-nav a{text-decoration:none}.main-nav a:hover{color:var(--motion)}.header-actions{display:flex;align-items:center;gap:.55rem}.theme-button,.menu-button{display:grid;width:44px;height:44px;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--pine);cursor:pointer}.menu-button{display:none}.mobile-drawer{display:none}.hero{position:relative;overflow:hidden;padding:clamp(5rem,10vw,8rem) 0 6rem;background:var(--paper)}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);align-items:center;gap:4rem}.hero-copy{display:grid;gap:1.3rem;max-width:720px}.hero-copy h1{max-width:8ch}.hero-copy .lead{max-width:60ch;font-size:clamp(1.15rem,2.2vw,1.45rem)}.hero-copy .support{max-width:54ch;color:var(--stone)}.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.35rem}.hero-visual{position:relative;min-height:390px;display:grid;place-items:center}.orbit{position:relative;width:min(100%,410px);aspect-ratio:1;border:1px solid color-mix(in srgb,var(--motion) 46%,transparent);border-radius:46% 54% 52% 48%;transform:rotate(-11deg)}.orbit::before,.orbit::after{content:'';position:absolute;border:1px solid color-mix(in srgb,var(--terracotta) 62%,transparent);border-radius:50%}.orbit::before{inset:14%;transform:rotate(26deg)}.orbit::after{inset:28%;border-color:var(--maize);transform:rotate(-18deg)}.orbit-core{position:absolute;inset:35%;display:grid;place-items:center;border-radius:50%;background:var(--motion);color:#fff;font-weight:800;letter-spacing:.1em;transform:rotate(11deg)}.orbit-node{position:absolute;z-index:1;display:grid;width:50px;height:50px;place-items:center;border:3px solid var(--paper);border-radius:50%;background:var(--maize);color:var(--pine);font-weight:800;transform:rotate(11deg);box-shadow:0 5px 14px rgb(46 58 52 / 15%)}.orbit-node.n1{top:3%;left:44%}.orbit-node.n2{right:5%;top:49%}.orbit-node.n3{bottom:5%;left:33%}.orbit-node.n4{left:4%;top:43%}.anchor-target{scroll-margin-top:95px}.contrast-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.contrast-card{display:grid;gap:.65rem;padding:1.5rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.contrast-card.no{border-top:5px solid var(--terracotta)}.contrast-card.yes{border-top:5px solid var(--motion)}.ecosystem{display:grid;gap:1rem}.layer{position:relative;display:grid;grid-template-columns:180px 1fr;gap:1.2rem;align-items:center;padding:1.25rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.layer+.layer::before{content:'↓';position:absolute;top:-1.45rem;left:82px;color:var(--maize);font-size:1.5rem;font-weight:800}.layer-label{font-weight:800}.layer:nth-child(1) .layer-label{color:var(--motion)}.layer:nth-child(2) .layer-label{color:var(--terracotta)}.layer:nth-child(3) .layer-label{color:#8a6b18}.layer-items{display:flex;flex-wrap:wrap;gap:.5rem}.layer-items span{padding:.45rem .7rem;border:1px solid var(--line);border-radius:7px;font-size:.88rem}.project-card{display:flex;min-width:0;flex-direction:column;gap:.9rem;padding:1.4rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.project-card.featured{border-top:5px solid var(--motion);box-shadow:var(--shadow)}.project-card:nth-child(2){border-top:5px solid var(--terracotta)}.project-card:nth-child(3){border-top:5px solid var(--maize)}.project-mark{display:grid;width:58px;height:58px;place-items:center;border-radius:12px;background:var(--pine);color:var(--paper);font-size:1.25rem;font-weight:800}.project-card .card-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem;margin-top:auto}.principle-card,.impact-card{display:grid;gap:.7rem;padding:1.3rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.tech-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.tech-card{display:grid;gap:.6rem;padding:1.2rem;border:1px solid color-mix(in srgb,var(--paper) 24%,transparent);border-radius:10px;background:color-mix(in srgb,var(--paper) 7%,transparent)}.tech-card h3{font-size:1.2rem}.dark .tech-card p{color:color-mix(in srgb,var(--paper) 78%,transparent)}.impact-card{border-top:4px solid var(--motion)}.impact-card:nth-child(2){border-top-color:var(--terracotta)}.impact-card:nth-child(3){border-top-color:var(--maize)}.impact-card:nth-child(4){border-top-color:#6b8d83}.impact-number{font-size:2rem;font-weight:800;color:var(--motion)}.article-card{display:grid;gap:.7rem;min-height:210px;padding:1.3rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.article-card .status{margin-top:auto;color:var(--terracotta);font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.participation{display:grid;grid-template-columns:.8fr 1.2fr;gap:2.5rem;align-items:start}.profile-list{display:grid;gap:.7rem}.profile-item{padding:1rem;border-left:3px solid var(--maize);background:color-mix(in srgb,var(--maize) 13%,transparent)}.contact-form{display:grid;gap:1rem;padding:1.5rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.field{display:grid;gap:.35rem}.field label{font-weight:700}.field input,.field select,.field textarea{width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--pine);padding:.7rem .8rem}.field textarea{min-height:130px;resize:vertical}.check{display:flex;align-items:flex-start;gap:.6rem;font-size:.88rem}.check input{width:20px;height:20px;flex:0 0 auto}.site-footer{padding:3.5rem 0 2rem;background:var(--pine);color:var(--paper)}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:2rem}.footer-grid .brand{margin-bottom:.8rem}.footer-grid nav{display:grid;gap:.5rem;align-content:start;font-size:.86rem}.footer-grid nav a{color:color-mix(in srgb,var(--paper) 72%,transparent);text-decoration:none}.footer-grid nav a:hover{color:var(--maize)}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;padding-top:1rem;border-top:1px solid color-mix(in srgb,var(--paper) 22%,transparent);color:color-mix(in srgb,var(--paper) 72%,transparent);font-size:.8rem}.page-hero{padding:4.5rem 0 3rem;background:color-mix(in srgb,var(--paper) 82%,var(--maize) 18%)}.page-hero-inner{display:grid;gap:.9rem;max-width:800px}.page-hero-inner p{max-width:68ch;font-size:1.1rem;color:var(--stone)}.listing-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.listing-toolbar input{min-height:48px;min-width:260px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--pine);padding:.7rem}.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.55fr);gap:2rem}.detail-panel{display:grid;gap:.7rem;padding:1.3rem;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.faq{display:grid;gap:.7rem;max-width:820px}.faq details{padding:1rem;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.faq summary{cursor:pointer;font-weight:700}.faq details p{margin-top:.7rem;color:var(--stone)}.placeholder{display:grid;gap:1rem;place-items:start;max-width:700px;padding:2rem;border:1px dashed var(--line);border-radius:12px;background:var(--surface)}
@media(max-width:1080px){.main-nav{gap:.55rem}.main-nav a:nth-child(n+5){display:none}.header-actions .button{display:none}}
@media(max-width:800px){.header-inner{min-height:66px}.main-nav{display:none}.menu-button{display:grid}.mobile-drawer{position:absolute;inset:67px 0 auto;display:none;padding:1rem;border-bottom:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow)}.mobile-drawer.open{display:grid}.mobile-drawer nav{display:grid;gap:.2rem}.mobile-drawer a{padding:.75rem;border-radius:7px;text-decoration:none;font-weight:700}.mobile-drawer a:hover{background:color-mix(in srgb,var(--motion) 12%,transparent);color:var(--motion)}.hero-grid,.participation,.detail{grid-template-columns:1fr}.hero-visual{min-height:300px;order:-1}.contrast-cards{grid-template-columns:1fr}.tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.hero{padding-top:4rem}.hero-copy h1{font-size:3rem}.hero-actions{display:grid}.layer{grid-template-columns:1fr;gap:.7rem}.layer+.layer::before{top:-1.55rem;left:50%}.tech-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.listing-toolbar input{min-width:100%;width:100%}}
.site-footer .light-logo{display:block;filter:brightness(0) invert(1)}.site-footer .dark-logo{display:none}.site-footer .muted{color:#C4C5BC}

/* Home hero: the supplied Ollin cover stays visible as the main visual. */

/* Ecosystem diagram: a connected, interactive replacement for the stacked layers. */
.ecosystem-diagram{position:relative;overflow:hidden;padding:1.15rem;border:1px solid color-mix(in srgb,var(--motion) 22%,var(--line));border-radius:20px;background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--motion) 11%,var(--surface)),transparent 46%),linear-gradient(145deg,color-mix(in srgb,var(--surface) 96%,var(--motion)),var(--surface));isolation:isolate}.ecosystem-diagram::before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(color-mix(in srgb,var(--motion) 22%,transparent) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(to bottom,transparent 0%,black 28%,black 75%,transparent 100%);opacity:.25;pointer-events:none}.ecosystem-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.15rem .15rem .45rem}.ecosystem-hint{color:var(--stone);font-size:.82rem}.ecosystem-stage{--pointer-x:0px;--pointer-y:0px;position:relative;width:100%;min-height:640px;aspect-ratio:1000 / 760;transform:translate3d(var(--pointer-x),var(--pointer-y),0);transition:transform .45s cubic-bezier(.22,.61,.36,1)}.ecosystem-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.ecosystem-orbit{fill:none;stroke-width:1;stroke-dasharray:2 9;opacity:.48;transform-origin:500px 390px;animation:ecosystem-orbit 22s linear infinite}.ecosystem-orbit--outer{stroke:color-mix(in srgb,var(--motion) 46%,transparent)}.ecosystem-orbit--middle{stroke:color-mix(in srgb,var(--terracotta) 54%,transparent);animation-direction:reverse;animation-duration:18s}.ecosystem-orbit--inner{stroke:color-mix(in srgb,var(--maize) 66%,transparent);stroke-dasharray:1 7;animation-duration:14s}.ecosystem-core-glow{opacity:.55;filter:url(#ecosystem-glow);animation:ecosystem-breathe 4.5s ease-in-out infinite}.ecosystem-path{fill:none;stroke:color-mix(in srgb,var(--motion) 46%,transparent);stroke-width:1.35;stroke-dasharray:2 8;opacity:.36;transition:stroke .25s ease,stroke-width .25s ease,opacity .25s ease,filter .25s ease}.ecosystem-path.is-active{stroke:var(--motion);stroke-width:2.6;stroke-dasharray:7 8;opacity:.98;filter:url(#ecosystem-glow);animation:ecosystem-flow 1.8s linear infinite}.ecosystem-layer{position:absolute;inset:0;z-index:2;pointer-events:none}.ecosystem-layer-label{position:absolute;z-index:3;padding:.35rem .62rem;border:1px solid currentColor;border-radius:999px;background:color-mix(in srgb,var(--surface) 86%,transparent);font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.ecosystem-layer--projects .ecosystem-layer-label{top:0;left:50%;color:var(--motion);transform:translateX(-50%)}.ecosystem-layer--capabilities .ecosystem-layer-label{top:40%;left:50%;color:var(--terracotta);transform:translate(-50%,-50%)}.ecosystem-layer--principles .ecosystem-layer-label{right:1%;bottom:0;color:#8a6b18}.ecosystem-node{position:absolute;top:var(--node-y);left:var(--node-x);z-index:4;display:inline-flex;align-items:center;gap:.5rem;min-height:42px;max-width:190px;padding:.6rem .78rem;border:1px solid color-mix(in srgb,var(--node-color) 54%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--surface) 92%,var(--node-color));box-shadow:0 8px 24px rgb(46 58 52 / 9%);color:var(--pine);font:inherit;font-size:.78rem;font-weight:750;line-height:1.2;text-align:left;cursor:pointer;pointer-events:auto;transform:translate(-50%,-50%);transition:opacity .25s ease,transform .25s ease,box-shadow .25s ease,background .25s ease,border-color .25s ease,filter .25s ease}.ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{z-index:8;border-color:var(--node-color);background:color-mix(in srgb,var(--surface) 76%,var(--node-color));box-shadow:0 10px 30px color-mix(in srgb,var(--node-color) 22%,transparent),0 0 0 4px color-mix(in srgb,var(--node-color) 14%,transparent);outline:none;transform:translate(-50%,-50%) scale(1.045)}.ecosystem-node-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--node-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--node-color) 13%,transparent);animation:ecosystem-pulse 3.2s ease-in-out infinite}.ecosystem-node--projects{--node-color:var(--motion)}.ecosystem-node--capabilities{--node-color:var(--terracotta)}.ecosystem-node--principles{--node-color:var(--maize)}.ecosystem-core{position:absolute;top:51%;left:50%;z-index:5;display:grid;width:164px;height:164px;place-items:center;align-content:center;gap:.12rem;border:1px solid color-mix(in srgb,var(--motion) 75%,transparent);border-radius:50%;background:radial-gradient(circle at 40% 32%,color-mix(in srgb,var(--motion) 34%,var(--surface)),color-mix(in srgb,var(--surface) 92%,var(--motion)));box-shadow:0 0 0 8px color-mix(in srgb,var(--motion) 7%,transparent),0 0 42px color-mix(in srgb,var(--motion) 20%,transparent);color:var(--pine);transform:translate(-50%,-50%);animation:ecosystem-breathe 4.5s ease-in-out infinite}.ecosystem-core::before,.ecosystem-core::after{content:'';position:absolute;inset:-12px;border:1px solid color-mix(in srgb,var(--motion) 40%,transparent);border-radius:50%;animation:ecosystem-breathe 4.5s ease-in-out infinite reverse}.ecosystem-core::after{inset:-24px;border-color:color-mix(in srgb,var(--maize) 35%,transparent);animation-delay:-1.2s}.ecosystem-core-mark{font-size:1.65rem;line-height:1;color:var(--motion)}.ecosystem-core strong{font-size:1.25rem;letter-spacing:.18em}.ecosystem-core-caption{font-size:.65rem;letter-spacing:.09em;text-transform:uppercase;color:var(--stone)}.ecosystem-legend{display:flex;flex-wrap:wrap;gap:.75rem 1rem;margin-top:.25rem;padding:.7rem .2rem .1rem;border-top:1px solid color-mix(in srgb,var(--line) 70%,transparent);color:var(--stone);font-size:.75rem}.ecosystem-legend-item{display:inline-flex;align-items:center;gap:.42rem}.ecosystem-legend-item::before{content:'';width:8px;height:8px;border-radius:50%;background:currentColor}.ecosystem-legend-item--projects{color:var(--motion)}.ecosystem-legend-item--capabilities{color:var(--terracotta)}.ecosystem-legend-item--principles{color:#8a6b18}.ecosystem-status{min-height:1.25rem;margin-top:.7rem;color:var(--stone);font-size:.78rem}.ecosystem-diagram[data-active]:not([data-active="none"]) .ecosystem-node:not(.is-active){opacity:.27;filter:saturate(.45)}.ecosystem-diagram[data-active]:not([data-active="none"]) .ecosystem-path:not(.is-active){opacity:.08}.ecosystem-diagram[data-active]:not([data-active="none"]) .ecosystem-core{opacity:.76}
@keyframes ecosystem-orbit{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes ecosystem-flow{to{stroke-dashoffset:-30}}@keyframes ecosystem-breathe{0%,100%{transform:scale(1);opacity:.82}50%{transform:scale(1.035);opacity:1}}@keyframes ecosystem-pulse{0%,100%{box-shadow:0 0 0 4px color-mix(in srgb,var(--node-color) 13%,transparent)}50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--node-color) 4%,transparent)}}
@media(max-width:800px){.ecosystem-diagram{padding:.9rem}.ecosystem-toolbar{align-items:flex-start;flex-direction:column;gap:.55rem}.ecosystem-hint{font-size:.78rem}.ecosystem-stage{display:grid;gap:.8rem;min-height:0;aspect-ratio:auto;transform:none!important}.ecosystem-lines{display:none}.ecosystem-core{position:relative;top:auto;left:auto;order:-1;width:142px;height:142px;margin:1rem auto 1.3rem;transform:none}.ecosystem-layer{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:3.05rem .15rem .8rem;border-top:1px solid color-mix(in srgb,var(--line) 80%,transparent)}.ecosystem-layer-label{top:.55rem!important;right:auto!important;bottom:auto!important;left:.15rem!important;transform:none!important}.ecosystem-node{position:relative;top:auto;left:auto;max-width:none;min-height:44px;width:100%;transform:none}.ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{transform:translateY(-2px) scale(1.01)}.ecosystem-status{font-size:.75rem}}
@media(max-width:500px){.ecosystem-layer{grid-template-columns:1fr}.ecosystem-node{font-size:.8rem}.ecosystem-legend{display:grid;gap:.45rem}}
@media(prefers-reduced-motion:reduce){.ecosystem-stage{transform:none!important;transition:none}.ecosystem-orbit,.ecosystem-core-glow,.ecosystem-core,.ecosystem-core::before,.ecosystem-core::after,.ecosystem-node-dot,.ecosystem-path.is-active{animation:none}.ecosystem-node,.ecosystem-path{transition:none}}
.site-header--hero{position:absolute;top:0;left:0;width:100%;border-bottom:0;background:transparent;color:#fff}
.site-header--hero .header-inner{min-height:0;margin-top:1.25rem;padding:0.55rem 0.7rem 0.55rem 1rem;border:1px solid rgb(255 255 255 / 24%);border-radius:16px;background:rgb(6 33 31 / 38%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 14%),0 16px 40px rgb(0 0 0 / 12%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.site-header--hero .brand{min-width:112px}.site-header--hero .brand .light-logo{display:block;filter:brightness(0) invert(1)}.site-header--hero .brand .dark-logo{display:none}.site-header--hero .main-nav{margin-left:auto}.site-header--hero .main-nav a,.site-header--hero .theme-button{color:#fff}.site-header--hero .main-nav a:hover{color:#f8e4ae}.site-header--hero .theme-button,.site-header--hero .menu-button{border-color:rgb(255 255 255 / 28%);background:rgb(255 255 255 / 12%);color:#fff}.site-header--hero .header-actions .button{min-height:42px;background:#fff;color:#173b38}.site-header--hero .mobile-drawer{background:#123c39;color:#fff;border-bottom-color:rgb(255 255 255 / 16%)}
.hero--cover{position:relative;isolation:isolate;min-height:100svh;padding:0;overflow:hidden;background:#173b38;color:#fff}.hero--cover .hero-media{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.hero--cover .hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.hero--cover .hero-content{position:relative;z-index:1;display:flex;min-height:100svh;flex-direction:column;justify-content:flex-end;padding-top:7rem;padding-bottom:2.5rem}.hero-utility{display:flex;justify-content:space-between;gap:1rem;margin-bottom:auto;padding-top:1rem;color:rgb(255 255 255 / 78%);font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase}.hero--cover .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.56fr);align-items:end;gap:2rem}.hero--cover .hero-copy{display:grid;gap:1rem;max-width:720px;padding:clamp(1.25rem,3vw,2rem);border:1px solid rgb(255 255 255 / 24%);border-radius:20px;background:rgb(5 34 32 / 52%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 15%),0 22px 60px rgb(0 0 0 / 16%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.hero--cover .hero-copy h1{max-width:none;color:#fff;font-size:clamp(3.2rem,7vw,6.2rem);font-weight:500;letter-spacing:-.065em;text-shadow:0 2px 16px rgb(0 0 0 / 16%)}.hero--cover .hero-copy .lead{max-width:60ch;color:rgb(255 255 255 / 90%);font-size:clamp(1rem,1.8vw,1.2rem);line-height:1.5}.hero--cover .eyebrow-light{color:#f8e4ae}.hero--cover .hero-actions{margin-top:.2rem}.hero--cover .hero-actions .button{background:#fff;color:#173b38}.hero--cover .hero-actions .button.secondary{border-color:rgb(255 255 255 / 45%);background:rgb(255 255 255 / 8%);color:#fff}.hero--cover .button.ghost{justify-self:start;min-height:32px;padding:.15rem 0;color:#fff;font-size:.82rem;text-decoration-color:rgb(255 255 255 / 48%)}.hero-side{display:grid;gap:.8rem;max-width:370px;justify-self:end;padding:1.35rem 1.45rem;border:1px solid rgb(255 255 255 / 24%);border-radius:18px;background:rgb(5 34 32 / 48%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 15%),0 22px 60px rgb(0 0 0 / 14%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.hero-side-title{font-size:clamp(1.25rem,2.2vw,1.8rem);font-weight:500;letter-spacing:-.03em}.hero-side-copy{color:rgb(255 255 255 / 78%);font-size:.93rem;line-height:1.5}.hero-side-link{color:#f8e4ae;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-decoration:none;text-transform:uppercase}.hero-side-link:hover{color:#fff}.hero-scroll{display:flex;align-items:center;gap:.75rem;margin-top:1.5rem;color:rgb(255 255 255 / 80%);font-size:.72rem;font-weight:700;letter-spacing:.14em;text-decoration:none;text-transform:uppercase}.hero-scroll::before{content:'';display:block;width:2.8rem;height:1px;background:#f8e4ae}.codex-loop{overflow:hidden;background:color-mix(in srgb,var(--maize) 9%,var(--paper))}.codex-loop-heading{display:grid;gap:.85rem;max-width:720px;margin-bottom:2.4rem}.codex-loop-heading h2{color:var(--pine)}.codex-loop-heading p{max-width:62ch;color:var(--stone);font-size:1.05rem}.codex-marquee{width:100vw;margin-left:calc(50% - 50vw);overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}.codex-marquee-viewport{overflow:hidden;padding:1rem 0 1.5rem}.codex-track{display:flex;width:max-content;gap:1rem;padding-left:1rem;animation:codex-scroll 38s linear infinite}.codex-marquee:hover .codex-track{animation-play-state:paused}.codex-tile{--k1:#173b38;--k2:#b64a3a;--k3:#d3a447;--k4:#2f7f78;--k5:#f7f0df;--art:#efe4cc;display:grid;width:clamp(240px,28vw,340px);grid-template-rows:170px auto;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 14px 34px rgb(46 58 52 / 10%)}[data-theme="dark"] .codex-tile{--k1:#75c9be;--k2:#f08a76;--k3:#e5bd58;--k4:#3f8f86;--k5:#f7f5ef;--art:#1c2924}.codex-tile-art{position:relative;min-height:0;background:var(--art)}.codex-tile-art svg{display:block;width:100%;height:100%}.codex-tile-art::after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgb(0 0 0 / 2.5%) 0 1px,transparent 1px 4px),linear-gradient(to bottom,transparent 86%,var(--surface))}.codex-tile-art .k1{fill:var(--k1)}.codex-tile-art .k2{fill:var(--k2)}.codex-tile-art .k3{fill:var(--k3)}.codex-tile-art .k4{fill:var(--k4)}.codex-tile-art .k5{fill:var(--k5)}.codex-tile-art .stroke{fill:none;stroke-width:12;stroke-linecap:round;stroke-linejoin:round}.codex-tile-art .stroke.k1{stroke:var(--k1)}.codex-tile-art .stroke.k2{stroke:var(--k2)}.codex-tile-art .stroke.k3{stroke:var(--k3)}.codex-tile-art .stroke.k4{stroke:var(--k4)}.codex-tile-art path.stroke.k3:last-child{stroke-width:3}.codex-tile-art .ring{mix-blend-mode:multiply}[data-theme="dark"] .codex-tile-art .ring{mix-blend-mode:screen}.codex-tile-copy{display:grid;gap:.3rem;padding:.35rem 1.1rem 1.15rem}.codex-tile-index{color:var(--terracotta);font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.codex-tile-copy h3{color:var(--pine);font-size:1.35rem}.codex-tile-copy p{color:var(--stone);font-size:.85rem}.codex-loop-note{margin-top:1.5rem;color:var(--terracotta);font-size:.76rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
@keyframes codex-scroll{from{transform:translateX(0)}to{transform:translateX(calc(-50% - .5rem))}}
@media(max-width:800px){.site-header--hero .header-inner{margin-top:.75rem}.hero--cover .hero-content{padding-top:6.5rem;padding-bottom:1.25rem}.hero-utility{font-size:.58rem}.hero-utility span:last-child{display:none}.hero--cover .hero-grid{grid-template-columns:1fr;gap:1rem}.hero-side{max-width:none;justify-self:stretch}.hero-scroll{margin-top:1rem}.codex-tile{width:260px;grid-template-rows:150px auto}}
@media(max-width:560px){.site-header--hero .brand img{width:98px}.site-header--hero .header-inner{padding-left:.75rem}.site-header--hero .header-actions .theme-button{display:none}.hero--cover{min-height:720px}.hero--cover .hero-content{min-height:720px}.hero--cover .hero-copy{padding:1.1rem;border-radius:16px}.hero--cover .hero-copy h1{font-size:clamp(2.65rem,14vw,4rem)}.hero--cover .hero-actions{display:flex}.hero--cover .hero-actions .button{width:auto}.hero-side{padding:1rem}.codex-loop-heading{margin-bottom:1.5rem}.codex-loop-heading h2{font-size:2.35rem}.codex-track{gap:.75rem;padding-left:.75rem}.codex-loop-note{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){.codex-track{animation:none}}
@keyframes ecosystem-core-breathe{0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.9}50%{transform:translate(-50%,-50%) scale(1.035);opacity:1}}.ecosystem-core{animation:ecosystem-core-breathe 4.5s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.ecosystem-core{animation:none}}
/* Final polish: tighter composition, safer node margins and calmer active states. */
.ecosystem-diagram{padding:1.3rem;background:radial-gradient(circle at 50% 48%,color-mix(in srgb,var(--motion) 14%,var(--surface)),transparent 43%),linear-gradient(145deg,color-mix(in srgb,var(--surface) 97%,var(--motion)),var(--surface))}.ecosystem-toolbar{padding-inline:.35rem}.ecosystem-stage{min-height:600px}.ecosystem-layer::before{content:'';position:absolute;right:0;left:0;border-top:1px dashed color-mix(in srgb,var(--line) 82%,transparent);opacity:.45}.ecosystem-layer--projects::before{top:23%}.ecosystem-layer--capabilities::before{top:61%}.ecosystem-layer--principles::before{top:94%}.ecosystem-layer--projects .ecosystem-layer-label{top:.35rem;left:1rem;transform:none}.ecosystem-layer--capabilities .ecosystem-layer-label{top:38%;left:1rem;transform:none}.ecosystem-layer--principles .ecosystem-layer-label{right:auto;bottom:.2rem;left:1rem}.ecosystem-node{min-height:44px;max-width:180px;padding:.58rem .82rem;border-color:color-mix(in srgb,var(--node-color) 44%,var(--line));background:color-mix(in srgb,var(--surface) 95%,var(--node-color));box-shadow:0 6px 18px rgb(46 58 52 / 7%);font-size:.75rem}.ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{background:color-mix(in srgb,var(--surface) 78%,var(--node-color));box-shadow:0 12px 28px color-mix(in srgb,var(--node-color) 19%,transparent),0 0 0 4px color-mix(in srgb,var(--node-color) 12%,transparent)}.ecosystem-node-dot{width:8px;height:8px}.ecosystem-path{stroke-width:1.7;opacity:.48}.ecosystem-diagram[data-active]:not([data-active="none"]) .ecosystem-node:not(.is-active){opacity:.5;filter:saturate(.7)}.ecosystem-diagram[data-active]:not([data-active="none"]) .ecosystem-path:not(.is-active){opacity:.14}.ecosystem-core{width:176px;height:176px}.ecosystem-status{padding-inline:.2rem}
@media(max-width:800px){.ecosystem-stage{min-height:0}.ecosystem-layer::before{display:none}.ecosystem-layer--projects .ecosystem-layer-label,.ecosystem-layer--capabilities .ecosystem-layer-label,.ecosystem-layer--principles .ecosystem-layer-label{top:.55rem;right:auto;bottom:auto;left:.15rem;transform:none}.ecosystem-core{width:142px;height:142px}}

/* Safari compatibility fallbacks. Modern browsers keep the richer declarations above. */
.site-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.ecosystem-diagram::before{-webkit-mask-image:linear-gradient(to bottom,transparent 0%,black 28%,black 75%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0%,black 28%,black 75%,transparent 100%)}.hero--cover,.hero--cover .hero-content{min-height:100vh}@supports(height:100svh){.hero--cover,.hero--cover .hero-content{min-height:100svh}}
@supports not (background:color-mix(in srgb,red 50%,blue)){
  .site-header{background:rgba(247,245,239,.96)}
  [data-theme="dark"] .site-header{background:rgba(24,33,29,.96)}
  .section.soft{background:#f2f3ed}
  .page-hero{background:#f4e9c8}
  .notice{background:rgba(211,164,71,.15)}
  .badge,.principle-icon{background:rgba(211,164,71,.24)}
  .tech-card{border-color:rgba(247,245,239,.24);background:rgba(247,245,239,.07)}
  .dark .tech-card p{color:rgba(247,245,239,.78)}
  .profile-item{background:rgba(211,164,71,.13)}
  .footer-bottom{border-color:rgba(247,245,239,.22);color:rgba(247,245,239,.72)}
  .ecosystem-diagram{border-color:rgba(15,93,89,.22);background:#fbfaf5}
  [data-theme="dark"] .ecosystem-diagram{background:#24312b}
  .ecosystem-diagram::before{background-image:radial-gradient(rgba(15,93,89,.22) 1px,transparent 1px)}
  .ecosystem-layer-label{background:rgba(255,255,255,.86)}
  [data-theme="dark"] .ecosystem-layer-label{background:rgba(36,49,43,.92)}
  .ecosystem-node{border-color:rgba(15,93,89,.35);background:#fff}
  .ecosystem-node--capabilities{border-color:rgba(182,74,58,.54)}
  .ecosystem-node--principles{border-color:rgba(211,164,71,.68)}
  [data-theme="dark"] .ecosystem-node{background:#24312b;color:#f7f5ef}
  .ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{background:#f2fbfa;box-shadow:0 10px 30px rgba(15,93,89,.18),0 0 0 4px rgba(15,93,89,.12)}
  [data-theme="dark"] .ecosystem-node:hover,[data-theme="dark"] .ecosystem-node:focus-visible,[data-theme="dark"] .ecosystem-node.is-active{background:#30433b}
  .ecosystem-node-dot{box-shadow:0 0 0 4px rgba(15,93,89,.14)}
  .ecosystem-core{border-color:rgba(15,93,89,.75);background:#e8f4f0;box-shadow:0 0 0 8px rgba(15,93,89,.07),0 0 42px rgba(15,93,89,.2)}
  [data-theme="dark"] .ecosystem-core{background:#29413a;color:#f7f5ef}
  .ecosystem-core::before{border-color:rgba(15,93,89,.4)}
  .ecosystem-core::after{border-color:rgba(211,164,71,.35)}
  .ecosystem-legend{border-color:rgba(46,58,52,.18)}
  [data-theme="dark"] .ecosystem-legend{border-color:rgba(247,245,239,.22)}
}
/* Scroll-led 3D presentation: no pointer or click interaction. */
.ecosystem-diagram{--scroll-progress:0}.ecosystem-stage{transform-style:preserve-3d;perspective:1400px;transform:perspective(1400px) rotateX(calc((.45 - var(--scroll-progress)) * 5deg)) translateY(calc(var(--scroll-progress) * -14px));transition:transform .12s linear}.ecosystem-lines{transform:translateZ(0)}.ecosystem-layer{transform-style:preserve-3d}.ecosystem-layer--projects{transform:translateZ(54px) translateY(calc(var(--scroll-progress) * -14px))}.ecosystem-layer--capabilities{transform:translateZ(28px) translateY(calc(var(--scroll-progress) * -5px))}.ecosystem-layer--principles{transform:translateZ(4px) translateY(calc(var(--scroll-progress) * 5px))}.ecosystem-node{cursor:default;pointer-events:none;background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 89%,white),color-mix(in srgb,var(--surface) 96%,var(--node-color)));box-shadow:0 12px 0 color-mix(in srgb,var(--node-color) 13%,transparent),0 18px 28px rgb(46 58 52 / 13%);transition:none}.ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{background:linear-gradient(135deg,color-mix(in srgb,var(--surface) 89%,white),color-mix(in srgb,var(--surface) 96%,var(--node-color)));box-shadow:0 12px 0 color-mix(in srgb,var(--node-color) 13%,transparent),0 18px 28px rgb(46 58 52 / 13%);transform:translate(-50%,-50%)}.ecosystem-node-dot{animation:none}.ecosystem-path{stroke-dasharray:1 7;opacity:.54}.ecosystem-core{transform:translate(-50%,-50%) translateZ(46px);animation:none;box-shadow:0 0 0 8px color-mix(in srgb,var(--motion) 7%,transparent),0 22px 42px color-mix(in srgb,var(--motion) 25%,transparent)}.ecosystem-core::before,.ecosystem-core::after{animation:none}.ecosystem-status{color:var(--motion);font-weight:700;letter-spacing:.01em}
@media(max-width:800px){.ecosystem-stage{perspective:none;transform:none!important}.ecosystem-layer--projects,.ecosystem-layer--capabilities,.ecosystem-layer--principles{transform:none}.ecosystem-core{transform:none}.ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{transform:none}}
@media(prefers-reduced-motion:reduce){.ecosystem-stage{transform:none!important}.ecosystem-layer--projects,.ecosystem-layer--capabilities,.ecosystem-layer--principles{transform:none}.ecosystem-core{transform:translate(-50%,-50%)}}
.ecosystem-orbit,.ecosystem-core-glow{animation:none}

/* Final layout pass: keep every label inside the frame and make the scroll depth reversible. */
.ecosystem-diagram{container-type:inline-size;--scroll-tilt:0deg;--scroll-shift:0px;--projects-rise:0px;--capabilities-rise:0px;--principles-rise:0px}
.ecosystem-stage{transform-origin:50% 50%;will-change:transform;transform:perspective(1500px) rotateX(var(--scroll-tilt)) translateY(var(--scroll-shift))}
.ecosystem-layer--projects{--layer-depth:54px;--label-depth:-54px;transform:translateZ(var(--layer-depth)) translateY(var(--projects-rise))}
.ecosystem-layer--capabilities{--layer-depth:28px;--label-depth:-28px;transform:translateZ(var(--layer-depth)) translateY(var(--capabilities-rise))}
.ecosystem-layer--principles{--layer-depth:4px;--label-depth:-4px;transform:translateZ(var(--layer-depth)) translateY(var(--principles-rise))}
.ecosystem-layer-label{display:inline-flex;align-items:center;max-width:min(90%,230px);white-space:normal;line-height:1.08;text-align:left;overflow-wrap:normal;transform:translateZ(var(--label-depth))}
.ecosystem-layer--projects .ecosystem-layer-label{top:1.7rem;left:1rem;transform:translateZ(var(--label-depth))}
.ecosystem-layer--capabilities .ecosystem-layer-label{top:38%;left:1rem;transform:translateZ(var(--label-depth))}
.ecosystem-layer--principles .ecosystem-layer-label{right:auto;bottom:1rem;left:1rem;transform:translateZ(var(--label-depth))}
.ecosystem-node{max-width:18%;min-width:0;white-space:normal;overflow-wrap:break-word;line-height:1.15}
.ecosystem-node>span:last-child{min-width:0}
.ecosystem-core{width:154px;height:154px}
@container (max-width:760px){
  .ecosystem-toolbar{align-items:flex-start;flex-direction:column;gap:.55rem}
  .ecosystem-stage{display:grid;gap:.8rem;min-height:0;aspect-ratio:auto;perspective:none;transform:none!important}
  .ecosystem-lines{display:none}
  .ecosystem-core{position:relative;top:auto;left:auto;order:-1;width:142px;height:142px;margin:1rem auto 1.3rem;transform:none}
  .ecosystem-layer{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:3.05rem .15rem .8rem;transform:none}
  .ecosystem-layer::before{display:none}
  .ecosystem-layer-label,.ecosystem-layer--projects .ecosystem-layer-label,.ecosystem-layer--capabilities .ecosystem-layer-label,.ecosystem-layer--principles .ecosystem-layer-label{top:.55rem;right:auto;bottom:auto;left:.15rem;max-width:calc(100% - .3rem);transform:none}
  .ecosystem-node{position:relative;top:auto;left:auto;width:100%;max-width:none;min-height:44px;transform:none}
  .ecosystem-node:hover,.ecosystem-node:focus-visible,.ecosystem-node.is-active{transform:none}
}
@container (max-width:520px){
  .ecosystem-layer{grid-template-columns:1fr}
  .ecosystem-node{font-size:.8rem}
  .ecosystem-legend{display:grid;gap:.45rem}
}
@media(prefers-reduced-motion:reduce){
  .ecosystem-stage{transform:none!important;will-change:auto}
  .ecosystem-layer--projects,.ecosystem-layer--capabilities,.ecosystem-layer--principles{transform:none}
}

/* Static ecosystem artwork: the supplied composition is the visual source of truth. */
#ecosistema .section-heading{display:none}
#ecosistema > .container > .ecosystem-visual + .muted{display:none}
.ecosystem-visual{display:grid;gap:.7rem;width:100%;max-width:100%;margin:0}
.ecosystem-visual-frame{position:relative;overflow:hidden;border:1px solid color-mix(in srgb,var(--motion) 35%,var(--line));border-radius:24px;background:#101916;box-shadow:0 22px 55px rgb(15 35 30 / 18%),inset 0 1px 0 rgb(255 255 255 / 12%);isolation:isolate}
.ecosystem-visual-frame::after{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid rgb(255 255 255 / 8%);border-radius:inherit;box-shadow:inset 0 0 0 1px rgb(7 27 24 / 16%)}
.ecosystem-visual-image{display:block;width:100%;height:auto;aspect-ratio:1672 / 941;object-fit:contain;object-position:center;background:#101916}
.ecosystem-visual-caption{padding:0 .2rem;color:var(--stone);font-size:.78rem;line-height:1.45;text-align:right}
@media(max-width:700px){.ecosystem-visual-frame{border-radius:16px}.ecosystem-visual-caption{font-size:.72rem;text-align:left}}

/* App-like bottom navigation on phones and installed (standalone) mode */
.app-tabbar,.more-sheet{display:none}
@media(max-width:800px),(display-mode:standalone) and (max-width:1024px){
body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
.menu-button,.mobile-drawer,.mobile-drawer.open{display:none!important}
.app-tabbar{position:fixed;z-index:60;right:.6rem;bottom:calc(.6rem + env(safe-area-inset-bottom));left:.6rem;display:grid;grid-template-columns:repeat(5,1fr);gap:.1rem;padding:.35rem;border:1px solid var(--line);border-radius:22px;background:color-mix(in srgb,var(--surface) 88%,transparent);box-shadow:0 14px 38px rgb(0 0 0 / 18%);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4)}
.app-tabbar a,.app-tabbar button{display:grid;justify-items:center;gap:.15rem;min-height:52px;padding:.4rem .1rem;border:0;border-radius:16px;background:none;color:var(--stone);font:inherit;font-size:.64rem;font-weight:700;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .25s,color .25s,transform .15s}
.app-tabbar svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-tabbar a:active,.app-tabbar button:active{transform:scale(.94)}
.app-tabbar [aria-current="page"],.app-tabbar [aria-expanded="true"]{background:color-mix(in srgb,var(--motion) 16%,transparent);color:var(--motion)}
.more-sheet{position:fixed;z-index:59;right:.6rem;bottom:calc(5.1rem + env(safe-area-inset-bottom));left:.6rem;gap:.2rem;padding:.75rem;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 20px 50px rgb(0 0 0 / 22%);animation:sheet-up .25s cubic-bezier(.2,.7,.2,1)}
.more-sheet:not([hidden]){display:grid}
.more-sheet a,.more-sheet button{padding:.8rem .9rem;border:0;border-radius:12px;background:none;color:var(--pine);font:inherit;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}
.more-sheet a:active,.more-sheet button:active{background:color-mix(in srgb,var(--motion) 12%,transparent)}
.site-footer{padding-bottom:1rem}
}
@keyframes sheet-up{from{opacity:0;transform:translateY(12px)}}

/* Banners (.notice): aire alrededor, tarjeta suave con marca de maíz */
.notice{position:relative;display:flex;align-items:flex-start;gap:.85rem;margin:2rem 0 1.5rem;padding:1.05rem 1.3rem 1.05rem 1.2rem;border:1px solid color-mix(in srgb,var(--maize) 38%,var(--line));border-radius:16px;background:linear-gradient(100deg,color-mix(in srgb,var(--maize) 20%,var(--surface)),color-mix(in srgb,var(--maize) 6%,var(--surface)));color:var(--pine);font-size:.95rem;line-height:1.55;box-shadow:0 8px 22px rgb(46 58 52 / 6%)}
.notice::before{content:'';flex:none;width:.7rem;height:.7rem;margin-top:.5rem;border-radius:2px;background:var(--maize);box-shadow:0 0 0 4px color-mix(in srgb,var(--maize) 25%,transparent);transform:rotate(45deg)}
.notice+.button,.notice+a{margin-top:.25rem}
.grid+.notice,.tech-grid+.notice{margin-top:2.25rem}
/* Tarjetas de proyecto con enlace */
.project-card{position:relative;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s}
.project-card.is-linked:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--motion) 45%,var(--line));box-shadow:0 22px 48px rgb(46 58 52 / 16%)}
.project-card .card-footer{padding-top:.9rem;border-top:1px dashed var(--line)}
.project-live{display:inline-flex;align-items:center;gap:.45rem;color:var(--motion);font-weight:700;font-size:.78rem}
.project-live::before{content:'';width:.5rem;height:.5rem;border-radius:50%;background:#3aa56b;box-shadow:0 0 0 3px rgb(58 165 107 / 25%)}
.project-cta{display:inline-flex;align-items:center;gap:.45rem;min-height:40px;padding:.5rem 1.05rem;border:0;border-radius:999px;background:var(--motion);color:#fff;font:inherit;font-size:.85rem;font-weight:700;text-decoration:none;cursor:pointer;transition:background .25s,transform .25s}
.project-cta::after{content:'';position:absolute;inset:0;border-radius:inherit}
.project-cta-arrow{display:inline-block;transition:transform .25s}
.project-card:hover .project-cta-arrow{transform:translate(3px,-2px)}
.project-cta:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.project-cta.is-disabled{background:var(--line);color:var(--stone);cursor:default}
[data-theme="dark"] .project-cta{color:#10231f}
/* Tarjetas de proyecto con vista previa */
.project-card{padding:0;gap:0;overflow:hidden}
.project-card .project-body{display:flex;flex:1;flex-direction:column;gap:.7rem;padding:0 1.4rem 1.3rem}
.project-media{position:relative;aspect-ratio:16/10;margin-bottom:2.2rem;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--motion) 10%,var(--paper))}
.project-media>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.project-card.is-linked:hover .project-media>img{transform:scale(1.04)}
.project-media.is-empty{display:grid;place-items:center;background:repeating-linear-gradient(135deg,color-mix(in srgb,var(--maize) 16%,var(--surface)) 0 14px,color-mix(in srgb,var(--maize) 8%,var(--surface)) 14px 28px)}
.project-media-soon{padding:.4rem .9rem;border:1px dashed var(--line);border-radius:999px;background:var(--surface);color:var(--stone);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.project-logo{position:absolute;left:1.4rem;bottom:0;z-index:1;display:grid;width:68px;height:68px;place-items:center;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 24px rgb(46 58 52 / 18%);transform:translateY(50%);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.project-logo img{width:100%;height:100%;object-fit:cover}
.project-card.is-linked:hover .project-logo{transform:translateY(50%) rotate(-4deg) scale(1.05)}
@media(prefers-reduced-motion:reduce){.project-media>img,.project-logo{transition:none}.project-card.is-linked:hover .project-media>img{transform:none}.project-card.is-linked:hover .project-logo{transform:translateY(50%)}}
/* Botones: aire respecto al contenido previo y acabado más cuidado */
.section .container>.button,.section .container>.notice+.button{align-self:flex-start;margin-top:2.25rem}
.section .container>.grid+.button{margin-top:2.5rem}
.section .container>.notice+.button{margin-top:.5rem}
.button{min-height:50px;padding:.8rem 1.7rem;border-radius:999px;letter-spacing:.005em;box-shadow:0 8px 20px rgb(15 93 89 / 20%);transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .25s,color .25s,border-color .25s,filter .25s}
.button:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgb(15 93 89 / 28%)}
.button:active{transform:translateY(-1px)}
.button:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.button.secondary{box-shadow:none;background:color-mix(in srgb,var(--motion) 6%,transparent);border-color:color-mix(in srgb,var(--motion) 55%,transparent)}
.button.secondary:hover{background:var(--motion);border-color:var(--motion);color:#fff;filter:none;box-shadow:0 12px 26px rgb(15 93 89 / 24%)}
[data-theme="dark"] .button.secondary:hover{color:#10231f}
.button.ghost{min-height:44px;padding:.5rem 1rem;box-shadow:none}
.button.ghost:hover{box-shadow:none;filter:none}
.button[disabled]{box-shadow:none}
.hero--cover .button.secondary:hover{background:#fff;border-color:#fff;color:#173b38}
@media(prefers-reduced-motion:reduce){.button:hover,.button:active{transform:none}}

/* Ecosystem v2: interactive, always-dark stage (see components/ecosystem-diagram.js) */
.eco{--c-projects:#75C9BE;--c-capabilities:#F08A76;--c-principles:#E5BD58;--ink:#F7F5EF;--mute:#B9C2BB}
.eco-frame{position:relative;display:grid;gap:1rem;padding:clamp(.8rem,2vw,1.4rem);border:1px solid color-mix(in srgb,var(--motion) 35%,var(--line));border-radius:24px;color:var(--ink);background:radial-gradient(ellipse at 50% 48%,#1d3a34 0,#101916 62%);box-shadow:0 22px 55px rgb(15 35 30 / 18%),inset 0 1px 0 rgb(255 255 255 / 12%)}
.eco-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;justify-self:center;padding:.3rem;border:1px solid rgb(255 255 255 / 14%);border-radius:999px;background:rgb(0 0 0 / 28%)}
.eco-tab{padding:.45rem .9rem;border:0;border-radius:999px;color:var(--mute);background:none;font:inherit;font-size:.82rem;cursor:pointer;transition:background .2s,color .2s}
.eco-tab::before{content:'';display:inline-block;width:.6rem;height:.6rem;margin-right:.45rem;border:2px solid var(--c);border-radius:50%}
.eco-tab[data-tier=all]::before{display:none}
.eco-tab[data-tier=projects]{--c:var(--c-projects)}.eco-tab[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-tab[data-tier=principles]{--c:var(--c-principles)}
.eco-tab:hover{color:var(--ink)}
.eco-tab[aria-pressed=true]{color:#101916;background:#f4e7a8}
.eco-tab:focus-visible,.eco-node:focus-visible{outline:2px solid #fff;outline-offset:2px}
.eco-stage{position:relative;container-type:inline-size;aspect-ratio:1000 / 620;width:100%}
.eco-lines,.eco-lines svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.eco-line{fill:none;stroke:var(--c);stroke-width:1.3;opacity:.38;vector-effect:non-scaling-stroke;transition:opacity .3s,stroke-width .3s}
.eco-line[data-tier=projects]{--c:var(--c-projects)}.eco-line[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-line[data-tier=principles]{--c:var(--c-principles)}
.eco-line.is-on{opacity:1;stroke-width:2.2;stroke-dasharray:6 8;animation:eco-flow 1.2s linear infinite}
@keyframes eco-flow{to{stroke-dashoffset:-14}}
.eco-core{position:absolute;z-index:2;display:grid;place-items:center;width:18cqw;height:18cqw;aspect-ratio:1/1;translate:-50% -50%;border-radius:50%;background:radial-gradient(circle at 50% 50%,#16231e,#070c0a 75%);box-shadow:0 0 0 1px rgb(244 231 168 / 55%),0 0 18px rgb(244 231 168 / 45%),inset 0 0 22px rgb(244 231 168 / 22%),0 0 70px rgb(229 189 88 / 30%),0 0 130px rgb(117 201 190 / 18%);animation:eco-breathe 5s ease-in-out infinite}
.eco-core-logo{width:56%;aspect-ratio:1;background:#fffbe0;-webkit-mask:url('../assets/brand/isotipo.svg') center/contain no-repeat;mask:url('../assets/brand/isotipo.svg') center/contain no-repeat;filter:drop-shadow(0 0 3px #fff6b8) drop-shadow(0 0 10px #f4d35e) drop-shadow(0 0 22px #e5bd58);animation:eco-neon 3.2s ease-in-out infinite}
@keyframes eco-neon{0%,100%{filter:drop-shadow(0 0 3px #fff6b8) drop-shadow(0 0 10px #f4d35e) drop-shadow(0 0 22px #e5bd58)}50%{filter:drop-shadow(0 0 2px #fff6b8) drop-shadow(0 0 7px #f4d35e) drop-shadow(0 0 14px #e5bd58)}}
@media(prefers-reduced-motion:reduce){.eco-core-logo{animation:none}}
@keyframes eco-breathe{50%{box-shadow:0 0 0 1px rgb(255 255 255 / 24%),0 0 80px rgb(229 189 88 / 50%),0 0 140px rgb(117 201 190 / 30%)}}
.eco-tier{position:absolute;z-index:1;display:grid;gap:.15rem;translate:0 0;font-size:clamp(.55rem,1.5cqw,.8rem);color:var(--c);text-transform:uppercase;letter-spacing:.08em}
.eco-tier[data-tier=projects]{translate:-50% 0;text-align:center}
.eco-tier strong{font-size:clamp(.78rem,2cqw,1.2rem);text-transform:none;letter-spacing:0;line-height:1.1}
.eco-tier span{color:var(--mute);font-size:.8em}
.eco-tier[data-tier=projects]{--c:var(--c-projects)}.eco-tier[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-tier[data-tier=principles]{--c:var(--c-principles)}
.eco-node{position:absolute;z-index:3;max-width:17cqw;translate:-50% -50%;padding:.45em .9em;border:1px solid var(--c);border-radius:999px;color:var(--ink);background:#14201c;font:inherit;font-size:clamp(.56rem,1.5cqw,.92rem);line-height:1.2;text-align:center;cursor:pointer;transition:transform .25s,box-shadow .25s,background .25s,opacity .3s}
.eco-node[data-tier=projects]{--c:var(--c-projects)}.eco-node[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-node[data-tier=principles]{--c:var(--c-principles)}
.eco-node:hover,.eco-node:focus-visible,.eco-node[aria-pressed=true]{transform:scale(1.08);background:color-mix(in srgb,var(--c) 28%,#14201c);box-shadow:0 0 22px color-mix(in srgb,var(--c) 55%,transparent)}
.eco[data-tier=projects] :is(.eco-node,.eco-line,.eco-tier,.eco-dot):not([data-tier=projects]),
.eco[data-tier=capabilities] :is(.eco-node,.eco-line,.eco-tier,.eco-dot):not([data-tier=capabilities]),
.eco[data-tier=principles] :is(.eco-node,.eco-line,.eco-tier,.eco-dot):not([data-tier=principles]){opacity:.14;pointer-events:none}
.eco-panel{display:grid;gap:.25rem;min-height:5.6rem;padding:.9rem 1.1rem;border:1px solid rgb(255 255 255 / 12%);border-radius:16px;background:rgb(0 0 0 / 26%);align-content:center}
.eco-panel p{margin:0;max-width:62ch;color:var(--mute);font-size:.92rem}
.eco-panel strong{font-size:1.1rem}
.eco-panel a{justify-self:start;color:#f4e7a8;font-size:.88rem}
.eco-kicker{color:var(--c,var(--mute));font-size:.7rem;letter-spacing:.1em;text-transform:uppercase}
.eco-kicker[data-tier=projects]{--c:var(--c-projects)}.eco-kicker[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-kicker[data-tier=principles]{--c:var(--c-principles)}
.eco-branch,.eco-mini{display:contents}
.eco-dot{display:none}
.eco-caption{color:var(--stone);font-size:.78rem;text-align:right}
.eco.is-ready:not(.is-in) :is(.eco-node,.eco-tier,.eco-line,.eco-core){opacity:0}
.eco.is-ready .eco-node,.eco.is-ready .eco-core{transition-delay:calc(var(--i,0) * 45ms)}
@media(max-width:760px){
  .eco-stage{aspect-ratio:auto;container-type:inline-size;position:relative;display:grid;gap:1.7rem}
  .eco-mini{position:relative;display:block;container-type:inline-size;aspect-ratio:1000 / 620}
  .eco-lines{display:block}
  .eco-frame{gap:1.7rem}.eco-stage{display:contents}.eco-tabs{margin-bottom:-.7rem}
  .eco-branch[data-tier=projects]{order:0}.eco-mini{order:1}.eco-branch[data-tier=capabilities]{order:2}.eco-branch[data-tier=principles]{order:3}
  .eco-mini::before,.eco-mini::after,.eco-branch[data-tier=capabilities]::after{content:'';position:absolute;z-index:0;left:50%;width:2px;translate:-50% 0;opacity:.75;pointer-events:none}
  .eco-mini::before{bottom:85.5%;height:calc(14.5% + 1.7rem);background:var(--c-projects)}
  .eco-mini::after{top:48.4%;bottom:-1.7rem;background:linear-gradient(var(--c-projects),var(--c-capabilities))}
  .eco-branch[data-tier=capabilities]::after{top:100%;height:1.7rem;background:linear-gradient(var(--c-capabilities),var(--c-principles))}
  .eco:not([data-tier=all]) .eco-mini::after,.eco:not([data-tier=all]) .eco-branch::after{display:none}
  .eco-line{opacity:.55}
  .eco-core{width:17cqw;height:17cqw}
  .eco-dot{position:absolute;z-index:3;display:block;width:11px;height:11px;padding:0;border:0;border-radius:50%;translate:-50% -50%;background:var(--c);box-shadow:0 0 8px var(--c);transition:scale .2s}
  .eco-dot::after{content:'';position:absolute;inset:-12px}
  .eco-dot.is-on{scale:1.9;box-shadow:0 0 16px var(--c)}
  .eco-dot[data-tier=projects]{--c:var(--c-projects)}.eco-dot[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-dot[data-tier=principles]{--c:var(--c-principles)}
  .eco-branch{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;padding:1.5rem .8rem 1.1rem;border:1px solid color-mix(in srgb,var(--c) 45%,transparent);border-radius:18px;background:color-mix(in srgb,var(--c) 9%,#101916)}
  .eco-branch::before{content:'';position:absolute;top:-6px;left:50%;width:10px;height:10px;translate:-50% 0;border-radius:50%;background:var(--c);box-shadow:0 0 12px var(--c)}
  .eco-branch[data-tier=projects]::before{top:auto;bottom:-6px}
  .eco-branch[data-tier=projects]{--c:var(--c-projects)}.eco-branch[data-tier=capabilities]{--c:var(--c-capabilities)}.eco-branch[data-tier=principles]{--c:var(--c-principles)}
  .eco-tier[data-tier],.eco-node{position:static;translate:none;max-width:none;font-size:.85rem}
  .eco-tier{flex-basis:100%;margin-bottom:.3rem;text-align:center!important;font-size:.7rem}.eco-tier strong{font-size:1.02rem}
  .eco[data-tier=projects] .eco-branch:not([data-tier=projects]),.eco[data-tier=capabilities] .eco-branch:not([data-tier=capabilities]),.eco[data-tier=principles] .eco-branch:not([data-tier=principles]){display:none}
  .eco-tabs{display:grid;grid-template-columns:1fr 1fr;justify-self:stretch;border-radius:16px}.eco-tab{padding:.5rem .4rem;font-size:.76rem}
  .eco-tabs{order:-2}.eco-panel{order:-1;min-height:0;position:sticky;top:4.5rem;z-index:6;background:#0c1411}
  .eco-frame{border-radius:16px}.eco-caption{text-align:left}
}
@media(prefers-reduced-motion:reduce){.eco *{animation:none!important;transition:none!important}.eco.is-ready:not(.is-in) *{opacity:1!important}}

/* Tema oscuro: sección .dark sobre fondo claro #E2E1DC con tarjetas y banner adaptados. */
[data-theme="dark"] .section.dark{--paper:#18211D;background:#E2E1DC;color:#2E3A34}
[data-theme="dark"] .section.dark .eyebrow{color:#0F5D59}
[data-theme="dark"] .section.dark h2,[data-theme="dark"] .section.dark h3{color:#2E3A34}
[data-theme="dark"] .section.dark .section-heading p{color:#5B5B57}
[data-theme="dark"] .section.dark .tech-card{border-color:#CFCEC6;background:#F1F0EB;box-shadow:0 8px 22px rgb(46 58 52 / 8%)}
[data-theme="dark"] .section.dark .tech-card p{color:#5B5B57}
[data-theme="dark"] .section.dark .notice{border-color:#D3A44766;background:linear-gradient(100deg,#EFE3C2,#F1F0EB);color:#2E3A34}

/* Tema oscuro: footer claro (#E2E1DC) con logo de trazo oscuro, sin el recuadro negro del logo invertido. */
[data-theme="dark"] .site-footer{background:#E2E1DC;color:#2E3A34}
[data-theme="dark"] .site-footer .light-logo{display:block;filter:none}
[data-theme="dark"] .site-footer .dark-logo{display:none}
[data-theme="dark"] .site-footer .muted,[data-theme="dark"] .footer-grid nav a,[data-theme="dark"] .footer-bottom{color:#5B5B57}
[data-theme="dark"] .footer-grid nav a:hover{color:#0F5D59}
[data-theme="dark"] .footer-bottom{border-color:#C4C3BB}

/* Principle cards */
.principle-card{position:relative;display:flex;flex-direction:column;gap:.8rem;padding:1.5rem;border-radius:16px;overflow:hidden}
.principle-card::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:var(--motion);opacity:.85}
.principle-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.3rem}
.principle-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:var(--motion);color:#F7F5EF;box-shadow:0 6px 16px color-mix(in srgb,var(--motion) 28%,transparent)}
.principle-icon svg{width:24px;height:24px}
.principle-num{color:var(--stone);font-size:.78rem;font-weight:700;letter-spacing:.16em;font-variant-numeric:tabular-nums;opacity:.7}
.principle-card h3{margin:0;font-size:1.3rem;line-height:1.15;text-wrap:balance}
.principle-card p{margin:0}
@media(min-width:801px){.principle-card h3{min-height:2.3em}}
.motion .principle-card::after{z-index:0}.principle-card>*{position:relative;z-index:1}
 :is(.project-cta,.button):focus-visible{outline-color:var(--focus)}
 .ecosystem-note{margin-top:1rem}.impact-note{margin-top:1.2rem}
 .eco-tier-projects{left:50%;top:2.9%}.eco-tier-capabilities{left:4%;top:26.6%}.eco-tier-principles{left:4%;top:66.9%}
 .eco-core{left:50%;top:48.4%}
 .eco-node-0{left:12%;top:17.7%;--i:0}.eco-node-1{left:31%;top:16.1%;--i:1}.eco-node-2{left:50%;top:14.5%;--i:2}.eco-node-3{left:69%;top:16.1%;--i:3}.eco-node-4{left:88%;top:17.7%;--i:4}
 .eco-node-5{left:25%;top:37.9%;--i:5}.eco-node-6{left:21.5%;top:49.2%;--i:6}.eco-node-7{left:29%;top:60.5%;--i:7}.eco-node-8{left:75%;top:37.9%;--i:8}.eco-node-9{left:78.5%;top:49.2%;--i:9}.eco-node-10{left:71%;top:60.5%;--i:10}
 .eco-node-11{left:13%;top:82.3%;--i:11}.eco-node-12{left:28%;top:87.9%;--i:12}.eco-node-13{left:42%;top:92.7%;--i:13}.eco-node-14{left:58%;top:92.7%;--i:14}.eco-node-15{left:72%;top:87.9%;--i:15}.eco-node-16{left:87%;top:82.3%;--i:16}
