/* Landing pages for industries (museums, construction, object scanning). Built on site.css: same header, footer,
   fonts and colours, but a layout of full-width bands instead of the sidebar and the content column. */

.landing {
    --band-dark: linear-gradient(135deg, #1b1f23 0%, #23272b 45%, #2b4b50 100%);
    --teal: #2d6c72;
    --teal-dark: #25494d;
    --teal-soft: #edf4f2;
    --landing-width: 1220px;
    margin-top: -8px;
}

.landing-inner {
    max-width: var(--landing-width);
    margin: 0 auto;
    padding: 0 22px;
}

.landing-band {
    padding: 56px 0;
}

.landing-band + .landing-band {
    border-top: 1px solid var(--border-color);
}

.landing h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.15;
}

.landing .band-kicker {
    margin-bottom: 10px;
    color: var(--teal);
    font-size: var(--type-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.landing .band-lead {
    max-width: 70ch;
    color: #3f464f;
    font-size: 1.05rem;
    line-height: 1.6;
}

.landing a:not(.landing-button):not(.industry-card):not(.contact-link) {
    color: var(--teal);
    font-weight: 600;
    text-decoration-color: rgba(45, 108, 114, 0.35);
    text-underline-offset: 3px;
}

.landing a:not(.landing-button):not(.industry-card):not(.contact-link):hover {
    color: var(--brand-color);
}

/* Hero: the copy on the left, the embedded viewer on the right, on the light page background. */
.landing-hero {
    padding: 44px 0 48px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.landing-hero .landing-inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 40px;
    align-items: center;
}

.landing-hero h1 {
    margin-bottom: 18px;
    color: var(--text-color);
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    line-height: 1.04;
}

.landing-hero .hero-intro {
    max-width: 52ch;
    margin-bottom: 26px;
    color: #3f464f;
    font-size: 1.06rem;
    line-height: 1.6;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: var(--type-sm);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.landing-button:hover {
    transform: translateY(-1px);
}

.landing-button.primary {
    background-color: var(--brand-color);
    color: #ffffff;
}

.landing-button.primary:hover {
    background-color: #d44f30;
}

.landing-button.ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.landing-button.ghost:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
}

.landing-button.outline {
    border-color: rgba(45, 108, 114, 0.35);
    background-color: #ffffff;
    color: var(--teal-dark);
}

.landing-button.outline:hover {
    border-color: var(--teal-dark);
    background-color: var(--teal-dark);
    color: #ffffff;
}

/* The embedded geosplat viewer: the scene alone, no viewer controls. */
.viewer-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 76vh;
    overflow: hidden;
    background-color: #000000;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(23, 25, 29, 0.16);
}

.viewer-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background-color: #000000;
}

.viewer-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--type-sm);
    font-weight: 600;
    background:
        radial-gradient(circle at 50% 45%, rgba(45, 108, 114, 0.35), transparent 60%),
        #000000;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.viewer-loading::before {
    content: "";
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--brand-color);
    border-radius: 50%;
    animation: viewer-spin 0.9s linear infinite;
}

.viewer-frame.is-ready .viewer-loading {
    opacity: 0;
}

@keyframes viewer-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .viewer-loading::before {
        animation-duration: 3s;
    }
}

.viewer-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: var(--type-sm);
    line-height: 1.45;
}

.viewer-caption p {
    margin: 0;
    max-width: 60ch;
}

.viewer-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.viewer-hints span {
    padding: 4px 9px;
    background-color: var(--teal-soft);
    border: 1px solid rgba(45, 108, 114, 0.2);
    border-radius: 999px;
    color: var(--teal-dark);
    font-size: var(--type-xs);
    font-weight: 600;
    white-space: nowrap;
}

/* The strip under the hero: what we deliver. */
.capability-strip {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.capability-strip ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
}

.capability-strip li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px;
    color: var(--teal-dark);
    font-size: var(--type-sm);
    font-weight: 700;
    line-height: 1.3;
}

.capability-strip li + li {
    border-left: 1px solid var(--border-color);
}

.capability-strip li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--brand-color);
}

/* Case study link on the museum page */
.case-band {
    padding: 0;
    background-color: var(--teal-soft);
}

.case-band .landing-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.case-band p {
    margin: 0;
    color: var(--teal-dark);
    font-size: 1.02rem;
}

.case-band strong {
    display: block;
    font-size: 1.15rem;
}

/* Use cases: a heading column and a grid of cards. */
.use-cases .landing-inner {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 40px;
    align-items: start;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.use-case {
    padding: 20px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.use-case .card-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-color);
    font-size: var(--type-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.use-case h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
}

.use-case p {
    margin: 0;
    color: #3f464f;
    font-size: var(--type-sm);
    line-height: 1.55;
}

/* The way from capture to the website, as a timeline. */
.process-band {
    background-color: #ffffff;
}

.process-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
    list-style: none;
    counter-reset: process;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), rgba(45, 108, 114, 0.15));
}

.process-steps li {
    position: relative;
    counter-increment: process;
    color: #3f464f;
    font-size: var(--type-sm);
    line-height: 1.55;
}

