/*
 * @package     Callcentre Management
 * @author      Alwyn C. Joubert
 * @title       IT operations manager
 * @copyright   Copyright (c) 2024
 * @license     Proprietary License
 */
:root {
    --bg: #fbf6ef;
    --bg-strong: #fffefc;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.92);
    --text: #1d2230;
    --muted: #5b6274;
    --line: rgba(38, 41, 54, 0.12);
    --line-strong: rgba(38, 41, 54, 0.2);
    --brand: #262936;
    --brand-soft: #46506b;
    --blush: #efb5c7;
    --sage: #b8cab7;
    --gold: #d7b564;
    --shadow: 0 30px 70px rgba(38, 41, 54, 0.14);
    --shadow-soft: 0 18px 40px rgba(38, 41, 54, 0.1);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1220px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(239, 181, 199, 0.55), transparent 28%),
        radial-gradient(circle at top right, rgba(184, 202, 183, 0.45), transparent 24%),
        linear-gradient(180deg, #fffdf8 0%, #fbf6ef 48%, #f6f0e6 100%);
    min-height: 100vh;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-shell {
    position: relative;
    overflow: clip;
}

.site-shell::before,
.site-shell::after {
    content: "";
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(36px);
    opacity: 0.36;
    pointer-events: none;
    z-index: -1;
}

.site-shell::before {
    background: rgba(239, 181, 199, 0.5);
    top: -120px;
    left: -110px;
}

.site-shell::after {
    background: rgba(184, 202, 183, 0.44);
    bottom: 8%;
    right: -90px;
}

.topbar,
.header,
main,
.footer {
    width: min(calc(100% - 2rem), var(--max-width));
    margin-inline: auto;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0 0.45rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.topbar a {
    font-weight: 700;
    color: var(--brand);
}

.header {
    position: sticky;
    top: 0.75rem;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.2rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-soft);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(38, 41, 54, 0.08);
}

.brand-copy {
    display: grid;
}

.brand-copy span {
    font-size: 0.8rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-copy strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1;
}

.nav {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav a {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--muted);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
    background: rgba(38, 41, 54, 0.08);
    color: var(--brand);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    width: 24px;
    height: 2px;
    margin-inline: auto;
    background: var(--brand);
    border-radius: 999px;
}

main {
    display: grid;
    gap: 4.8rem;
    padding-bottom: 4rem;
}

.hero,
.page-hero,
.overview,
.services,
.gallery,
.video-section,
.process,
.contact {
    position: relative;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 2.5rem;
    padding: 1.25rem 0 0;
}

.page-hero {
    padding-top: 1rem;
}

.eyebrow {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 800;
}

.hero h1,
.section-heading h2,
.overview-panel h2,
.contact-card h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(2.9rem, 5.9vw, 5.4rem);
    max-width: 10ch;
}

.hero-text,
.overview-panel p,
.section-heading p,
.service-card p,
.video-copy p,
.process-grid p,
.contact-card p,
.contact-details p {
    color: var(--muted);
    line-height: 1.75;
}

.hero-text {
    font-size: 1.05rem;
    max-width: 62ch;
    margin: 1rem 0 1.3rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand) 0%, #3c4662 100%);
    box-shadow: 0 18px 36px rgba(38, 41, 54, 0.22);
}

.button-secondary {
    color: var(--brand);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(38, 41, 54, 0.12);
}

.hero-points {
    display: grid;
    gap: 0.6rem;
    padding: 1.15rem 0 0;
    margin: 0;
    list-style: none;
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
    font-weight: 600;
}

.hero-points li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blush), var(--gold));
    box-shadow: 0 0 0 6px rgba(239, 181, 199, 0.18);
}

.hero-visual {
    position: relative;
    min-height: 560px;
}

.hero-card {
    position: absolute;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.hero-card-main {
    inset: 2.25rem 2rem 0.75rem 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: rotate(-4deg);
}

.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-accent {
    right: 0;
    top: 0;
    width: 300px;
    padding: 1.3rem;
    border-radius: var(--radius-lg);
}

.stat-label {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 800;
}

.hero-card-accent strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.hero-card-accent span {
    color: var(--muted);
    line-height: 1.6;
}

.hero-card-mini {
    left: 1rem;
    bottom: -0.7rem;
    width: 220px;
    border-radius: 22px;
    overflow: hidden;
    transform: rotate(6deg);
}

.hero-card-mini img {
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
}

.overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.4rem;
    align-items: stretch;
}

.overview-panel,
.page-intro,
.overview-grid article,
.service-card,
.video-card,
.video-copy,
.process-grid article,
.contact-card,
.contact-details,
.gallery-item,
.lightbox {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.overview-panel {
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.page-intro {
    display: grid;
    gap: 1rem;
    padding: 2rem;
    border-radius: var(--radius-xl);
    max-width: 900px;
}

.page-intro h1 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2.7rem, 5.2vw, 4.9rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.page-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    max-width: 64ch;
}

.overview-panel h2,
.section-heading h2,
.contact-card h2 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    margin-bottom: 1.15rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.overview-grid article {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.overview-grid h3,
.service-card h3,
.process-grid h3 {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 1.5rem;
}

.section-heading p {
    max-width: 60ch;
    margin-top: 0.9rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    position: relative;
    padding: 1.65rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -30px -30px auto;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239, 181, 199, 0.58), rgba(239, 181, 199, 0));
}

