/* Shared UI rules for this version: one icon family, predictable controls. */
:root{--ui-control:44px;--ui-focus:#0052ff;--ui-border:#dfe1e5}
.ui-icon{display:inline-block;vertical-align:middle;flex:none;width:20px;height:20px;color:currentColor}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--ui-focus);outline-offset:4px}
.hero-card{min-height:0!important;grid-template-columns:1fr 1fr!important;gap:48px!important;padding-top:48px!important;padding-bottom:32px!important;align-items:center!important}
.hero-title{font-size:clamp(42px,4.7vw,64px)!important;line-height:1.08!important;letter-spacing:-2px!important;max-width:600px}
.hero-title .fire-text{color:#b9bdc6!important}
.hero-eyebrow{font-size:13px!important}
.hero-lead{font-size:16px!important;line-height:1.65!important;max-width:480px;margin-top:24px!important}
.hero-cta{margin-top:28px!important;gap:12px!important;flex-wrap:wrap}
.hero-cta .btn{min-height:48px!important;font-size:14px!important;padding:14px 22px!important;gap:10px}
.hero-media{height:auto!important;min-height:0!important;aspect-ratio:1.2;transform:none!important;isolation:isolate;overflow:hidden!important;border:0!important;border-radius:24px!important;margin:0!important}
.simple-hero-photo{display:block;position:relative;width:100%;height:100%;background:#171a20}
.simple-hero-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-photo-caption{position:absolute;left:16px;right:16px;bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;color:#0a0b0d;border-radius:14px;padding:13px 16px;font-size:12px}
.hero-photo-caption b{font:500 13px 'Geist Mono',monospace}


.work-card .card-type{display:inline-flex;align-items:center;justify-content:center;color:#777e8b;min-width:24px}
.work-card .card-type .ui-icon{width:18px;height:18px}
.card-bottom{align-items:center!important;min-height:44px;gap:8px!important;padding-top:10px!important}
.card-bottom .view-work{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;padding:0!important;border-radius:50%;background:#eef2ff;color:#0052ff}
.card-bottom .view-work:hover{background:#0052ff;color:#fff}
.card-colors{gap:5px!important;flex-wrap:wrap}
.card-colors .color-dot{width:12px;height:12px}
.spec-row dt{display:flex;align-items:center;gap:10px}.spec-row dt .ui-icon{width:18px;height:18px;color:#626b7c}
.filter-toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.icon-button{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.text-button{min-height:44px;display:inline-flex;align-items:center;gap:7px}
.project-description{max-width:850px}.project-description h3{font-size:21px;font-weight:500;margin:28px 0 12px;line-height:1.35;letter-spacing:-.3px}
.project-description p{line-height:1.8!important;max-width:78ch}
.model-questions{margin-top:28px;border-top:1px solid var(--ui-border)}
.model-questions details{border-bottom:1px solid var(--ui-border);padding:18px 0}
.model-questions summary{cursor:pointer;font-size:16px;font-weight:500;min-height:28px}
.model-questions p{margin:12px 0 0}
@media(min-width:741px){.filter-toggle{display:none}}
@media(max-width:740px){.hero-card{display:flex!important;flex-direction:column;gap:28px!important;padding-top:30px!important;padding-bottom:24px!important}.hero-copy{width:100%}.hero-title{font-size:40px!important;letter-spacing:-1.2px!important}.hero-lead{font-size:14px!important;line-height:1.65!important;margin-top:20px!important}.hero-cta{margin-top:24px!important}.hero-cta .btn{font-size:13px!important;padding-inline:18px!important}.hero-media{width:100%;aspect-ratio:1.25!important;flex:none}.hero-photo-caption{left:12px;right:12px;bottom:12px;font-size:11px;padding:10px 12px}.card-bottom .view-work{height:44px;width:44px;min-width:44px}.project-description h3{font-size:19px}.project-description p:not(.eyebrow){font-size:15px!important}.spec-row dt{gap:8px}.detail-summary .spec-row{font-size:13px}}

.hero{padding-top:24px!important}.hero-card{padding-top:24px!important}
body:has(.filter-sidebar.open) .experiment-switcher,body:has(dialog[open]) .experiment-switcher{display:none}
/* Descriptive model names remain readable on narrow cards. */
.card-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:3.6em;line-height:1.3!important}
.detail-summary h1{overflow-wrap:anywhere;font-size:clamp(28px,2.6vw,40px)!important;line-height:1.15!important}
@media(max-width:740px){.card-title{font-size:13px!important;min-height:3.9em}.detail-summary h1{font-size:28px!important}}

/* Statistics: aligned value/caption pairs and a single divider per column. */
.hero .stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;width:100%;margin:0!important;padding:24px 0 0!important;border-radius:0;border-top:1px solid #ffffff1a}
.hero .stats>li{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;padding:0 28px;min-width:0;text-align:left;border:0}
.hero .stats>li:first-child{padding-left:0}
.hero .stats>li+li{border-left:1px solid #ffffff1a}
.hero .stats>li>b{display:flex;align-items:baseline;gap:0;min-height:36px;margin:0;font-size:30px!important;line-height:1.2;white-space:nowrap}
.hero .stats>li>b>small{font-size:14px;line-height:1.2;margin-left:7px}
.hero .stats>li>span{align-self:flex-start;max-width:none;margin:0;font-size:12px!important;line-height:1.5;color:#a8acb3}
@media(max-width:740px){.hero .stats{padding-top:20px!important}.hero .stats>li{padding:0 12px;min-width:0;gap:6px}.hero .stats>li>b{font-size:24px!important;min-height:29px;gap:0}.hero .stats>li>b>small{font-size:11px}.hero .stats>li>span{font-size:10px!important;line-height:1.5}}

/* Footer content and legal links share the page container. */
.foot .foot-grid{min-width:0;padding-inline:0}
.foot .foot-grid>*{min-width:0}
.foot .legal-links{margin-top:24px;gap:8px 24px;align-items:center}
.foot .legal-links a{display:inline-flex;align-items:center;min-height:28px;line-height:1.5}
@media(max-width:740px){.foot .legal-links{gap:4px 20px;margin-top:20px}.foot .legal-links a{min-height:44px}.foot-col a{overflow-wrap:anywhere}}