.process-steps li::before {
    content: counter(process);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--teal);
    font-size: 1rem;
    font-weight: 700;
}

.process-steps strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-color);
    font-size: 1.02rem;
}

/* Viewer customization: text on the left, feature list on the right. */
.viewer-band .landing-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: start;
}

.viewer-band .text-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 18px;
}

.viewer-band h3 {
    margin: 0 0 6px;
}

.viewer-band .text-pair p {
    margin: 0;
    color: #3f464f;
}

.feature-list {
    padding: 22px;
    background-color: var(--teal-soft);
    border-radius: 10px;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--teal-dark);
    font-size: var(--type-sm);
    font-weight: 700;
}

.feature-list li + li {
    border-top: 1px solid rgba(45, 108, 114, 0.15);
}

.feature-list li::before {
    content: ">";
    color: var(--brand-color);
}

/* Call to action with the contact links, which the other pages have in the sidebar. */
.cta-band {
    background: var(--band-dark);
    color: #ffffff;
}

.cta-band .landing-inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 40px;
    align-items: center;
}

.cta-band h2 {
    color: #ffffff;
}

.cta-band p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

.cta-band .contact-links {
    display: grid;
    gap: 8px;
}

.cta-band .contact-link {
    min-height: 46px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.cta-band .contact-link::after {
    color: var(--brand-color);
}

.cta-band .contact-link.primary {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
}

.cta-band .contact-link.primary::after {
    color: #ffffff;
}

.cta-band .contact-link:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--teal-dark);
}

.cta-band .contact-link:hover::after {
    color: var(--brand-color);
}

.cta-band + .landing-band {
    border-top: none;
}

/* Links to the other industries (also on the home page). */
/* Home page: the industries right under the hero, as large cards. */
#content .industries-section {
    margin: 0 -22px 14px;
    padding: 26px 22px 30px;
    border-top: none;
}

#content .industries-section h2 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.15;
}

.industry-grid-large {
    gap: 16px;
    margin: 0;
}

#content a.industry-card,
.industry-grid-large .industry-card {
    position: relative;
}

.industry-grid-large .industry-card {
    min-height: 230px;
    padding: 22px 20px 20px !important;
    gap: 10px !important;
}

.industry-grid-large .industry-card em {
    color: #2d6c72;
    font-size: var(--type-xs);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
}

.industry-grid-large .industry-card strong {
    font-size: 1.45rem;
    line-height: 1.15;
}

.industry-grid-large .industry-card span {
    flex: 1;
    font-size: var(--type-base);
    line-height: 1.5;
}

.industry-grid-large .industry-card b {
    color: var(--brand-color);
    font-size: var(--type-sm);
    font-weight: 700;
}

.industry-grid-large .industry-card b::after {
    content: " >";
}

.industry-grid-large .industry-card strong::after {
    content: none;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 4px;
}

#content a.industry-card,
.landing a.industry-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    color: var(--text-color);
    font-weight: 400;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#content a.industry-card:hover,
.landing a.industry-card:hover {
    border-color: rgba(237, 96, 63, 0.55);
    box-shadow: 0 16px 32px rgba(23, 25, 29, 0.12);
    transform: translateY(-1px);
    color: var(--text-color);
}

.industry-card strong {
    font-size: var(--type-base);
    font-weight: 700;
}

.industry-card strong::after {
    content: " >";
    color: var(--brand-color);
}

.industry-card span {
    color: var(--text-muted);
    font-size: var(--type-sm);
    line-height: 1.45;
}

.landing a.industry-card.is-current {
    border-color: rgba(45, 108, 114, 0.4);
    background-color: #edf4f2;
}

.others-band {
    padding: 40px 0 48px;
}

.others-band h2 {
    font-size: 1.2rem;
}

@media (max-width: 1000px) {
    .landing-hero .landing-inner,
    .use-cases .landing-inner,
    .viewer-band .landing-inner,
    .cta-band .landing-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .landing-hero .viewer-frame {
        aspect-ratio: 16 / 10;
    }

    .capability-strip ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .capability-strip li:nth-child(3) {
        border-left: none;
    }

    .capability-strip li:nth-child(n + 3) {
        border-top: 1px solid var(--border-color);
    }

    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 760px) {
    #content .industries-section {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .industry-grid-large .industry-card {
        min-height: 0;
    }

    .landing {
        margin-top: 0;
    }

    .landing-inner {
        padding: 0 16px;
    }

    .landing-band {
        padding: 40px 0;
    }

    .landing-hero {
        padding: 30px 0 36px;
    }

    .landing-hero .viewer-frame {
        aspect-ratio: 1 / 1;
        max-height: 70vh;
    }

    .use-case-grid,
    .viewer-band .text-pair,
    .industry-grid {
        grid-template-columns: 1fr;
    }

    .landing-actions {
        flex-direction: column;
    }

    .landing-button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .capability-strip ul,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .capability-strip li + li {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }

    .capability-strip li {
        padding: 14px 4px;
    }
}
