html { scroll-behavior: smooth; }

body {
    background: #030712;
    color: #dbeafe;
    overflow-x: hidden;
}

#main-content { overflow: hidden; }
.breadcrumbs { max-width: 1180px; margin: 0 auto; padding: 18px 24px 0; }
.breadcrumbs ol { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; color: #64748b; font-size: .82rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; color: #334155; }
.breadcrumbs a { color: #94a3b8; text-decoration: none; }
.breadcrumbs a:hover { color: #67e8f9; }

.projects-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 52px;
    align-items: end;
    max-width: 1180px;
    margin: 0 auto;
    padding: 88px 24px 92px;
    position: relative;
}
.projects-hero::before {
    content: "";
    position: absolute;
    width: 680px;
    height: 480px;
    top: -100px;
    left: 25%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgba(34,211,238,.14), transparent 68%);
}
.projects-hero-copy, .hero-proof { position: relative; z-index: 1; }
.eyebrow {
    color: #67e8f9;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1.3;
    margin: 0 0 16px;
    text-transform: uppercase;
}
.eyebrow i { margin-right: 7px; }
.projects-hero h1 {
    color: #f8fafc;
    font-size: clamp(2.7rem, 6vw, 5rem);
    letter-spacing: -.055em;
    line-height: 1.03;
    margin: 0 0 24px;
    max-width: 780px;
}
.projects-hero h1 span { color: #22d3ee; }
.hero-lede, .section-heading > p:not(.eyebrow) { color: #94a3b8; font-size: 1.04rem; line-height: 1.75; }
.hero-lede { max-width: 720px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
    align-items: center;
    border-radius: 9px;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 700;
    gap: 9px;
    padding: 13px 18px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: #22d3ee; color: #06202a; box-shadow: 0 9px 25px rgba(34,211,238,.18); }
.button-primary:hover { background: #67e8f9; box-shadow: 0 12px 30px rgba(34,211,238,.3); }
.button-secondary { border: 1px solid rgba(148,163,184,.3); color: #cbd5e1; }
.button-secondary:hover { border-color: #22d3ee; color: #67e8f9; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(56,189,248,.2); border-radius: 18px; background: rgba(15,23,42,.62); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero-proof div { padding: 25px 12px; text-align: center; }
.hero-proof div + div { border-left: 1px solid rgba(148,163,184,.15); }
.hero-proof strong { color: #f8fafc; display: block; font-size: 1.65rem; }
.hero-proof span { color: #94a3b8; display: block; font-size: .7rem; letter-spacing: .04em; margin-top: 7px; text-transform: uppercase; }

.project-principles, .track-section, .projects-section, .partner-section { max-width: 1180px; margin: 0 auto; padding: 78px 24px; }
.project-principles { border-top: 1px solid rgba(148,163,184,.1); }
.section-heading { margin: 0 auto 38px; max-width: 740px; text-align: center; }
.section-heading.compact { margin-bottom: 28px; }
.section-heading h2, .license-section h2 { color: #f8fafc; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.035em; line-height: 1.15; margin: 0 0 13px; }
.section-heading > p:last-child { margin: 0; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principles-grid article { background: rgba(15,23,42,.55); border: 1px solid rgba(56,189,248,.14); border-radius: 14px; padding: 25px; }
.principles-grid i { color: #22d3ee; font-size: 1.3rem; }
.principles-grid h3 { color: #f8fafc; font-size: 1.05rem; margin: 18px 0 8px; }
.principles-grid p, .partner-steps p { color: #94a3b8; font-size: .9rem; line-height: 1.65; margin: 0; }
.track-section { padding-top: 16px; }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.track-card { align-items: center; background: #0f172a; border: 1px solid rgba(148,163,184,.16); border-radius: 12px; color: #e2e8f0; display: flex; gap: 13px; min-width: 0; padding: 17px; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.track-card:hover { border-color: #22d3ee; transform: translateY(-3px); }
.track-card > span:nth-child(2) { flex: 1; }
.track-card strong, .track-card small { display: block; }
.track-card small { color: #94a3b8; font-size: .75rem; line-height: 1.4; margin-top: 4px; }
.track-card > i { color: #64748b; font-size: .8rem; }
.track-icon { align-items: center; background: rgba(34,211,238,.1); border-radius: 9px; color: #67e8f9; display: flex; flex: 0 0 38px; height: 38px; justify-content: center; }

.projects-section { max-width: 1280px; padding-top: 65px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 0 auto 34px; }
.project-filter { background: rgba(15,23,42,.75); border: 1px solid rgba(148,163,184,.24); border-radius: 999px; color: #94a3b8; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; padding: 9px 16px; }
.project-filter:hover, .project-filter.active { background: rgba(34,211,238,.13); border-color: #22d3ee; color: #a5f3fc; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project-card { background: linear-gradient(145deg, rgba(15,23,42,.86), rgba(7,13,28,.92)); border: 1px solid rgba(56,189,248,.15); border-radius: 15px; display: grid; grid-template-columns: 132px minmax(0, 1fr); min-height: 290px; overflow: hidden; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.project-card:hover { border-color: rgba(34,211,238,.55); box-shadow: 0 15px 35px rgba(0,0,0,.25); transform: translateY(-4px); }
.project-card[hidden] { display: none; }
.card-visual { align-items: center; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: 20px 15px; }
.card-visual span { align-self: flex-start; color: rgba(255,255,255,.55); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.card-visual i { color: rgba(255,255,255,.85); font-size: 2.4rem; margin: auto 0; }
.assistive-visual { background: linear-gradient(165deg, #075985, #164e63 52%, #0f172a); }
.care-visual { background: linear-gradient(165deg, #115e59, #134e4a 52%, #0f172a); }
.research-visual { background: linear-gradient(165deg, #4c1d95, #312e81 52%, #0f172a); }
.practical-visual { background: linear-gradient(165deg, #9a3412, #713f12 52%, #0f172a); }
.card-content { display: flex; flex-direction: column; padding: 22px 21px; }
.card-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; justify-content: space-between; margin-bottom: 12px; }
.track-label, .status { border-radius: 999px; font-size: .66rem; font-weight: 800; letter-spacing: .05em; padding: 5px 8px; text-transform: uppercase; }
.track-label { background: rgba(34,211,238,.1); color: #67e8f9; }
.status { color: #cbd5e1; }
.status-design { background: rgba(250,204,21,.11); color: #fde68a; }
.status-concept { background: rgba(148,163,184,.14); color: #cbd5e1; }
.status-prototype { background: rgba(52,211,153,.11); color: #86efac; }
.project-card h3 { color: #f8fafc; font-size: 1.18rem; line-height: 1.3; margin: 0 0 9px; }
.card-summary { color: #94a3b8; font-size: .88rem; line-height: 1.6; margin: 0 0 15px; }
.project-facts { border-left: 2px solid rgba(34,211,238,.3); margin: 0 0 15px; padding-left: 12px; }
.project-facts div + div { margin-top: 9px; }
.project-facts dt { color: #67e8f9; font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.project-facts dd { color: #cbd5e1; font-size: .78rem; line-height: 1.45; margin: 2px 0 0; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.card-tags span { background: rgba(2,6,23,.7); border: 1px solid rgba(148,163,184,.15); border-radius: 5px; color: #94a3b8; font-size: .67rem; padding: 4px 6px; }
.project-details { border-top: 1px solid rgba(148,163,184,.14); margin-top: 17px; }
.project-details summary { align-items: center; color: #cbd5e1; cursor: pointer; display: flex; font-size: .76rem; font-weight: 800; justify-content: space-between; list-style: none; padding: 12px 0 2px; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary i { color: #22d3ee; font-size: .65rem; transition: transform .2s ease; }
.project-details[open] summary i { transform: rotate(180deg); }
.project-details summary:hover { color: #67e8f9; }
.brief-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 0 2px; }
.brief-grid > div { background: rgba(2,6,23,.46); border: 1px solid rgba(148,163,184,.11); border-radius: 8px; padding: 11px; }
.brief-grid .brief-wide { grid-column: 1 / -1; }
.brief-grid h4 { color: #67e8f9; font-size: .7rem; letter-spacing: .05em; margin: 0 0 6px; text-transform: uppercase; }
.brief-grid p, .brief-grid ol { color: #94a3b8; font-size: .75rem; line-height: 1.55; margin: 0; }
.brief-grid ol { padding-left: 17px; }
.brief-grid li + li { margin-top: 4px; }
.card-link { color: #67e8f9; font-size: .78rem; font-weight: 800; margin-top: 16px; text-decoration: none; }
.card-link i { font-size: .68rem; margin-left: 5px; transition: margin .2s ease; }
.card-link:hover i { margin-left: 9px; }
.no-projects { color: #94a3b8; text-align: center; }

.license-section { align-items: flex-start; background: linear-gradient(120deg, rgba(16,185,129,.12), rgba(14,116,144,.08)); border-bottom: 1px solid rgba(52,211,153,.25); border-top: 1px solid rgba(52,211,153,.25); display: flex; gap: 24px; margin: 30px auto 0; max-width: 1280px; padding: 43px max(24px, calc((100% - 1132px) / 2)); }
.license-icon { align-items: center; background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.3); border-radius: 12px; color: #6ee7b7; display: flex; flex: 0 0 52px; font-size: 1.3rem; height: 52px; justify-content: center; }
.license-section .eyebrow { color: #6ee7b7; margin-bottom: 9px; }
.license-section h2 { font-size: 1.75rem; margin-bottom: 12px; }
.license-section p { color: #a7f3d0; font-size: .9rem; line-height: 1.7; margin: 0; max-width: 850px; }
.license-section a { color: #fef08a; font-weight: 700; }
.license-note { color: #cbd5e1 !important; font-size: .78rem !important; margin-top: 12px !important; }
.resource-link { color: #a7f3d0; display: inline-flex; font-size: .8rem; font-weight: 800; gap: 7px; margin-top: 15px; text-decoration: none; }
.resource-link:hover { color: #f0fdf4; text-decoration: underline; }
.partner-section { padding-bottom: 94px; }
.partner-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 auto 32px; max-width: 950px; }
.partner-steps > div { border-top: 2px solid #22d3ee; padding-top: 16px; }
.partner-steps span { color: #22d3ee; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.partner-steps h3 { color: #f8fafc; font-size: 1rem; margin: 10px 0 7px; }
.partner-section > .button { display: flex; margin: 0 auto; width: max-content; }

@media (max-width: 900px) {
    .projects-hero { grid-template-columns: 1fr; padding-top: 65px; }
    .hero-proof { max-width: 520px; }
    .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .projects-hero, .project-principles, .track-section, .projects-section, .partner-section { padding-left: 18px; padding-right: 18px; }
    .principles-grid, .track-grid, .partner-steps { grid-template-columns: 1fr; }
    .project-card { grid-template-columns: 95px minmax(0, 1fr); }
    .card-visual { padding: 16px 10px; }
    .card-visual i { font-size: 1.8rem; }
    .card-content { padding: 18px 15px; }
    .card-meta { align-items: flex-start; flex-direction: column; }
    .brief-grid { grid-template-columns: 1fr; }
    .brief-grid .brief-wide { grid-column: auto; }
    .license-section { padding: 34px 18px; }
}
@media (max-width: 480px) {
    .projects-hero h1 { font-size: 2.55rem; }
    .hero-proof strong { font-size: 1.35rem; }
    .hero-proof span { font-size: .62rem; }
    .project-card { grid-template-columns: 1fr; }
    .card-visual { min-height: 95px; flex-direction: row; }
    .card-visual i { margin: 0; }
    .license-section { flex-direction: column; }
}
