/* Auranium — subpage styles (site-wide, dark Operations Room) */
/* Requires tokens.css, fonts.css, homepage.css (base) to be loaded first. */

/* --- Page hero (subpage landing) --- */
.page-hero{min-height:480px;display:flex;flex-direction:column;justify-content:center;padding-block:56px;border-bottom:1px solid var(--border-subtle)}
.page-hero .eyebrow{margin-bottom:20px}
.page-hero h1{font-size:clamp(36px,4.6vw,64px);line-height:1.05;max-width:24ch}
.page-hero .lead{max-width:62ch;margin-top:8px}
.page-hero .hero-actions{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}

/* --- Section blocks used across subpages --- */
.section{padding:72px 48px;border-bottom:1px solid var(--border-subtle)}
.section-head{max-width:62ch;margin-bottom:36px}
.section-head h2{font-size:clamp(28px,3vw,44px);line-height:1.12}

/* --- Breadcrumb --- */
.breadcrumb{font-size:14px;color:var(--text-muted);padding:16px 0 0;display:flex;gap:8px;flex-wrap:wrap}
main>.breadcrumb{padding-inline:48px}
.breadcrumb a{color:var(--text-muted)}
.breadcrumb a:hover{color:var(--brand-active)}
.breadcrumb .sep{color:var(--border-strong)}

/* --- Two-column feature rows --- */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.split .split-art{margin:0}
.split-art img{aspect-ratio:16/9;object-fit:cover}
.split.reverse .split-copy{order:2}
.split.reverse .split-art{order:1}
.split h3{font-size:clamp(24px,2.5vw,34px);line-height:1.15}
.split p{color:var(--text-secondary)}

/* --- Check list (service deliverables) --- */
.check-list{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:14px}
.check-list li{position:relative;padding-left:32px;color:var(--text-secondary)}
.check-list li::before{content:"";position:absolute;left:0;top:2px;width:20px;height:20px;border:1px solid var(--brand-active);display:block}
.check-list li::after{content:"";position:absolute;left:5px;top:7px;width:10px;height:5px;border-left:2px solid var(--brand-active);border-bottom:2px solid var(--brand-active);transform:rotate(-45deg)}

/* --- Pricing / service meta grid --- */
.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border-subtle);margin-top:32px}
.meta-cell{padding:24px;border-right:1px solid var(--border-subtle)}
.meta-cell:last-child{border-right:0}
.meta-cell .label{display:block;color:var(--text-muted);font-size:13px;margin-bottom:6px}
.meta-cell .value{font:700 20px var(--font-brand);color:var(--text-primary)}

/* --- Blog grid --- */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--border-subtle)}
.post-card{display:flex;flex-direction:column;padding:28px 24px;border-right:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle)}
.post-card:nth-child(3n){border-right:0}
.post-card img{aspect-ratio:16/10;object-fit:cover;margin-bottom:18px}
.post-card .post-cat{color:var(--brand-active);font-size:12px;font-weight:700;letter-spacing:.08em;margin-bottom:8px}
.post-card h3{font-size:22px;line-height:1.22;margin:0 0 10px}
.post-card h3 a{color:var(--text-primary)}
.post-card h3 a:hover{color:var(--brand-active)}
.post-card .post-excerpt{color:var(--text-secondary);font-size:15px;margin:0 0 18px;flex:1}
.post-card .post-meta{color:var(--text-muted);font-size:13px;display:flex;gap:12px;align-items:center}

/* --- Category chips --- */
.category-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:32px}
.category-nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--border-strong);color:var(--text-secondary);font-weight:600}
.category-nav a:hover{color:var(--brand-active);border-color:var(--brand-active)}
.category-nav a.is-active{background:var(--brand-primary);border-color:var(--brand-primary);color:var(--text-primary)}

/* --- Article prose --- */
.article{width:100%;max-width:840px;margin-inline:auto;padding:0 48px 72px}
.article .breadcrumb{padding-top:20px}
.article .article-head{border-bottom:1px solid var(--border-subtle);padding-bottom:40px;margin-bottom:48px}
.article h1{font-size:clamp(32px,4vw,52px);line-height:1.1;max-width:18ch;margin-bottom:16px}
.article .article-meta{color:var(--text-muted);font-size:14px;display:flex;gap:16px;flex-wrap:wrap}
.article .article-lead{max-width:700px;font-size:20px;line-height:1.5;color:var(--text-secondary);margin:0}
.article-cover{margin:32px 0 0}
.article-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.article-body{max-width:700px;margin-inline:auto;font-size:18px;line-height:1.72;color:var(--text-secondary)}
.article-body h2{font-size:28px;line-height:1.2;margin:44px 0 16px;color:var(--text-primary)}
.article-body h3{font-size:22px;line-height:1.25;margin:32px 0 12px;color:var(--text-primary)}
.article-body p{margin:0 0 20px}
.article-body ul,.article-body ol{margin:0 0 20px;padding-left:24px}
.article-body li{margin-bottom:10px}
.article-body a{color:var(--brand-active)}
.article-body a:hover{color:var(--text-primary)}
.article-body strong{color:var(--text-primary)}
.article-body blockquote{border-left:2px solid var(--brand-primary);padding:8px 0 8px 20px;margin:28px 0;color:var(--text-primary);font-size:20px}
.article-body code{font-family:ui-monospace,monospace;background:var(--bg-inset);padding:2px 6px;font-size:15px}
.article-cta{max-width:700px;margin:48px auto 0;padding:32px;background:var(--bg-raised);border-top:2px solid var(--brand-primary)}

