/* Refine the original PEV Labs homepage without replacing its identity or imagery.
   Shared navigation and page templates remain in theme/supporting/original-system. */
.original-home { --home-width: 1200px; }
.original-home main { overflow: clip; }
.original-home .home-shell { width: min(calc(100% - 64px), var(--home-width)); margin-inline: auto; }
.original-home :is(.about-section, .home-services, .home-start, .home-opportunities, .home-contact, .home-service) { scroll-margin-top: 120px; }
.original-home .hero { height: min(90svh, 900px); min-height: 650px; background: #0a0f14; }
.original-home .hero-video { height: 100%; width: 100%; opacity: .85; }
.original-home .overlay { background: linear-gradient(180deg, rgba(4, 11, 17, .42), rgba(4, 11, 17, .35) 25%, rgba(4, 11, 17, .74) 78%, #0a0f14 100%); }
.original-home .hero-content { top: 52%; max-width: 1080px; padding: 30px 32px; }
.original-home .hero-eyebrow { font-size: .7rem; letter-spacing: .16em; margin-bottom: 24px; }
.original-home .hero h1 { font-size: clamp(2.25rem, 4.8vw, 3.8rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 750; margin-bottom: 24px; text-shadow: 0 2px 28px rgba(0, 0, 0, .2); }
.original-home .hero h1 span { color: var(--accent-2); }
.original-home .hero-content > p { max-width: 620px; font-size: clamp(1rem, 1.6vw, 1.13rem); line-height: 1.7; color: #e1e9ef; opacity: 1; margin-bottom: 32px; text-wrap: pretty; }
.original-home .hero-actions { gap: 14px; }
.original-home :is(.btn, .read-btn, .service-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 18px; font-size: .9rem; font-weight: 650; padding: 13px 24px; border-radius: 12px; text-decoration: none; min-height: 48px; transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.original-home :is(.btn, .read-btn, .service-btn) > span { font-size: 1.08rem; transition: transform .2s ease; }
.original-home :is(.btn, .read-btn, .service-btn):hover > span { transform: translate(2px, -2px); }
.original-home .btn-outline { background: rgba(9, 19, 27, .65); border: 1px solid rgba(255, 255, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 4px 16px rgba(0, 0, 0, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.original-home .btn-outline:hover { background: rgba(255, 255, 255, .95); color: #0a0f14; }
.original-home .hero-footnote { position: absolute; inset-inline: 32px; bottom: 42px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 15px; font-size: .74rem; letter-spacing: .025em; color: #b8c9d5; }
.original-home .hero-footnote-divider { width: 4px; height: 4px; background: var(--accent-2); border-radius: 50%; }
.original-home .hero-scroll-cue { left: auto; right: max(32px, calc((100vw - 1200px) / 2)); bottom: 29px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .17); border-radius: 14px; background: rgba(10, 21, 30, .65); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); text-decoration: none; transform: none; animation: none; }
.original-home .hero-scroll-cue:hover { background: rgba(255, 255, 255, .1); color: var(--accent-2); }

.original-home .about-section { padding: 78px 0 90px; background: radial-gradient(ellipse at 12% 45%, rgba(23, 162, 255, .06), transparent 58%); }
.original-home .about-section::before { display: none; }
.original-home .about-container { max-width: var(--home-width); width: calc(100% - 64px); padding: 0; grid-template-columns: 1fr 1fr; gap: 64px; }
.original-home .about-visual { margin: 0; min-width: 0; }
.original-home .about-img { height: auto; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .11); box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.original-home .about-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.original-home .image-caption { margin-top: 14px; font-size: .67rem; letter-spacing: .045em; color: #879aa8; }
.original-home .tag { font-size: .68rem; letter-spacing: .16em; margin: 0 0 17px; }
.original-home .tag::before { display: none; }
.original-home .about-title { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 23px; font-weight: 700; line-height: 1.18; }
.original-home .about-title span { color: var(--accent-2); }
.original-home .about-text { font-size: .96rem; line-height: 1.8; margin-bottom: 17px; color: var(--muted); }
.original-home .about-content .read-btn { margin-top: 9px; }

.original-home .home-services { padding-block: 12px 76px; }
.original-home .home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.original-home .home-section-heading .pev-eyebrow { margin-bottom: 10px; }
.original-home :is(.home-section-heading, .home-opportunities, .home-contact) h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); font-weight: 700; letter-spacing: -.025em; }
.original-home :is(.home-section-heading, .home-opportunities, .home-contact) h2 span { color: var(--accent-2); }
.original-home .home-section-heading > p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.original-home .home-solution-navigation { display: flex; flex-wrap: wrap; padding: 7px; gap: 6px; border: 1px solid var(--pev-edge, rgba(255, 255, 255, .16)); border-radius: 16px; margin-bottom: 18px; background: linear-gradient(135deg, rgba(32, 48, 63, .9), rgba(16, 26, 36, .95)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .065), 0 8px 24px rgba(0, 0, 0, .14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.original-home .home-solution-navigation a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 12px; border-radius: 10px; color: #c7d1d9; text-decoration: none; text-align: center; font-size: .79rem; font-weight: 600; line-height: 1.4; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.original-home .home-solution-navigation a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.original-home .home-solution-navigation a[aria-selected="true"] { color: #04121e; background: linear-gradient(180deg, #48b5ff, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 3px 12px rgba(0, 0, 0, .16); }
.original-home .home-service-panels { display: grid; gap: 22px; }
.original-home .home-service { position: relative; isolation: isolate; min-height: 430px; display: flex; align-items: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); border-radius: 24px; background: #0e1922; box-shadow: 0 14px 38px rgba(0, 0, 0, .18); }
.original-home .home-service[hidden] { display: none; }
.original-home .home-service-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transition: transform 700ms ease; }
.original-home #service-conversions .home-service-image { object-fit: contain; object-position: right center; }
@media (min-width: 1025px) { .original-home #service-conversions .home-service-image { left: auto; width: auto; max-width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%); mask-image: linear-gradient(90deg, transparent, #000 16%); } }
.original-home .home-service:hover .home-service-image { transform: scale(1.025); }
.original-home .home-service-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 14, 22, .96) 0%, rgba(5, 14, 22, .91) 31%, rgba(5, 14, 22, .55) 65%, rgba(5, 14, 22, .16) 100%); }
.original-home .home-service-content { max-width: 565px; padding: 44px 46px; }
.original-home .home-service-label { font-size: .68rem; letter-spacing: .16em; color: var(--accent-2); margin-bottom: 17px; font-weight: 650; }
.original-home .home-service h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 700; margin-bottom: 20px; }
.original-home .home-service h3 span { color: var(--accent-2); }
.original-home .home-service-content > p:not(.home-service-label):not(.home-image-note) { font-size: .94rem; line-height: 1.75; color: #d0dbe3; }
.original-home .service-btn { margin-top: 24px; color: #04121e; background: var(--accent); }
.original-home .service-btn:hover { background: var(--accent-2); box-shadow: 0 8px 26px rgba(23, 162, 255, .18); }
.original-home .home-image-note { color: #9db0be; font-size: .64rem; margin-top: 17px; letter-spacing: .04em; }
.original-home .home-service .home-secondary-link { display: inline-block; color: #d6e7f3; font-size: .83rem; text-underline-offset: 5px; margin-top: 20px; }
.original-home .home-service .home-secondary-link:hover { color: var(--accent-2); }
.original-home .is-enhanced .home-service:not([hidden]) { animation: original-panel-appear .25s ease-out; }
@keyframes original-panel-appear { from { opacity: .6; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* A short process and native disclosures keep the next step easy to scan. */
.original-home .home-start { padding-bottom: 68px; }
.original-home .home-start-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.original-home .home-project-steps { list-style: none; margin: 0; padding: 0; }
.original-home .home-project-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 19px 0; border-top: 1px solid var(--pev-edge); }
.original-home .home-project-steps li:last-child { padding-bottom: 0; }
.original-home .home-step-number { padding-top: 3px; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent-2); }
.original-home .home-project-steps h3 { font-size: .97rem; font-weight: 600; margin: 0 0 7px; line-height: 1.4; letter-spacing: -.01em; }
.original-home .home-project-steps p { font-size: .86rem; color: var(--muted); line-height: 1.75; margin: 0; max-width: 420px; }
.original-home .home-faq details { border-top: 1px solid var(--pev-edge); }
.original-home .home-faq details:last-child { border-bottom: 1px solid var(--pev-edge); }
.original-home .home-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding-block: 17px; font-size: .9rem; font-weight: 550; line-height: 1.5; cursor: pointer; list-style: none; }
.original-home .home-faq summary::-webkit-details-marker { display: none; }
.original-home .home-faq summary > span { flex-shrink: 0; width: 20px; text-align: center; font-size: 1.3rem; font-weight: 400; color: var(--accent-2); transition: transform .2s ease; }
.original-home .home-faq details[open] summary > span { transform: rotate(45deg); }
.original-home .home-faq summary:hover { color: var(--accent-2); }
.original-home .home-faq details > p { font-size: .86rem; line-height: 1.75; color: var(--muted); margin: 0 32px 20px 0; }
.original-home .home-faq .home-text-link { margin: 0 0 20px; }

.original-home .home-opportunities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-bottom: 76px; }
.original-home :is(.home-careers, .home-partnerships) { min-width: 0; padding: 38px; border: 1px solid var(--pev-edge, rgba(255, 255, 255, .16)); border-radius: 24px; background: var(--pev-panel, #111b25); box-shadow: var(--pev-depth); }
.original-home .home-careers { position: relative; overflow: hidden; background: radial-gradient(ellipse at 5% 100%, rgba(23, 162, 255, .09), transparent 75%), #111b25; }
.original-home .home-opportunity-visual { margin: 0 0 27px; }
.original-home .home-opportunity-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border: 1px solid var(--pev-edge); border-radius: 14px; }
.original-home .home-opportunity-visual .image-caption { margin-top: 10px; }
.original-home .home-opportunities .pev-eyebrow { font-size: .63rem; letter-spacing: .13em; margin-bottom: 18px; }
.original-home .home-opportunities h2 { margin-bottom: 23px; font-size: clamp(1.8rem, 2.5vw, 2.2rem); }
.original-home .home-careers > p { color: var(--muted); font-size: .95rem; line-height: 1.8; max-width: 370px; margin-bottom: 26px; }
.original-home .home-career-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 42px; }
.original-home .home-career-tags span { font-size: .67rem; letter-spacing: .035em; color: #c0ced8; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: rgba(255, 255, 255, .025); }
.original-home .home-partner-list details { border-top: 1px solid rgba(255, 255, 255, .12); }
.original-home .home-partner-list details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.original-home .home-partner-list summary { min-height: 53px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .85rem; font-weight: 600; padding-block: 13px; cursor: pointer; list-style: none; }
.original-home .home-partner-list summary::-webkit-details-marker { display: none; }
.original-home .home-partner-list summary > span { display: inline-block; color: var(--accent-2); font-size: 1.2rem; font-weight: 400; transition: transform .2s ease; }
.original-home .home-partner-list details[open] summary > span { transform: rotate(45deg); }
.original-home .home-partner-list summary:hover { color: var(--accent-2); }
.original-home .home-partner-list details > p { color: var(--muted); font-size: .85rem; line-height: 1.75; padding: 0 20px 18px 0; }
.original-home .home-text-link { display: inline-flex; align-items: center; gap: 18px; color: var(--accent-2); text-decoration: none; font-size: .85rem; font-weight: 650; margin-top: 24px; }
.original-home .home-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.original-home .home-contact { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 20px 40px; padding: 28px 0 38px; border-top: 1px solid var(--stroke); }
.original-home .home-contact .pev-eyebrow { font-size: .66rem; margin-bottom: 13px; }
.original-home .home-contact h2 { margin-bottom: 13px; }
.original-home .home-contact p { font-size: .93rem; color: var(--muted); }
.original-home .home-contact .btn { flex-shrink: 0; }
.original-home .home-social-link { color: var(--muted); text-decoration: none; font-size: .75rem; }
.original-home .home-social-link:hover { color: var(--accent); }
.original-home .social-icons { flex-wrap: wrap; }
.original-home .pev-eyebrow { font-weight: 650; }

@media (max-width: 960px) {
  .original-home .about-container { gap: 36px; }
  .original-home .home-solution-navigation a { font-size: .72rem; padding-inline: 8px; }
  .original-home :is(.home-careers, .home-partnerships) { padding: 28px; }
  .original-home .home-start-grid { gap: 32px; }
}
@media (max-width: 720px) {
  .original-home .home-shell, .original-home .about-container { width: calc(100% - 40px); }
  .original-home .hero { min-height: 665px; height: 90svh; max-height: 820px; }
  .original-home .hero-content { top: 51%; padding: 26px 22px; }
  .original-home .hero h1 { font-size: clamp(2rem, 7vw, 3rem); }
  .original-home .hero-eyebrow { font-size: .58rem; letter-spacing: .1em; }
  .original-home .hero-content > p { font-size: .96rem; }
  .original-home .hero-footnote { inset-inline: 22px; bottom: 32px; gap: 9px; font-size: .62rem; }
  .original-home .hero-scroll-cue { display: none; }
  .original-home .hero-actions { gap: 10px; }
  .original-home .hero-actions .btn { font-size: .81rem; padding-inline: 17px; gap: 10px; }
  .original-home .about-section { padding-block: 46px 62px; }
  .original-home .about-container { grid-template-columns: 1fr; gap: 36px; }
  .original-home .about-title { font-size: 2rem; }
  .original-home .about-text { font-size: .94rem; }
  .original-home .home-services { padding-bottom: 48px; }
  .original-home .home-section-heading { align-items: flex-start; gap: 16px; }
  .original-home .home-section-heading > p { font-size: .73rem; max-width: 150px; }
  .original-home .home-solution-navigation { gap: 5px; }
  .original-home .home-solution-navigation a { flex: 1 1 29%; font-size: .7rem; white-space: normal; }
  .original-home .home-service { min-height: 0; flex-direction: column; align-items: stretch; border-radius: 18px; }
  .original-home .home-service-content { max-width: none; padding: 30px 25px; }
  .original-home .home-service-image { position: static; z-index: auto; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: center; transition: none; }
  .original-home .home-service:hover .home-service-image { transform: none; }
  .original-home .home-service-shade { display: none; }
  .original-home .home-service h3 { font-size: 2rem; }
  .original-home .home-service-content > p:not(.home-service-label):not(.home-image-note) { font-size: .9rem; }
  .original-home .home-start { padding-bottom: 48px; }
  .original-home .home-start-grid { grid-template-columns: 1fr; gap: 32px; }
  .original-home .home-project-steps li { gap: 12px; }
  .original-home .home-faq summary { font-size: .87rem; }
  .original-home .home-opportunities { grid-template-columns: 1fr; gap: 18px; padding-bottom: 48px; }
  .original-home :is(.home-careers, .home-partnerships) { padding: 29px 25px; border-radius: 18px; }
  .original-home .home-career-tags { margin-top: 25px; }
  .original-home .home-contact { align-items: flex-start; flex-direction: column; gap: 23px; padding-bottom: 48px; }
}
@media (max-width: 380px) {
  .original-home .hero-actions { flex-direction: column; align-items: center; }
  .original-home .hero-actions .btn { min-width: 220px; }
  .original-home .hero h1 { font-size: 2rem; }
  .original-home .hero-footnote { flex-wrap: wrap; font-size: .59rem; }
  .original-home .home-section-heading { flex-direction: column; gap: 8px; }
  .original-home .home-section-heading > p { max-width: none; }
  .original-home .home-section-heading > p br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .original-home .home-service-image, .original-home .about-img img { transition: none; }
  .original-home .home-service:hover .home-service-image, .original-home .about-img:hover img { transform: none; }
  .original-home .is-enhanced .home-service:not([hidden]) { animation: none; }
}
.pev-motion-paused .original-home .home-service-image,
.original-home.pev-motion-paused .home-service-image,
.original-home.pev-motion-paused .about-img img { transition: none; }
.original-home.pev-motion-paused .home-service:hover .home-service-image,
.original-home.pev-motion-paused .about-img:hover img { transform: none; }
.original-home.pev-motion-paused .is-enhanced .home-service:not([hidden]) { animation: none; }

@media (prefers-reduced-transparency: reduce) {
  .original-home :is(.btn-outline, .home-solution-navigation, .hero-scroll-cue) { background: #121c26; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .original-home :is(.home-image-note, .image-caption, .hero-footnote) { color: #d5e0e8; }
  .original-home .home-solution-navigation { background: #101923; }
  .original-home .home-service-shade { background: linear-gradient(90deg, rgba(5, 14, 22, .97), rgba(5, 14, 22, .88)); }
}
@media (forced-colors: active) {
  .original-home :is(.home-solution-navigation, .home-service, .home-careers, .home-partnerships, .btn-outline) { border-color: CanvasText; box-shadow: none; }
  .original-home .home-solution-navigation a[aria-selected='true'] { outline: 2px solid Highlight; outline-offset: -3px; }
}
