/*
 * The theme's bootstrap.min.css builds form controls from --vz-input-bg-custom
 * and --vz-input-border-custom, but defines neither: they live in app.min.css,
 * which this page deliberately does not load. Without them the border and
 * background declarations are invalid and inputs render invisible, so supply
 * the light-theme values here.
 */
:root {
    --vz-input-bg-custom: #fff;
    --vz-input-border-custom: #ced4da;

    --ss-navy: #0b1f3a;
    --ss-navy-soft: #12325c;
    --ss-accent: #f2a03d;
    --ss-accent-dark: #d9862a;
    --ss-ink: #1b2733;
    --ss-muted: #5d6b7a;
    --ss-line: #e4e9ef;
    --ss-bg-soft: #f6f8fb;
}

body.ss-site {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ss-ink);
    background: #fff;
}

.ss-site h1,
.ss-site h2,
.ss-site h3,
.ss-site h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ss-ink);
}

/*
 * The theme paints every heading with --vz-heading-color, which beats plain
 * inheritance — so headings sitting on the dark sections have to be told
 * explicitly that they are on a dark background.
 */
.ss-hero h1,
.ss-hero h2,
.ss-band h2,
.ss-contact-panel h3,
.ss-footer h3 {
    color: #fff;
}

.ss-section {
    padding: 84px 0;
}

.ss-section--soft {
    background: var(--ss-bg-soft);
}

.ss-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ss-accent-dark);
    margin-bottom: 0.75rem;
}

.ss-lead {
    color: var(--ss-muted);
    font-size: 1.05rem;
    max-width: 44rem;
}

/* ---------- nav ---------- */

.ss-nav {
    background: rgba(11, 31, 58, 0.96);
    backdrop-filter: blur(6px);
    padding: 0.85rem 0;
}

.ss-brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ss-brand span {
    color: var(--ss-accent);
}

.ss-brand small {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.ss-nav .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    padding: 0.4rem 0.9rem;
}

.ss-nav .nav-link:hover,
.ss-nav .nav-link:focus {
    color: #fff;
}

.ss-btn-accent {
    background: var(--ss-accent);
    border-color: var(--ss-accent);
    color: #10233d;
    font-weight: 600;
}

.ss-btn-accent:hover,
.ss-btn-accent:focus {
    background: var(--ss-accent-dark);
    border-color: var(--ss-accent-dark);
    color: #10233d;
}

.ss-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-weight: 600;
}

.ss-btn-ghost:hover,
.ss-btn-ghost:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ---------- hero ---------- */

.ss-hero {
    position: relative;
    background:
        radial-gradient(1100px 520px at 12% -10%, rgba(242, 160, 61, 0.22), transparent 60%),
        linear-gradient(140deg, var(--ss-navy) 0%, var(--ss-navy-soft) 62%, #0d2748 100%);
    color: #fff;
    padding: 96px 0 104px;
    overflow: hidden;
}

.ss-hero::after {
    /* Soft grid, drawn rather than loaded, so the page has no image dependency. */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(80% 70% at 70% 30%, #000 0%, transparent 75%);
    pointer-events: none;
}

.ss-hero > .container {
    position: relative;
    z-index: 1;
}

.ss-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.12;
}

.ss-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    max-width: 34rem;
}

.ss-badge-partner {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(242, 160, 61, 0.16);
    border: 1px solid rgba(242, 160, 61, 0.4);
    color: var(--ss-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ss-partner-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    background: #fff;
}

.ss-partner-strip span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ss-muted);
}

.ss-partner-strip img {
    height: 30px;
    width: auto;
    display: block;
}

/* Two-by-two product collage; the offset columns keep it from looking like a table. */
.ss-hero-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.ss-hero-collage figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 40px rgba(4, 12, 26, 0.35);
}

.ss-hero-collage img {
    display: block;
    width: 100%;
    height: 165px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .ss-hero-collage figure:nth-child(1),
    .ss-hero-collage figure:nth-child(3) {
        transform: translateY(-14px);
    }
}

/* ---------- cards ---------- */

.ss-pillar {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: 16px;
    padding: 1.6rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ss-pillar:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 160, 61, 0.5);
    box-shadow: 0 14px 34px rgba(11, 31, 58, 0.1);
}

.ss-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--ss-navy), var(--ss-navy-soft));
    color: var(--ss-accent);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.ss-pillar h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.ss-pillar p {
    color: var(--ss-muted);
    font-size: 0.92rem;
    margin: 0;
}

