/* Readable content first: no dependency on a remote animation engine. */
.js-enhanced .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
.hero-title { font-size: clamp(2.8rem, 4.5vw, 4rem); line-height: 1.06; }
.hero-copy { min-height: 540px; }
.hero-copy::after { display: none; }
.hero-telemetry-panel { min-height: 0; }
.hero-telemetry-panel .telemetry-screen { min-height: 220px; height: 260px; flex: 0 1 auto; }
.services-section { padding-block: 64px 16px; scroll-margin-top: 110px; }
.services-intro { max-width: 800px; margin-bottom: 28px; }
.services-intro h2 { margin: 12px 0; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1.12; letter-spacing: -.035em; }
.services-intro > p:last-child { color: var(--bento-text-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--bento-card); border: 1px solid var(--bento-border); border-radius: 24px; }
.service-card:nth-child(2) { background: var(--bento-secondary-soft); }
.service-card:nth-child(3) { background: var(--bento-primary); }
.service-number { font-family: var(--font-mono); color: #8f3824; font-size: .85rem; }
.service-card h3 { font-size: 1.4rem; line-height: 1.2; margin: 0; }
.service-card p { font-size: .95rem; line-height: 1.65; color: var(--bento-text-soft); margin: 0; }
.service-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; min-height: 44px; font-weight: 700; color: #8f3824; text-underline-offset: 4px; }
.case-study { margin-top: 20px; border-top: 1px solid currentColor; padding-top: 12px; }
.case-study summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-size: .9rem; font-weight: 700; line-height: 1.5; }
.case-study dl { font-size: .9rem; line-height: 1.6; }
.case-study dt { margin-top: 12px; font-weight: 700; }
.case-study dd { margin: 4px 0 0; }
.profile-certifications { font-size: .9rem; line-height: 1.6; color: var(--bento-text-soft); margin-bottom: 20px; }
.saas-footer-meta { flex-wrap: wrap; gap: 10px; }
.saas-footer-meta .saas-stack-text { flex: 1 1 100%; }
.project-open-label { font-size: .85rem; font-weight: 700; }
.form-required-note { font-size: .85rem; color: var(--bento-text-soft); margin: 0 0 18px; }
.contact-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer .footer-links { flex-wrap: wrap; gap: 12px 24px; }
.footer .footer-links > span { flex-basis: 100%; }
.footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #68615b; opacity: 1; }
.legal-page { width: min(850px, calc(100% - 32px)); margin: 32px auto; padding: clamp(24px, 5vw, 48px); background: var(--bento-card); border-radius: 24px; border: 1px solid var(--bento-border); }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 24px 0; }
.legal-page h2 { font-size: 1.35rem; margin: 30px 0 12px; }
.legal-page p, .legal-page li { color: var(--bento-text-soft); font-size: 1rem; line-height: 1.75; margin-block: 12px; }
.legal-page ul { padding-left: 24px; }
.legal-page a { color: #8f3824; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; right: 0; left: 0; flex-direction: column; max-height: calc(100dvh - 110px); overflow-y: auto; }
    .nav-links.is-open { display: flex; }
    .hero-copy { grid-column: span 4; }
    .hero-telemetry-panel { grid-column: span 2; padding: 24px; }
    .telemetry-header { flex-wrap: wrap; gap: 10px; }
    .telemetry-footer { grid-template-columns: 1fr; }
    .hero-title { font-size: clamp(2.6rem, 5.6vw, 3.6rem); }
    .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .hero-copy, .hero-telemetry-panel { grid-column: 1; }
    .hero-title { font-size: clamp(2.15rem, 9vw, 3.5rem); overflow-wrap: anywhere; }
    .hero-copy { min-height: auto; }
    .hero-telemetry-panel { padding: 20px; }
    .hero-telemetry-panel .telemetry-screen { min-height: 0; height: 120px; margin: 12px 0; }
    .telemetry-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .telemetry-footer strong { overflow-wrap: anywhere; }
    .services-section { padding-top: 36px; }
    .service-card { padding: 24px; }
    .form-group input, .form-group textarea { font-size: 16px; }
}
@media print {
    .navbar, .hero-telemetry-panel, .contact-form, .clients-motion-toggle { display: none; }
    .hero, .hero-section { padding-top: 0; }
    .hero-copy { grid-column: 1 / -1; }
    .case-study, .service-card { break-inside: avoid; }
}
