/* WebAppTown homepage. Scoped to keep existing product pages independent. */
html[data-page="home"] {
  --home-ink: #15131c;
  --home-surface: #1d1a26;
  --home-paper: #f4f0e9;
  --home-lilac: #c7b8ee;
  --home-coral: #eea28b;
  --home-muted: #b5aebf;
  --home-line: rgba(233, 224, 248, .13);
  scroll-padding-top: 110px;
}
.home-page { background: var(--home-ink); color: var(--home-paper); }
.home-page .container { width: min(100% - 112px, 1280px); padding-inline: 0; }
.home-page main { overflow: clip; }
.home-page .nav { background: rgba(21, 19, 28, .92); border-bottom: 1px solid var(--home-line); }
.home-page .nav .container.nav-inner { max-width: 1440px; padding-inline: 40px; width: 100%; }
.home-page .nav-logo img { width: 38px; height: 38px; }
.home-page .nav-logo-tagline { color: #b5aebf; }
.home-page .btn-nav-cta { background: var(--home-paper); color: var(--home-ink); box-shadow: none; min-height: 42px; border-radius: 7px; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 2px solid var(--home-coral); outline-offset: 5px; }
.home-skip { position: fixed; z-index: 6000; top: 12px; left: 20px; padding: 14px 20px; background: var(--home-paper); color: var(--home-ink); border-radius: 8px; transform: translateY(-180%); }
.home-skip:focus { transform: translateY(0); }
.home-eyebrow { display: flex; align-items: center; gap: 10px; font: 500 11px/1.6 var(--font-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--home-lilac); }
.home-eyebrow::before { content: ''; width: 6px; height: 6px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.home-hero { position: relative; padding: 158px 0 0; }
.home-hero::before { content: ''; position: absolute; inset: 0 0 0 35%; pointer-events: none; background: radial-gradient(ellipse at 70% 35%, #67508e26, transparent 65%); }
.home-hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; position: relative; }
.home-hero-copy { position: relative; z-index: 2; padding: 8px 0 60px; }
.home-hero h1 { font: 600 clamp(54px, 5.5vw, 80px)/1.06 var(--font-body); letter-spacing: -.065em; margin: 25px 0 26px; }
.home-hero h1 em { display: block; font-family: var(--font-display); font-weight: 400; letter-spacing: -.045em; color: var(--home-lilac); }
.home-hero-description { max-width: 470px; font-size: 16px; line-height: 1.85; color: var(--home-muted); }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.home-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 15px 23px; background: var(--home-coral); color: #271c1a; border-radius: 6px; font-size: 13px; font-weight: 700; transition: background .2s, transform .2s; }
.home-button:hover { background: #f7bca9; transform: translateY(-2px); }
.home-button .home-arrow { font-size: 19px; line-height: 1; }
.home-text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; padding-block: 12px; }
.home-text-link:hover { color: var(--home-coral); }
.home-hero-note { display: flex; align-items: center; gap: 8px; margin-top: 24px; color: #a7a0b1; font-size: 11px; }
.home-hero-note svg { width: 14px; height: 14px; color: #a7cfbc; }
.home-hero-art { position: relative; align-self: stretch; display: flex; align-items: center; min-width: 0; }
.home-hero-art::before { content: ''; position: absolute; inset: 6% -8% 4%; background-image: linear-gradient(#c4b5fd08 1px, transparent 1px), linear-gradient(90deg, #c4b5fd08 1px, transparent 1px); background-size: 45px 45px; mask-image: radial-gradient(ellipse, black, transparent 70%); }
.home-hero-art .home-town-stage { width: 112%; margin-left: -6%; flex-shrink: 0; }
.home-hero-art .home-town-stage::after { content: ''; position: absolute; inset: 20% 10% 10%; border: 1px solid #c7b8ee18; border-radius: 50%; transform: rotate(-25deg); pointer-events: none; }
.home-orbit-label { position: absolute; z-index: 2; display: flex; gap: 8px; align-items: center; font: 400 10px var(--font-mono); letter-spacing: .02em; color: #d8d0e5; background: #282331e8; border: 1px solid #e0d5f222; border-radius: 7px; padding: 11px 14px; box-shadow: 0 8px 25px #0002; }
.home-orbit-label::before { content: ''; width: 5px; height: 5px; background: #b9e3cf; border-radius: 50%; }
.home-orbit-label--apps { top: 17%; left: 4%; }
.home-orbit-label--ai { right: -1%; top: 48%; }
.home-orbit-label--data { bottom: 11%; left: 12%; }
.home-hero-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--home-line); font: 400 10px/1.6 var(--font-mono); color: #b5aebf; letter-spacing: .05em; }
.home-hero-bottom a { color: var(--home-paper); display: flex; align-items: center; gap: 15px; }
.home-partners { padding: 42px 0; background: #1b1821; border-block: 1px solid var(--home-line); }
.home-partner-inner { display: flex; align-items: center; gap: 45px; }
.home-partner-intro { flex: 0 0 185px; color: var(--home-muted); font-size: 12px; line-height: 1.75; }
.home-brand-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; flex: 1; align-items: center; }
.home-brand-strip a { display: flex; justify-content: center; align-items: center; height: 80px; min-width: 0; border: 1px solid #ffffff15; border-radius: 8px; background: #f1f0ed; padding: 12px; transition: background .2s, transform .2s; }
.home-brand-strip a:hover { background: white; transform: translateY(-3px); }
.home-brand-strip img { display: block; width: 100%; height: auto; max-width: 148px; max-height: 56px; object-fit: contain; }
.home-brand-strip .home-brand--fleet { background: #06081e; }
.home-brand-strip .home-brand--fleet:hover { background: #0b1030; }
.home-brand-strip .home-brand--dark { background: #292638; }
.home-brand-strip .home-brand--dark:hover { background: #353047; }
.home-brand-strip .home-brand--panoxray { background: #000; gap: 6px; color: #f5f3ff; font: 600 13px var(--font-body); white-space: nowrap; }
.home-brand-strip .home-brand--panoxray:hover { background: #000; }
.home-brand-strip .home-brand--panoxray img { flex: 0 0 auto; width: 23px; height: 41px; }
.home-section { padding-block: 100px; }
.home-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 40px; }
.home-section h2 { font: 500 clamp(34px, 3.5vw, 49px)/1.17 var(--font-body); letter-spacing: -.045em; margin-top: 15px; }
.home-section h2 em { font-family: var(--font-display); font-weight: 400; color: var(--home-lilac); }
.home-section-intro { color: var(--home-muted); font-size: 14px; line-height: 1.8; margin-top: 16px; max-width: 520px; }
.home-project { display: block; min-width: 0; }
.home-project-feature { display: grid; grid-template-columns: .8fr 1.2fr; background: #e3e8e0; color: #253a36; border-radius: 14px; overflow: hidden; }
.home-project-copy { padding: 42px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.home-project-logo { width: 128px; height: 44px; object-fit: contain; object-position: left center; margin-bottom: 34px; }
.home-project-copy h3 { font: 500 clamp(27px, 2.4vw, 35px)/1.23 var(--font-body); letter-spacing: -.045em; }
.home-project-copy p { font-size: 13px; line-height: 1.8; color: #52665c; margin-top: 17px; }
.home-project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.home-project-tags span { padding: 6px 9px; border: 1px solid #253a3626; border-radius: 4px; font: 400 9px var(--font-mono); }
.home-project-copy .home-text-link { margin-top: auto; padding-top: 26px; }
.home-project-feature .home-project-preview { display: flex; align-items: center; padding: 38px 32px 38px 0; overflow: hidden; }
.home-project-feature .home-project-preview img { width: 100%; height: auto; border-radius: 9px; box-shadow: 0 24px 60px #204c3b26; transition: transform .6s; }
.home-project-feature:hover .home-project-preview img { transform: translateY(-5px); }
.home-project-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.home-project-image { aspect-ratio: 1.8; border-radius: 12px; overflow: hidden; position: relative; display: grid; place-items: center; padding: 26px; }
.home-project-image--fleet { background: #d4deec; }
.home-project-image--frame { background: #e0d8ed; }
.home-project-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; filter: drop-shadow(0 10px 16px #18213820); }
.home-project:hover .home-project-image img { transform: scale(1.025); }
.home-project-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 19px; }
.home-project-caption h3 { font: 600 20px/1.4 var(--font-body); letter-spacing: -.025em; }
.home-project-caption p { color: var(--home-muted); font-size: 12px; line-height: 1.7; margin-top: 5px; }
.home-project-caption > span { width: 35px; height: 35px; border: 1px solid var(--home-line); border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.home-more-projects { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 35px; padding: 23px 0; border-block: 1px solid var(--home-line); }
.home-more-projects p { font-size: 11px; color: var(--home-muted); }
.home-more-projects div { display: flex; gap: 28px; flex-wrap: wrap; }
.home-more-projects a { font-size: 12px; color: var(--home-lilac); padding-block: 8px; }
.home-services { background: #1b1821; border-block: 1px solid var(--home-line); }
.home-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.home-service { display: flex; flex-direction: column; align-items: flex-start; padding-top: 25px; border-top: 1px solid #b6a3d24d; }
.home-service-top { display: flex; width: 100%; justify-content: space-between; align-items: center; color: var(--home-lilac); }
.home-service-top svg { width: 30px; height: 30px; stroke-width: 1.2; }
.home-service-top span { font: 400 10px var(--font-mono); color: #9c93aa; }
.home-service h3 { font: 500 22px/1.3 var(--font-body); letter-spacing: -.035em; margin: 28px 0 13px; }
.home-service p { font-size: 13px; line-height: 1.85; color: var(--home-muted); }
.home-service ul { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.home-service li { font-size: 10px; background: #b7a0d610; border: 1px solid #b7a0d622; padding: 5px 8px; border-radius: 4px; color: #c4b6d5; }
.home-service .home-text-link { margin-top: auto; padding-top: 27px; }
.home-prototype { padding-block: 80px; }
.home-prototype-panel { display: grid; grid-template-columns: 1.3fr .7fr; gap: 55px; align-items: center; padding: 48px 55px; border-radius: 12px; background: #ede6da; color: #302c34; }
.home-prototype-panel .home-eyebrow { color: #68547e; }
.home-prototype-panel h2 { margin: 18px 0; max-width: 580px; }
.home-prototype-panel h2 em { color: #75608c; }
.home-prototype-panel p { font-size: 13px; line-height: 1.85; color: #655d68; max-width: 530px; }
.home-prototype-panel .home-button { background: #30283c; color: #f4f0e9; margin-top: 26px; }
.home-prototype-number { text-align: center; border-left: 1px solid #302c3426; }
.home-prototype-number strong { display: block; font: 400 clamp(100px, 13vw, 165px)/1 var(--font-display); letter-spacing: -.065em; color: #75608c; }
.home-prototype-number span { display: block; font: 400 10px/1.8 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; max-width: 150px; margin: 18px auto 0; }
.home-journal { padding-top: 15px; }
.home-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; }
.home-journal-card { min-width: 0; }
.home-journal-image { aspect-ratio: 1.6; background: #ded8e9; border-radius: 9px; overflow: hidden; display: grid; place-items: center; }
.home-journal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-journal-image--screen { padding: 17px; background: #dde9e3; }
.home-journal-image--screen img { object-fit: contain; border-radius: 3px; }
.home-journal-card:hover img { transform: scale(1.035); }
.home-journal-meta { display: flex; flex-wrap: wrap; gap: 12px; font: 400 9px/1.7 var(--font-mono); letter-spacing: .045em; text-transform: uppercase; color: var(--home-lilac); margin-top: 21px; }
.home-journal-meta span + span { color: #a9a1b5; }
.home-journal-card h3 { font: 500 21px/1.4 var(--font-body); letter-spacing: -.03em; margin-top: 12px; }
.home-journal-card p { font-size: 12px; line-height: 1.8; color: var(--home-muted); margin-top: 12px; }
.home-journal-card .home-text-link { font-size: 11px; margin-top: 8px; }
.home-process { border-top: 1px solid var(--home-line); padding-top: 65px; }
.home-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.home-process-step { border-top: 1px solid #c7b8ee55; padding-top: 20px; }
.home-process-step > span { font: 400 11px var(--font-mono); color: var(--home-lilac); }
.home-process-step h3 { font: 500 16px/1.4 var(--font-body); margin: 16px 0 12px; }
.home-process-step p { color: var(--home-muted); font-size: 12px; line-height: 1.9; }
.home-contact { padding: 0 0 85px; }
.home-contact-panel { position: relative; padding: 65px; border: 1px solid #c7b8ee2b; border-radius: 14px; background: radial-gradient(ellipse at 95% 90%, #7b5a9333, transparent 70%), #24202e; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-contact-panel h2 { font: 500 clamp(32px, 3.8vw, 52px)/1.15 var(--font-body); letter-spacing: -.05em; }
.home-contact-panel h2 em { font-family: var(--font-display); font-weight: 400; color: var(--home-lilac); }
.home-contact-panel p { color: var(--home-muted); font-size: 13px; margin-top: 17px; line-height: 1.8; }
.home-contact-actions { display: flex; flex-direction: column; align-items: center; gap: 15px; flex-shrink: 0; }
.home-contact-actions > a:last-child { font-size: 12px; color: var(--home-muted); padding: 8px; }
.home-page .footer { background: #100e16; padding: 60px 0 0; border-top: 1px solid var(--home-line); }
.home-page .footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 45px; }
.home-page .footer-brand p { font-size: 12px; line-height: 1.9; color: var(--home-muted); max-width: 290px; margin-top: 20px; }
.home-page .footer-column h4 { font: 500 11px var(--font-body); margin-bottom: 20px; color: var(--home-paper); }
.home-page .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.home-page .footer-link { font-size: 11px; color: var(--home-muted); padding-block: 3px; overflow-wrap: anywhere; }
.home-page .footer-link:hover { color: var(--home-coral); }
.home-page .footer-bottom { padding-block: 24px; border-top: 1px solid var(--home-line); display: flex; justify-content: space-between; gap: 15px; color: #aaa1b5; font-size: 10px; }
@media (min-width: 1500px) { .home-hero { padding-top: 180px; } .home-hero-copy { padding-bottom: 85px; } }
@media (max-width: 1199px) {
  .home-page .container { width: calc(100% - 64px); }
  .home-page .nav .container.nav-inner { padding-inline: 32px; }
  .home-hero { padding-top: 130px; }
  .home-hero h1 { font-size: 61px; }
  .home-brand-strip { gap: 12px; }
  .home-partner-inner { gap: 25px; }
  .home-partner-intro { flex-basis: 140px; }
  .home-brand-strip a { padding: 10px; height: 76px; }
  .home-project-copy { padding: 30px; }
  .home-project-feature .home-project-preview { padding: 25px 25px 25px 0; }
  .home-contact-panel { padding: 45px; }
}
@media (max-width: 899px) {
  .home-hero-layout { grid-template-columns: 1fr 1fr; gap: 0; }
  .home-hero h1 { font-size: clamp(44px, 6.4vw, 60px); }
  .home-hero-description { font-size: 14px; }
  .home-hero-copy { padding-bottom: 35px; }
  .home-actions { gap: 10px 20px; }
  .home-orbit-label { font-size: 8px; padding: 9px; }
  .home-orbit-label--apps { top: 24%; }
  .home-orbit-label--data { bottom: 20%; }
  .home-partner-inner { flex-direction: column; align-items: stretch; gap: 20px; }
  .home-partner-intro { flex-basis: auto; text-align: center; }
  .home-brand-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .home-section { padding-block: 70px; }
  .home-service-grid { gap: 23px; }
  .home-project-feature { grid-template-columns: 1fr; }
  .home-project-copy { padding: 30px 35px; }
  .home-project-logo { margin-bottom: 20px; }
  .home-project-feature .home-project-preview { padding: 0 35px 35px; }
  .home-project-copy p { max-width: 500px; }
  .home-project-image { padding: 18px; }
  .home-prototype-panel { padding: 35px; gap: 30px; }
  .home-journal-grid { gap: 20px; }
  .home-journal-card h3 { font-size: 18px; }
  .home-process-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .home-contact-panel { padding: 38px; flex-direction: column; align-items: flex-start; }
  .home-contact-actions { align-items: flex-start; }
  .home-page .footer-grid { grid-template-columns: 1.5fr 1fr; }
}
@media (max-width: 599px) {
  html[data-page="home"] { scroll-padding-top: 85px; }
  .home-page .container { width: calc(100% - 40px); }
  .home-page .nav .container.nav-inner { padding-inline: 20px; }
  .home-hero { padding-top: 115px; }
  .home-hero-layout { grid-template-columns: 1fr; }
  .home-hero-copy { padding: 0; }
  .home-eyebrow { font-size: 9px; letter-spacing: .1em; }
  .home-hero h1 { font-size: clamp(43px, 11.8vw, 64px); margin: 21px 0; }
  .home-hero-description { max-width: 400px; font-size: 14px; line-height: 1.8; }
  .home-actions { margin-top: 24px; gap: 8px 20px; }
  .home-button { min-height: 49px; font-size: 12px; padding: 14px 18px; gap: 18px; }
  .home-text-link { font-size: 12px; }
  .home-hero-note { font-size: 10px; margin-top: 17px; }
  .home-hero-art { width: min(100%, 430px); margin: -6px auto 0; }
  .home-hero-art .home-town-stage { width: 100%; margin: 0; }
  .home-orbit-label { font-size: 8px; padding: 8px 10px; }
  .home-orbit-label--apps { top: 20%; left: 0; }
  .home-orbit-label--ai { top: 45%; right: 0; }
  .home-orbit-label--data { bottom: 13%; left: 4%; }
  .home-hero-bottom { font-size: 8px; gap: 14px; padding-block: 18px; }
  .home-hero-bottom > span { max-width: 175px; }
  .home-partners { padding-block: 27px; }
  .home-brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-brand-strip a { height: 80px; padding: 12px; }
  .home-section { padding-block: 58px; }
  .home-section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
  .home-section h2 { font-size: 33px; }
  .home-section-intro { font-size: 13px; }
  .home-project-copy { padding: 26px 23px; }
  .home-project-copy h3 { font-size: 27px; }
  .home-project-feature .home-project-preview { padding: 0 18px 25px; }
  .home-project-pair { grid-template-columns: 1fr; gap: 30px; margin-top: 25px; }
  .home-project-image { padding: 18px; }
  .home-project-caption h3 { font-size: 19px; }
  .home-more-projects { margin-top: 26px; gap: 7px; }
  .home-more-projects div { gap: 20px; }
  .home-service-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-service h3 { margin-top: 22px; }
  .home-service .home-text-link { padding-top: 20px; }
  .home-prototype { padding-block: 50px; }
  .home-prototype-panel { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
  .home-prototype-panel h2 { font-size: 31px; }
  .home-prototype-number { border-left: 0; border-top: 1px solid #302c3426; display: flex; align-items: center; gap: 25px; padding-top: 22px; text-align: left; }
  .home-prototype-number strong { font-size: 90px; }
  .home-prototype-number span { margin: 0; font-size: 9px; }
  .home-journal { padding-top: 8px; }
  .home-journal-grid { grid-template-columns: 1fr; gap: 35px; }
  .home-journal-card h3 { font-size: 22px; }
  .home-journal-card p { font-size: 13px; }
  .home-journal-meta { margin-top: 17px; }
  .home-process-grid { gap: 27px 20px; }
  .home-process-step h3 { font-size: 15px; }
  .home-process-step p { font-size: 11px; }
  .home-contact { padding-bottom: 50px; }
  .home-contact-panel { padding: 30px 25px; gap: 26px; }
  .home-contact-panel h2 { font-size: 34px; }
  .home-page .footer { padding-top: 40px; }
  .home-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .home-page .footer-brand { grid-column: 1 / -1; }
  .home-page .footer-column:last-child { grid-column: 1 / -1; }
  .home-page .footer-bottom { flex-direction: column; gap: 10px; }
}
.home-tower { padding: 8px 0 28px; }
.home-tower-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 18px;
  border: 1px solid rgba(94, 234, 212, .35);
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(94, 234, 212, .18), transparent 70%),
    linear-gradient(160deg, #241c3d, #15131c 58%);
}
.home-tower h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.08;
}
.home-tower h2 em { font-style: italic; color: #5eead4; }
.home-tower p { max-width: 62ch; color: #cbc5e0; font-size: 15px; line-height: 1.65; }
.home-tower .home-button {
  background: linear-gradient(135deg, #5eead4, #67e8f9 55%, #a78bfa);
  color: #0a0915;
}
.home-tower .home-text-link { color: #f3efe7; }
@media (max-width: 720px) {
  .home-tower-panel { grid-template-columns: 1fr; padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-page="home"], html[data-page="home"]:focus-within { scroll-behavior: auto; }
  .home-page *, .home-page *::before, .home-page *::after { transition: none !important; animation: none !important; }
}
