/* Homepage presentation; shared support and policy layouts remain in site.css. */
.page-home .skip-link {
    position: fixed;
    top: -5rem;
    left: 1rem;
    z-index: 1100;
    padding: .75rem 1rem;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 8px;
}
.page-home .skip-link:focus { top: .75rem; }
.page-home a:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }
.page-home .display-title { max-width: 14ch; font-size: clamp(2.65rem, 5.2vw, 4.5rem); line-height: 1.06; }
.page-home .display-title span { display: block; }
.product-name { display: flex; align-items: center; gap: .85rem; font-size: 1.4rem; font-weight: 700; }
.product-name img { border-radius: 13px; }
.product-name small { display: block; margin-top: .15rem; color: var(--text-soft); font-size: .85rem; font-weight: 400; }
.page-home .lead-copy { max-width: 35rem; font-size: 1.15rem; }
.purchase-note { color: var(--text-soft); font-size: .85rem; margin: .8rem 0 0; }
.page-home .trust-list { gap: .6rem 1.2rem; margin-top: 1.25rem; }
.phone-frame { display: block; width: min(100%, 264px); margin: 0 auto; border: 6px solid #223045; border-radius: 31px; overflow: hidden; box-shadow: 0 16px 36px rgba(26, 42, 66, .16); background: #f8f9ff; }
.phone-frame img { width: 100%; height: auto; }
.page-home figcaption { margin-top: 1rem; color: var(--text-soft); font-size: .78rem; line-height: 1.5; }
.page-home .section-shell { padding: 2.75rem 0; }
.page-home .company-hero { padding-top: 3.5rem; padding-bottom: 1rem; }
.page-home .company-hero { text-align: center; }
.page-home .company-hero .display-title { max-width: none; margin-left: auto; margin-right: auto; }
.page-home .company-hero .display-title span { display: inline; }
.page-home .company-hero .lead-copy { max-width: 40rem; margin-left: auto; margin-right: auto; }
.page-home .company-hero .hero-actions, .page-home .company-hero .trust-list { justify-content: center; }
.app-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.showcase-card { display: flex; flex-direction: column; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.showcase-title { margin: 1.25rem 0 .75rem; font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.15; letter-spacing: -.02em; }
.showcase-copy { margin: 0 0 1.25rem; color: var(--text-soft); }
.showcase-shot { margin: 0 0 1.25rem; text-align: center; }
.shot-panel { position: relative; height: 330px; padding-top: 1.25rem; overflow: hidden; border-radius: 20px; background: var(--shot-bg); }
.shot-panel::after { content: ""; position: absolute; inset: auto 0 0; height: 5rem; background: linear-gradient(to bottom, transparent, var(--shot-fade)); pointer-events: none; }
.shot-harborkeep { --shot-fade: #e5eefb; --shot-bg: linear-gradient(145deg, #e5edff, #e4f1ee); }
.shot-solar { --shot-fade: #ffe9cc; --shot-bg: linear-gradient(145deg, #fff2d8, #ffe3c2); }
.shot-game { --shot-fade: #c8e3fb; --shot-bg: linear-gradient(145deg, #d3f0ff, #c4e0ff); }
.showcase-shot .phone-frame { width: min(100%, 230px); }
.page-home .showcase-shot figcaption { margin: .65rem 0 0; }
.showcase-points { margin: 0 0 1rem; padding-left: 1.15rem; color: var(--text-soft); }
.showcase-points li { margin-bottom: .55rem; }
.showcase-points a { text-decoration: underline; text-underline-offset: 3px; }
.showcase-card .purchase-note { margin: auto 0 .25rem; }
.showcase-card .app-actions { margin-top: 0; }
.showcase-card .app-actions > a:not(.btn-brand) { font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.game-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.game-copy h3 { margin: 1.1rem 0 .6rem; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; letter-spacing: -.02em; }
.game-copy > p { color: var(--text-soft); }
.game-feature .showcase-shot { margin: 0; }
.game-feature .shot-panel { height: 380px; }
.game-feature .app-actions > a:not(.btn-brand) { font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.game-feature + .driftlock-preview { margin-top: 1.5rem; }
.home-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.home-trust-card { padding: clamp(1.35rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.home-trust-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: .8rem 0; line-height: 1.2; letter-spacing: -.02em; }
.home-trust-card p { color: var(--text-soft); margin-bottom: 1.25rem; }
.text-link { font-weight: 700; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }
.page-home .about-home { padding-top: 1rem; padding-bottom: 1rem; }
.page-home .developer-strip { box-shadow: none; }
.page-home .developer-strip p { max-width: 46rem; }
.page-home .developer-strip .skills-line { margin-bottom: 0; color: var(--text-soft); font-size: .9rem; }
.page-home .developer-strip .skills-line strong { color: var(--text); }
.driftlock-preview { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; overflow: hidden; border-radius: 22px; background: #101e32; color: #f4f7fd; }
.driftlock-art { position: relative; margin: 0; min-width: 0; }
.driftlock-art > img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.page-home .driftlock-art figcaption { position: absolute; bottom: .8rem; left: 1rem; margin: 0; padding: .3rem .65rem; color: #fff; background: rgba(9, 20, 36, .85); border-radius: 6px; font-size: .72rem; }
.driftlock-copy { padding: 2rem; }
.development-label { color: #b5d3f5; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.driftlock-name { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; }
.driftlock-name img { border-radius: 12px; }
.driftlock-name h3 { margin: 0; color: #fff; font-size: 2rem; letter-spacing: -.02em; }
.driftlock-copy p { color: #e0e8f4; margin: 0; }
.driftlock-copy .development-note { color: #b7c6db; font-size: .85rem; margin-top: 1rem; }
/* A landscape gameplay screen runs full width, never cropped through its HUD;
   the copy sits beneath it in two columns. */
.driftlock-preview { grid-template-columns: 1fr; }
.driftlock-art > img { height: auto; min-height: 0; object-fit: contain; }
.driftlock-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; align-items: start; }
/* Four scenes in a square; the tall crew art is shown whole on a dark field. */
.driftlock-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #08111f; }
.driftlock-gallery > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #08111f; }
.page-home .driftlock-gallery figcaption { position: static; grid-column: 1 / -1; padding: .45rem 1rem .1rem; background: transparent; border-radius: 0; color: #b7c6db; }
.driftlock-details { padding-top: 2.6rem; }
.driftlock-copy .showcase-points { margin-top: 0; color: #d3deec; }
.driftlock-copy .purchase-note { color: #b7c6db; }
.driftlock-copy .app-actions { margin-top: 1.25rem; }
.driftlock-copy .btn-coming-soon { cursor: default; opacity: .9; background: #23324a; border-color: #3a5174; color: #e0e8f4; box-shadow: none; }
.driftlock-copy .btn-coming-soon:hover { transform: none; background: #23324a; }
.driftlock-copy .app-actions > a:not(.btn-brand) { color: #fff; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) {
    .page-home .display-title { font-size: 3rem; }
    .page-home .lead-copy { font-size: 1.05rem; }
    .app-showcase { gap: 1rem; }
    .driftlock-copy { padding: 1.5rem; }
}
@media (max-width: 767.98px) {
    .driftlock-copy { grid-template-columns: 1fr; }
    .driftlock-details { padding-top: 1rem; }
    .page-home .hero-shell, .page-home .section-shell, .page-home .footer-shell { width: calc(100% - 2rem); }
    .page-home .company-hero { padding-top: 2rem; }
    .page-home .display-title { max-width: 15ch; font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .page-home .hero-actions { margin-top: 1.3rem; }
    .page-home .section-shell { padding: 2rem 0; }
    .home-trust-grid, .driftlock-preview, .app-showcase, .game-feature { grid-template-columns: 1fr; }
    .game-feature .shot-panel { height: 330px; }
    .driftlock-art > img { min-height: 0; height: auto; object-fit: contain; }
    .page-home .about-home { padding-top: .5rem; padding-bottom: .5rem; }
    .page-home .developer-strip { grid-template-columns: 56px minmax(0, 1fr); padding: 1.25rem; }
    .page-home .developer-strip .btn-outline-brand { grid-column: 1 / -1; }
    .page-home .footer-card { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home a { transition: none; }
}
