/* Shared Editorial Tech Studio primitives. Page layouts stay in their own stylesheet. */
.studio-hero { --studio-hero-start: 64px; padding-top: var(--studio-hero-start); }
.studio-hero-copy { align-self: start; }
@media (max-width: 767.98px) {
    .studio-hero { --studio-hero-start: 48px; }
}

:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) {
    --hp-surface: var(--cg-studio-surface);
    --hp-wash: var(--cg-studio-wash);
    --hp-panel: var(--cg-studio-panel);
    --hp-ink: var(--cg-ink);
    --hp-muted: var(--cg-ink-muted);
    --hp-line: var(--cg-studio-border);
    --hp-purple: var(--cg-primary);
    --hp-purple-soft: #e3dfff;
    --hp-dark: var(--cg-dark-surface);
    background: var(--hp-surface);
    color: var(--hp-ink);
    font-family: var(--cg-font-family);
    line-height: 1.6;
}
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) ::selection { background: var(--hp-purple-soft); color: #110068; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) a:focus-visible, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) button:focus-visible { outline: 3px solid var(--cg-focus); outline-offset: 3px; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) h1, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) h2, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) h3, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) p, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) figure { margin: 0; }
.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cg-space-stack); }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer :focus-visible { outline-color: #fff; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer { padding-block: 64px 32px; background: var(--hp-dark); color: #c0c1ce; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-grid { display: grid; grid-template-columns: 4fr 2fr 3fr 3fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid #353744; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-grid > div { min-width: 0; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer h2 { margin: 0 0 20px; color: #e3dfff; font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer .hp-wordmark { filter: brightness(0) invert(1); display: block; width: 170px; height: auto; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-brand > p { margin-top: 20px; max-width: 36ch; font-size: var(--cg-text-small); line-height: var(--cg-line-small); color: inherit; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-founder-tag { display: inline-block; margin-top: 20px; padding: 6px 10px; border: 1px solid #353744; border-radius: 6px; background: #161923; color: #e1e0ec; font-size: var(--cg-text-label); line-height: var(--cg-line-label); font-weight: 700; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.65; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer li, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer a { overflow-wrap: anywhere; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-contact li, :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-contact a { display: flex; align-items: baseline; gap: 8px; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-contact li i { color: #e3dfff; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-socials { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 32px; font-size: 11px; }
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 24px; }
/* Bootstrap md/lg breakpoints; page-specific compositions retain their own grids. */
@media (max-width: 1199.98px) {
    :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-grid { gap: 24px; }
}
@media (max-width: 991.98px) {
    :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (max-width: 767.98px) {
    :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) {
    :is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}



/* Editorial Tech Studio component foundations. Page files own composition only. */
:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) main { font-size: var(--cg-text-body); line-height: var(--cg-line-body); }
.studio-display { font-size: var(--cg-text-display); line-height: var(--cg-line-display); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.studio-section-title { font-size: var(--cg-text-section); line-height: var(--cg-line-section); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.studio-cta-title { font-size: var(--cg-text-cta); line-height: var(--cg-line-cta); font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
.home-page .hp-hero-intro, .services-page .sp-lead, .hp-contact-panel > p:not(.hp-eyebrow), .sp-contact-copy > p:not(.hp-eyebrow) { font-size: var(--cg-text-lead); line-height: var(--cg-line-lead); }
.hp-section-heading > p:not(.hp-eyebrow), .hp-section-heading > div > p:not(.hp-eyebrow) { font-size: var(--cg-text-body); line-height: var(--cg-line-body); }
.hp-eyebrow { margin-bottom: 12px; color: var(--cg-primary); font-size: var(--cg-text-label); line-height: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.studio-card { min-width: 0; border: 1px solid var(--cg-studio-border); border-radius: var(--cg-radius-card); background: #fff; box-shadow: none; }
.studio-card--service, .studio-card--info, .studio-card--callout { padding: var(--cg-space-card); }
.studio-card--service { gap: var(--cg-space-card); }
.studio-card--service h3 { margin-bottom: var(--cg-space-copy); }
.studio-card--featured { padding: var(--cg-space-card-featured); border-radius: var(--cg-radius-panel); }
.studio-card--project { border-radius: var(--cg-radius-panel); }
.studio-card--dark { background: var(--cg-dark-card); border-color: var(--cg-dark-border); color: var(--cg-dark-text); }
.studio-card--service h3 { font-size: var(--cg-text-card); line-height: var(--cg-line-card); font-weight: 700; letter-spacing: -.015em; }
.studio-card--project h3, .studio-card--info h3 { font-size: var(--cg-text-card-small); line-height: var(--cg-line-card-small); font-weight: 600; letter-spacing: -.01em; }
.studio-card--project-featured h3 { font-size: var(--cg-text-card); line-height: var(--cg-line-card); font-weight: 700; letter-spacing: -.015em; }
.studio-card--service > p, .studio-card--service > div > p, .studio-card--service .sp-flagship-copy > div > p,
.studio-card--project .hp-project-copy > div > p:not(.studio-project-category), .studio-card--project .sp-project-copy > p:not(.studio-project-category), .studio-card--info p { font-size: var(--cg-text-body); line-height: var(--cg-line-body); color: var(--cg-ink-muted); }
.studio-card.studio-card--dark p { color: var(--cg-dark-muted); }
.studio-card--callout h3 { font-size: var(--cg-text-label); line-height: var(--cg-line-label); }
.studio-card--callout p { font-size: var(--cg-text-small); line-height: var(--cg-line-small); }
.cg-card-footer { padding-top: var(--cg-space-action-x); border-top: 1px solid var(--cg-studio-border); }
.home-page .hp-service-top > i, .services-page .sp-offering-top > i { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: var(--cg-radius-control); background: var(--cg-studio-wash); color: var(--cg-primary); font-size: 20px; line-height: 20px; font-weight: 400; }
.home-page .hp-trust-icon, .services-page .sp-engagement-icon { flex-shrink: 0; flex-basis: 36px; width: 36px; height: 36px; border: 1px solid var(--cg-dark-border); border-radius: var(--cg-radius-control); background: #2b2750; color: var(--hp-purple-soft); font-size: 18px; line-height: 18px; }
.studio-card .studio-project-category { font-size: var(--cg-text-label); line-height: var(--cg-line-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cg-ink-muted); }
.studio-project-category span { color: var(--cg-primary); }
.studio-technologies { display: flex; flex-wrap: wrap; gap: var(--cg-space-inline); list-style: none; }
.studio-technologies li, .services-page .sp-tag { padding: 4px 8px; border-radius: 4px; background: var(--cg-studio-panel); color: var(--cg-ink-muted); font-size: var(--cg-text-label); line-height: var(--cg-line-label); font-weight: 600; }
.home-page .hp-feature-list { font-size: var(--cg-text-small); line-height: var(--cg-line-small); }
.home-page .hp-contact-panel, .services-page .sp-contact-panel { border: 1px solid var(--cg-studio-border); border-radius: var(--cg-radius-panel); }


:is(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) .hp-footer-bottom p { font-size: var(--cg-text-label); line-height: var(--cg-line-label); color: inherit; }
@media (max-width: 1199.98px) {
    .studio-card--featured { padding: var(--cg-space-card-large); }
}
@media (max-width: 767.98px) {
    .studio-display { font-size: var(--cg-text-display-mobile); line-height: var(--cg-line-display-mobile); letter-spacing: -.025em; }
    .studio-cta-title { font-size: var(--cg-text-cta-mobile); line-height: var(--cg-line-cta-mobile); font-weight: 700; letter-spacing: -.02em; }
    .studio-card--featured { padding: var(--cg-space-card); }
}
.home-page .hp-about-copy > p:not(.hp-eyebrow), .home-page .hp-review blockquote { font-size: var(--cg-text-body); line-height: var(--cg-line-body); }
.home-page .hp-accountability p { font-size: var(--cg-text-small); line-height: var(--cg-line-small); }
.services-page .sp-principles-grid h3 { font-size: var(--cg-text-card-small); line-height: var(--cg-line-card-small); font-weight: 600; }
:where(.home-page, .services-page, .about-page, .work-page, .process-page, .case-study-page, .contact-studio-page, .confirmation-page, .insights-page, .article-page) main p { color: var(--cg-ink-muted); text-wrap: pretty; }
.home-page .hp-browser, .services-page .sp-preview { border: 1px solid var(--cg-studio-border); border-radius: var(--cg-radius-panel); box-shadow: var(--cg-shadow-frame); }
/* The hero label is the same chip; its placement belongs to each hero layout. */
.home-page .hp-hero-eyebrow, .services-page .sp-hero-label, .about-page .ap-hero-label, .process-page .pp-hero-label, .contact-studio-page .cp-hero-label, .insights-page .ip-hero-label { display: inline-flex; vertical-align: top; align-items: center; gap: var(--cg-space-inline); padding: 4px 12px; border: 1px solid var(--cg-primary-soft); border-radius: 4px; background: var(--cg-studio-wash); color: var(--cg-primary); font-size: var(--cg-text-label); line-height: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-page .hp-hero-eyebrow > span, .services-page .sp-hero-label > span, .about-page .ap-hero-label > span, .process-page .pp-hero-label > span, .contact-studio-page .cp-hero-label > span, .insights-page .ip-hero-label > span { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--cg-primary); }
.home-page .hp-service-top { font-size: var(--cg-text-label); line-height: var(--cg-line-label); }
.home-page .hp-media-label { font-size: var(--cg-text-label); line-height: var(--cg-line-label); }