.service-card span,
.process-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(38, 41, 54, 0.08);
    color: var(--brand);
    font-weight: 800;
}

.gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.gallery-controls .gallery-toolbar {
    margin-bottom: 0;
}

.gallery-status {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 600;
}

.gallery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.35rem;
}

.gallery-actions-centered {
    justify-content: center;
}

.filter-chip {
    min-height: 44px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.65);
    color: var(--muted);
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(38, 41, 54, 0.22);
}

.filter-chip.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.media-empty {
    padding: 1.4rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--line-strong);
    background: rgba(255, 255, 255, 0.5);
    color: var(--muted);
    line-height: 1.7;
}

.gallery-item {
    position: relative;
    grid-column: span 4;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    padding: 0;
    border: 0;
    text-align: left;
    color: inherit;
    background: var(--surface);
}

.gallery-item.is-tall {
    grid-row: span 2;
}

.gallery-item figure {
    margin: 0;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 280ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.04);
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 1.15rem;
    color: #fff;
    background: linear-gradient(180deg, rgba(29, 34, 48, 0) 0%, rgba(29, 34, 48, 0.88) 100%);
}

.gallery-item strong {
    display: block;
    font-size: 1.02rem;
    margin-bottom: 0.2rem;
}

.gallery-item span {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.video-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.2rem;
    align-items: stretch;
}

.video-grid {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.video-card,
.facebook-embed-card,
.contact-card,
.contact-details {
    border-radius: var(--radius-xl);
}

.video-card {
    padding: 1rem;
    display: grid;
    gap: 0.95rem;
}

.video-card video {
    width: 100%;
    max-height: 580px;
    border-radius: calc(var(--radius-xl) - 10px);
    background: #000;
}

.video-meta {
    display: grid;
    gap: 0.25rem;
}

.video-meta strong {
    font-size: 1.05rem;
}

.video-meta span {
    color: var(--muted);
    line-height: 1.6;
}

.facebook-embed-card {
    padding: 1rem;
    overflow: hidden;
}

.facebook-embed-frame {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    border-radius: calc(var(--radius-xl) - 10px);
    background: rgba(255, 255, 255, 0.86);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.process-grid article {
    padding: 1.65rem;
    border-radius: var(--radius-lg);
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1rem;
}

.contact-card,
.contact-details {
    padding: 2rem;
}

.contact-details {
    display: grid;
    align-content: start;
    gap: 1.4rem;
}

.contact-details span {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.83rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-soft);
    font-weight: 800;
}

.contact-details a {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0 3rem;
    color: var(--muted);
    border-top: 1px solid rgba(38, 41, 54, 0.08);
}

.footer strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--brand);
}

.footer p {
    margin: 0;
}

.footer div:nth-child(2) {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-credit {
    line-height: 1.7;
}

.footer-credit a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.lightbox {
    width: min(92vw, 1080px);
    padding: 1rem;
    border: 0;
    border-radius: 28px;
    color: var(--text);
}

.lightbox::backdrop {
    background: rgba(20, 22, 30, 0.7);
    backdrop-filter: blur(10px);
}

.lightbox img {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    border-radius: 20px;
    background: #fff;
}

.lightbox-copy {
    padding: 1rem 0.4rem 0.3rem;
}

.lightbox-copy strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.lightbox-copy p {
    margin: 0;
    color: var(--muted);
}

.lightbox-close {
    margin-left: auto;
    margin-bottom: 0.7rem;
    display: inline-flex;
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.75);
    color: var(--brand);
    cursor: pointer;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero,
    .overview,
    .video-layout,
    .contact {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 560px;
    }

    .page-intro {
        max-width: none;
    }

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

    .gallery-item {
        grid-column: span 6;
    }
}

@media (max-width: 800px) {
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .header {
        top: 0.5rem;
        flex-wrap: wrap;
        border-radius: 28px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.5rem;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        text-align: center;
    }

    .hero {
        padding-top: 0.5rem;
    }

    .hero h1 {
        max-width: none;
    }

    .page-intro h1 {
        max-width: none;
    }

    .hero-visual {
        min-height: 480px;
    }

    .hero-card-main {
        inset: 3rem 1.2rem 0 0;
    }

    .hero-card-accent {
        width: min(280px, 78vw);
    }

    .hero-card-mini {
        left: 0;
        width: min(180px, 44vw);
    }

    .overview-grid,
    .service-grid,
    .process-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        grid-column: auto;
    }

    .video-card video {
        max-height: 360px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
/* Colossians 3:23 - Whatever you do, work at it with all your heart. */