/* --- How we work --- */
.work-hero{max-width:none}
.work-stages .section-head,.review-points .section-head{margin-bottom:40px}
.stage-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border-subtle)}
.stage-grid li{padding:32px 28px 8px;border-right:1px solid var(--border-subtle)}
.stage-grid li:last-child{border-right:0}
.stage-num,.review-grid span{display:block;color:var(--brand-active);font:900 16px/1 var(--font-brand);letter-spacing:.08em;margin-bottom:20px}
.stage-grid h3,.collaboration-list h3,.review-grid h3{font-size:22px;line-height:1.2;margin-bottom:12px}
.stage-grid p,.collaboration-list p,.review-grid p{color:var(--text-secondary);margin:0}
.work-split{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:64px;align-items:start}
.collaboration-list{border-top:1px solid var(--border-subtle)}
.collaboration-list article{display:grid;grid-template-columns:minmax(140px,1fr) 2fr;gap:24px;padding:24px 0;border-bottom:1px solid var(--border-subtle)}
.collaboration-list h3{margin:0}
.review-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border-subtle)}
.review-grid article{padding:28px 24px;border-right:1px solid var(--border-subtle)}
.review-grid article:last-child{border-right:0}
.handoff .check-list{margin-top:0}

/* --- About --- */
.about-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px}
.principle-list{list-style:none;padding:0;margin:0;display:grid;gap:0;border-top:1px solid var(--border-subtle)}
.principle-list li{display:grid;grid-template-columns:48px 1fr;gap:16px;padding:20px 0;border-bottom:1px solid var(--border-subtle);align-items:start}
.principle-list .num{color:var(--brand-active);font:900 18px var(--font-brand)}

/* --- Book call form --- */
.book-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:48px;align-items:start}
.book-form{display:grid;gap:20px}
.book-form label{display:block;font-size:14px;color:var(--text-secondary);margin-bottom:8px}
.book-form input,.book-form select,.book-form textarea{width:100%;min-height:48px;padding:12px 14px;background:var(--bg-inset);border:1px solid var(--border-strong);color:var(--text-primary);font:16px var(--font-ui)}
.book-form textarea{min-height:140px;resize:vertical}
.book-form input:focus,.book-form select:focus,.book-form textarea:focus{outline:3px solid var(--focus);outline-offset:2px}
.book-form .field-note{font-size:13px;color:var(--text-muted)}

/* --- Legal prose --- */
.legal{max-width:720px}
.legal h2{font-size:24px;line-height:1.2;margin:40px 0 14px;color:var(--text-primary)}
.legal p{color:var(--text-secondary);margin:0 0 16px}
.legal ul{margin:0 0 16px;padding-left:24px;color:var(--text-secondary)}
.legal li{margin-bottom:8px}

/* --- Responsive --- */
@media(max-width:900px){
.page-hero{padding-inline:32px}
.section{padding:64px 32px}
.article{padding-inline:32px}
main>.breadcrumb{padding-inline:32px}
.blog-grid{grid-template-columns:1fr}
.post-card{border-right:0}
.meta-grid{grid-template-columns:1fr}
.meta-cell{border-right:0;border-bottom:1px solid var(--border-subtle)}
.split,.about-grid,.book-grid,.work-split{grid-template-columns:1fr;gap:32px}
.stage-grid{grid-template-columns:1fr}
.stage-grid li{border-right:0;border-bottom:1px solid var(--border-subtle);padding:24px 0}
.review-grid{grid-template-columns:1fr 1fr}
.review-grid article:nth-child(2){border-right:0}
.review-grid article:nth-child(-n+2){border-bottom:1px solid var(--border-subtle)}
.collaboration-list article{grid-template-columns:1fr;gap:8px}
.split.reverse .split-copy,.split.reverse .split-art{order:0}
}
@media(max-width:767px){
.page-hero{min-height:auto;padding-block:56px;padding-inline:16px}
.section{padding:56px 16px}
.article{max-width:none;padding:0 16px 56px}
.article .article-head{padding-bottom:32px;margin-bottom:40px}
.article-body{font-size:17px;line-height:1.72}
.article-cta{padding:24px}
main>.breadcrumb{padding-inline:16px}
}
