:root{--bg: #f7f5f2;--surface: #ffffff;--text: #1f2933;--muted: #52606d;--line: #d9e2ec;--brand: #0f766e;--brand-dark: #115e59;--shadow: 0 10px 30px rgba(15, 23, 42, .08);--radius: 14px;--investigations: #0f766e;--explorations: #2563eb;--adventures: #15803d;--quests: #7c3aed;--font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;--mobile-max: 1000px;--header-height: 5rem}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;min-height:100%;font-family:var(--font);color:var(--text);background:var(--bg);line-height:2}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.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}.site-header{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.site-header-inner{max-width:1200px;margin:0 auto;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.site-header--home .site-header-inner{position:relative}.brand-row{display:flex;align-items:center;gap:1rem}.brand-row img{height:38px;width:auto}.site-title{margin:0;font-size:1.35rem;font-weight:700}.site-title--home{position:absolute;left:50%;transform:translate(-50%)}.site-nav a{color:var(--brand);font-weight:600}.site-nav a:hover{text-decoration:underline}.header-browse-center{display:flex;flex:1;align-items:center;justify-content:space-between;gap:1rem;min-width:0}.browse-search-wrap{flex:1;max-width:320px;position:relative}.browse-search-wrap input{width:100%;border:1px solid var(--line);border-radius:10px;padding:.45rem .75rem;font:inherit;line-height:1.5}.browse-search-wrap input:focus{border-color:var(--text);outline:none}.header-title-nav{display:flex;align-items:baseline;gap:1rem}.page{max-width:1200px;margin:0 auto;padding:1.5rem 1.25rem 1rem}body.page-home{background:var(--surface)}body.page-browse{overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(220px,1fr));gap:0;min-height:min(70vh,720px);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.category-card{position:relative;display:flex;align-items:center;justify-content:center;background-color:var(--surface);background-size:cover;background-repeat:no-repeat;border:1px solid rgba(255,255,255,.65);min-height:220px;transition:transform .15s ease,filter .15s ease}.category-card:hover{transform:scale(1.01);filter:brightness(1.03);z-index:1}.category-card-inner{position:relative;z-index:1;width:min(85%,360px);padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.5rem;text-align:center;border:2px ridge rgba(255,255,255,.85)}.category-card-backdrop{position:absolute;inset:0;background:#ffffffd1;backdrop-filter:blur(8px);z-index:0}.category-card-inner h2,.category-card-inner p{position:relative;z-index:1;margin:0}.category-card h2{font-size:1.45rem;line-height:1.5}.category-card p{color:var(--text);line-height:1.5}.category-card .meta{font-size:.92rem;font-style:italic;font-weight:500;color:var(--accent)}.category-card .meta.duration{font-style:normal}.category-card.investigations{--accent: var(--investigations)}.category-card.explorations{--accent: var(--explorations)}.category-card.adventures{--accent: var(--adventures)}.category-card.quests{--accent: var(--quests)}.browse-page{padding-top:1rem;padding-bottom:.5rem;height:calc(100dvh - var(--header-height));display:flex;flex-direction:column;overflow:hidden}.browse-layout{display:grid;grid-template-columns:280px 1fr;gap:1.25rem;align-items:stretch;min-height:0;flex:1;overflow:hidden}.browse-results-pane{display:flex;flex-direction:column;min-height:0;overflow:hidden}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.filters{position:sticky;top:var(--filters-top, 5.5rem);align-self:start;max-height:var(--filters-height, calc(100dvh - 6.5rem) );overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;min-height:0}.filter-drawer-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 1rem;border-bottom:1px solid var(--line);flex-shrink:0}.filter-drawer-title{margin:0;font-size:1.25rem;font-weight:700}.filter-drawer-toggle{appearance:none;border:none;background:none;padding:0;font:inherit;font-size:inherit;font-weight:inherit;color:inherit;cursor:default;display:inline-flex;align-items:center;gap:.35rem}.filter-chevron{display:none}.filter-reset-header{appearance:none;border:none;background:none;padding:0;font:inherit;text-decoration:underline;cursor:pointer;color:inherit;line-height:1.5}.filter-drawer-header-actions{display:flex;align-items:center;gap:.75rem}.filter-drawer-close{display:none}.filter-form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.filter-form-body{overflow-y:auto;padding:0 1rem;flex:1}.filter-group{border-top:1px solid var(--line);padding-top:.75rem;margin-top:.75rem}.filter-group summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;align-items:center;line-height:1.5}.filter-group summary::-webkit-details-marker{display:none}.filter-options{margin-top:.5rem;display:grid;gap:.35rem}.filter-group.is-empty,.filter-group[hidden]{display:none}.filter-options label{display:flex;gap:.5rem;align-items:flex-start;font-size:.92rem;color:var(--muted);line-height:1.5}.skills{border-left:6px solid #0b6f73}.character{border-left:6px solid #bf7c00}.meta-learning{border-left:6px solid #3c4950}.filter-options .skills,.filter-options .character,.filter-options .meta-learning{display:grid;gap:.35rem;padding-left:.65rem;margin-bottom:.5rem}.filter-options[data-filter-group=Subcompetency] .skills *,.filter-options[data-filter-group=Subcompetency] .character *,.filter-options[data-filter-group=Subcompetency] .meta-learning *{line-height:1.5;margin:.25em 0}.project-attributes .skills,.project-attributes .character,.project-attributes .meta-learning{padding-left:.65rem;margin-bottom:.45rem}.project-attributes .skills ul,.project-attributes .character ul,.project-attributes .meta-learning ul{list-style:none;padding-left:0;margin:0}.project-attributes .skills li,.project-attributes .character li,.project-attributes .meta-learning li{margin:.25em 0;line-height:1.5}.filter-actions{display:flex;gap:.5rem;margin-top:1rem;padding:0 1rem 1rem;flex-shrink:0}button,.button{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:999px;padding:.45rem .9rem;font:inherit;cursor:pointer;line-height:1.5}button.primary,.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover,.button.primary:hover{background:var(--brand-dark)}.button.source-link{background:#000;border-color:#000;border-radius:10px;color:#fff;padding:1em}.button.source-link:hover{background:#222;border-color:#222}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;color:var(--muted);flex-shrink:0;line-height:1.5}.results-grid{display:grid;gap:.75rem;overflow-y:auto;min-height:0;flex:1}.result-card{display:grid;grid-template-columns:96px 1fr;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);transition:border-color .15s ease}.result-card:hover{border-color:var(--brand)}.result-card.no-image{grid-template-columns:1fr}.result-card img{width:96px;height:96px;object-fit:cover;border-radius:10px;background:#eef2f7}.result-card h3{margin:0;font-size:1.05rem;line-height:1.5}.result-card p{margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.badge{display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:.15rem .5rem;border-radius:999px;background:#e6fffa;color:var(--brand-dark);margin-bottom:.35rem}.project-detail{display:grid;gap:1rem}.project-layout{display:grid;grid-template-columns:minmax(240px,30%) minmax(0,1fr);align-items:stretch;overflow:hidden}.project-attributes{padding:1rem 1rem 1.25rem;border-right:1px solid var(--line);background:#fafafa}.project-attributes h2{margin:0 0 .85rem;padding-bottom:.65rem;border-bottom:1px solid var(--line);font-size:1rem}.project-attributes .attribute-section{margin-bottom:.85rem}.project-attributes .attribute-section:last-child{margin-bottom:0}.project-attributes h3{margin:0 0 .35rem;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.project-attributes ul{margin:0;padding-left:1.1rem}.project-attributes li{margin:.2rem 0;color:var(--text);line-height:1.4}.project-main{padding:1.25rem;min-width:0}.project-content{display:grid;grid-template-columns:1fr;gap:1.5rem;align-items:start}.project-content.has-image{grid-template-columns:minmax(0,1.4fr) minmax(220px,.9fr)}.project-content img{width:100%;max-height:360px;object-fit:cover;border-radius:calc(var(--radius) - 4px);background:#eef2f7}.project-copy{display:flex;flex-direction:column;gap:.85rem;min-width:0}.project-copy h1{margin:0;line-height:1.2}.project-copy .description{display:flex;flex-direction:column;gap:.75rem}.project-copy .description p{margin:0;color:var(--text);line-height:1.6}.project-copy .button{align-self:flex-start;margin-top:.25rem}.back-link{display:inline-flex;align-items:center;gap:.35rem;color:var(--brand);font-weight:600}.empty-state{padding:2rem;text-align:center;color:var(--muted)}.no-results{display:flex;flex-direction:column;align-items:center;gap:1rem}.no-results p{margin:0}@media(max-width:1000px){*{box-shadow:none!important}.site-header-inner{flex-direction:column;align-items:center;gap:.5rem;padding:.75rem 1rem}.site-title--home{position:static;transform:none}.site-header--browse .site-header-inner{align-items:stretch}.header-browse-center{flex-direction:column-reverse;align-items:center;width:100%}.header-title-nav{flex-direction:column;align-items:center;gap:.25rem}.browse-search-wrap{max-width:none;width:80vw}body.page-home{overflow:hidden}.home-page{max-width:none;padding:0;height:calc(100dvh - var(--header-height));display:flex;flex-direction:column;overflow:hidden}.hero-grid{grid-template-columns:1fr;grid-template-rows:auto;min-height:0;flex:1;overflow-y:auto;border:none;border-radius:0}.category-card{min-height:0;padding:50px 0;border:none!important}.category-card-inner{width:60%}.browse-page{max-width:none;padding:0}.browse-layout{grid-template-columns:1fr;grid-template-rows:auto 1fr;gap:0}.filters{position:static;height:auto;max-height:none;overflow:visible;border-radius:0;border-left:none;border-right:none}.filters:not(.open) .filter-form-body,.filters:not(.open) .filter-actions{display:none}.filters:not(.open) .filter-reset-header{display:none}.filters:not(.open) .filter-drawer-close{display:none}.filters.open .filter-drawer-close{display:inline-flex;align-items:center;justify-content:center;appearance:none;border:none;background:none;padding:0;min-width:2rem;min-height:2rem;font-size:2rem;line-height:1;cursor:pointer;color:inherit}.filter-actions{flex-direction:column}.filter-drawer-close-footer{width:100%;background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700;padding:.65rem 1rem}.filter-drawer-close-footer:hover{background:var(--brand-dark);border-color:var(--brand-dark)}.filter-chevron{display:inline}.filter-drawer-toggle{cursor:pointer}.filters.open{position:fixed;inset:0;z-index:30;max-height:none;background:var(--surface)}.filters.open .filter-form-body{flex:1;overflow-y:auto}.browse-results-pane{padding:.75rem 1rem;min-height:0}.result-card .badge,.result-card p{display:none}.result-card img{width:auto;height:auto;max-height:100px}.result-card h3{margin:0}.project-layout{display:flex;flex-direction:column-reverse}.project-attributes{border-right:none;border-bottom:none;border-top:1px solid var(--line)}.project-content.has-image{grid-template-columns:1fr}.project-copy .description p{text-align:justify}.project-main{padding:1.25rem 2rem 1.25rem 1.5rem}.project-content img{max-width:100%}}@media(min-width:1001px){.filter-actions{display:none}}
