/* ==========================================================
   sterin.dev — inner pages (project and about pages)
   Loads after main.css and reuses its tokens and components.
   ========================================================== */
.page { padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(64px, 10vw, 120px); }
.page .container { max-width: 1080px; }
.nav.solid { border-bottom-color: var(--line); background: rgba(6, 7, 12, .8); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }

.app-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 40px -12px rgba(255, 153, 51, .4); border: 1px solid var(--line); }
.app-id .eyebrow { margin: 0; }
.page h1 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.lede { color: var(--muted-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; margin-top: 20px; max-width: 620px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; margin-top: 36px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.facts div { background: var(--surface); padding: 14px 16px; }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-size: 15px; font-weight: 600; margin-top: 4px; }

.shots { display: flex; gap: 16px; justify-content: center; }
.shots img { width: min(46%, 240px); height: auto; border-radius: 26px; border: 1px solid var(--line-2); background: #000; box-shadow: var(--glow); }
.shots img:nth-child(2) { transform: translateY(28px); }
.shots.single img { width: min(100%, 420px); border-radius: 20px; }
.shots.single img:nth-child(2) { transform: none; }
.shots.single .viewer { width: min(100%, 460px); }

.block { margin-top: clamp(64px, 9vw, 112px); }
.block h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; margin-bottom: 20px; }
.block > p { color: var(--muted-2); font-size: 18px; line-height: 1.65; max-width: 760px; }
.block > p + p { margin-top: 14px; }
.block a:not(.btn):not(.play-badge) { color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.card h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 12px; }
.card p { color: var(--muted-2); font-size: 15px; line-height: 1.6; }
.card ul { display: grid; gap: 8px; }
.card li { position: relative; padding-left: 18px; color: var(--muted-2); font-size: 15px; line-height: 1.55; }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.faq { margin-top: 24px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted-2); line-height: 1.65; margin-top: 10px; }

.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.more a { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .35s var(--ease); }
.more a:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.more img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.more .mono { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--deep-2); color: var(--accent); font-weight: 700; font-size: 14px; }
.more b { display: block; font-size: 15px; }
.more small { display: block; color: var(--muted); font-size: 13px; }

.site-foot { background: var(--deep); color: var(--on-deep-muted); border-top: 1px solid var(--line); padding: 40px 0 28px; font-size: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 24px; }
.site-foot nav a:hover { color: #fff; }
.site-foot p { font-size: 13px; }

@media (max-width: 860px) {
  .app-hero { grid-template-columns: 1fr; }
  .shots { margin-top: 8px; }
}