/* Photo-led variant: the image bleeds to the card edge and the icon straddles it. */
.ss-pillar--media {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ss-pillar-media {
    position: relative;
    background: var(--ss-bg-soft);
}

.ss-pillar-media img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.ss-pillar-media .ss-pillar-icon {
    position: absolute;
    left: 1.25rem;
    bottom: -22px;
    margin-bottom: 0;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(11, 31, 58, 0.22);
}

.ss-pillar-body {
    padding: 2.2rem 1.4rem 1.5rem;
}

/* ---------- projects ---------- */

.ss-project-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.ss-project-cert {
    margin: 0;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: 14px;
    padding: 0.75rem;
    text-align: center;
}

.ss-project-cert img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ss-project-cert figcaption {
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ss-accent-dark);
}

.ss-project-shots {
    display: grid;
    gap: 1rem;
}

.ss-project-shots figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--ss-line);
}

.ss-project-shots img {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
}

.ss-client-strip {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ss-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
}

.ss-client-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ss-muted);
}

.ss-client-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
}

.ss-client-logos img {
    height: 56px;
    width: auto;
    /* Brochure emblems vary wildly in colour; muting them keeps the strip calm. */
    filter: grayscale(0.55);
    opacity: 0.88;
    transition: filter 0.2s ease, opacity 0.2s ease;
}

.ss-client-logos img:hover {
    filter: none;
    opacity: 1;
}

.ss-product {
    height: 100%;
    display: flex;
    gap: 0.9rem;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: 14px;
    padding: 1.1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ss-product:hover {
    border-color: rgba(242, 160, 61, 0.55);
    box-shadow: 0 10px 26px rgba(11, 31, 58, 0.08);
}

.ss-product i {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(242, 160, 61, 0.14);
    color: var(--ss-accent-dark);
    font-size: 1.15rem;
}

.ss-product h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.ss-product p {
    color: var(--ss-muted);
    font-size: 0.86rem;
    margin: 0;
}

/* ---------- printing band ---------- */

.ss-band {
    background: linear-gradient(120deg, var(--ss-navy) 0%, var(--ss-navy-soft) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2.6rem;
}

.ss-band h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.ss-band p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* ---------- contact ---------- */

.ss-contact-tile {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: 16px;
    padding: 1.5rem;
}

.ss-phone-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ss-phone-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--ss-line);
    background: var(--ss-bg-soft);
    color: var(--ss-ink);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.ss-phone-list a:hover {
    border-color: var(--ss-accent);
    color: var(--ss-accent-dark);
}

/* Dark counterpart to the enquiry card, so the two columns balance. */
.ss-contact-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, var(--ss-navy) 0%, var(--ss-navy-soft) 100%);
    color: #fff;
    border-radius: 16px;
    padding: 1.75rem;
}

.ss-panel-note {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
}

.ss-panel-block {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ss-panel-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.6rem;
}

.ss-panel-line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

a.ss-panel-line:hover {
    color: var(--ss-accent);
}

.ss-panel-line i {
    color: var(--ss-accent);
    font-size: 1.1rem;
    line-height: 1.4;
}

.ss-contact-panel .ss-phone-list a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.ss-contact-panel .ss-phone-list a:hover {
    background: rgba(242, 160, 61, 0.18);
    border-color: var(--ss-accent);
    color: var(--ss-accent);
}

.ss-panel-foot {
    margin-top: auto;
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

.ss-panel-foot i {
    color: var(--ss-accent);
    font-size: 1rem;
}

/* Honeypot: reachable by bots, invisible and unfocusable for humans. */
.ss-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ss-contact-tile .form-label {
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.ss-contact-tile .form-control,
.ss-contact-tile .form-select {
    border-color: var(--ss-line);
    padding: 0.6rem 0.8rem;
}

.ss-contact-tile .form-control:focus,
.ss-contact-tile .form-select:focus {
    border-color: var(--ss-accent);
    box-shadow: 0 0 0 0.2rem rgba(242, 160, 61, 0.18);
}

.ss-contact-tile .invalid-feedback {
    display: none;
}

.ss-contact-tile .is-invalid ~ .invalid-feedback {
    display: block;
}

#ssEnquirySubmit[disabled] {
    opacity: 0.7;
}

/* ---------- map ---------- */

.ss-map {
    line-height: 0;
}

.ss-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(0.15);
}

@media (max-width: 767.98px) {
    .ss-map iframe {
        height: 300px;
    }
}

/* ---------- footer ---------- */

.ss-footer {
    background: var(--ss-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 28px;
}

.ss-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.ss-footer a:hover {
    color: var(--ss-accent);
}

@media (max-width: 767.98px) {
    .ss-section {
        padding: 56px 0;
    }

    .ss-hero {
        padding: 64px 0 72px;
    }

    .ss-band {
        padding: 1.8rem;
    }

    .ss-hero-collage img {
        height: 120px;
    }

    .ss-project-grid {
        grid-template-columns: 1fr;
    }

    .ss-client-strip {
        gap: 1.25rem;
    }

    .ss-client-logos {
        gap: 1.5rem;
    }

    .ss-client-logos img {
        height: 44px;
    }
}
