/* ==========================================================
   SHARPLINE — ABOUT US PAGE
   Extends the navy & gold theme from style.css
========================================================== */

/* Reset the placeholder <main> spacing used on other pages
   and let the about page sections control their own rhythm. */
body.about-page main {
    margin: 0;
}

body.about-page {
    background: var(--sp-navy-950);
}


/* ==========================================================
   SHARED HELPERS
========================================================== */

.sp-container {
    width: min(var(--sp-container-width), var(--sp-container-max));
    margin: 0 auto;
}

.sp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--sp-gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sp-eyebrow i {
    font-size: 10px;
    color: var(--sp-gold);
}

.sp-about-main h2 {
    margin-bottom: 22px;
    color: var(--sp-heading);
    font-family: var(--sp-serif);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
}

.sp-about-main p {
    margin-bottom: 18px;
    color: var(--sp-text);
    font-size: 15px;
    line-height: 1.85;
}

.sp-about-main p:last-of-type {
    margin-bottom: 0;
}

.sp-section {
    position: relative;
    padding: 100px 0;
}


/* ==========================================================
   PAGE BANNER
========================================================== */

.sp-page-banner {
    position: relative;
    height: 340px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--sp-navy-950);
}

.sp-page-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.sp-page-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 50% 30%,
            rgba(9, 26, 43, 0.05),
            rgba(3, 13, 24, 0.45) 72%),
        linear-gradient(180deg,
            rgba(3, 13, 24, 0.15) 0%,
            rgba(3, 13, 24, 0.35) 55%,
            rgba(3, 13, 24, 0.75) 100%);
}

.sp-page-banner-content {
    position: relative;
    z-index: 2;
    padding-top: 82px;
    text-align: center;
}

.sp-page-banner-content h1 {
    margin-bottom: 16px;
    color: var(--sp-heading);
    font-family: var(--sp-serif);
    font-size: 54px;
    font-weight: 600;
}

.sp-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sp-muted);
    font-size: 13px;
    font-weight: 500;
}

.sp-breadcrumb a {
    color: var(--sp-text);
    transition: color 0.3s ease;
}

.sp-breadcrumb a:hover {
    color: var(--sp-gold-light);
}

.sp-breadcrumb i {
    font-size: 9px;
    color: var(--sp-gold);
}

.sp-breadcrumb span {
    color: var(--sp-gold-light);
}


/* ==========================================================
   ABOUT SHARPLINE
========================================================== */

.sp-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.sp-about-intro-media img,
.sp-about-who-media img,
.sp-why-media img,
.sp-founder-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-about-intro-media {
    position: relative;
    height: 420px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--sp-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.sp-about-who-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    align-items: stretch;
    gap: 70px;
    margin-top: 90px;
}

.sp-about-who-media {
    position: relative;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--sp-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.sp-about-who-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-about-who-text h2 {
    margin-bottom: 24px;
}

.sp-about-who-text > p:not(.sp-about-who-lead) {
    font-size: 16px;
    line-height: 1.95;
}

.sp-about-who-lead {
    margin-top: 8px;
    margin-bottom: 20px !important;
    padding-top: 24px;
    border-top: 1px solid var(--sp-border-light);
    color: var(--sp-heading);
    font-weight: 600;
}

.sp-who-media-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -60%);
    border-radius: 50%;
    background: linear-gradient(145deg, #cb9130, #efb949);
    color: #091321;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(217, 166, 59, 0.45);
}

.sp-check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
}

.sp-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sp-text);
    font-size: 14px;
}

.sp-check-list i {
    color: var(--sp-gold);
    font-size: 15px;
}


/* ==========================================================
   WHAT WE DO — FULL-BLEED PANEL
========================================================== */

.sp-panel {
    position: relative;
    padding: 90px 0;

    background:
        radial-gradient(circle at 15% 20%,
            rgba(217, 166, 59, 0.07),
            transparent 45%),
        linear-gradient(180deg, var(--sp-navy-900) 0%, var(--sp-navy-850) 100%);

    border-top: 1px solid var(--sp-border-light);
    border-bottom: 1px solid var(--sp-border-light);
}

.sp-whatwedo-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.sp-whatwedo-text {
    max-width: 720px;
}

.sp-whatwedo-btn {
    flex-shrink: 0;
}


/* ==========================================================
   WHY SHARPLINE
========================================================== */

.sp-why-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.sp-why-media {
    position: relative;
    height: 420px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--sp-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}


/* ==========================================================
   FOUNDER MESSAGE
========================================================== */

.sp-founder {
    padding-bottom: 130px;
}

.sp-founder-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--sp-border);
    background:
        radial-gradient(circle at 0% 0%,
            rgba(217, 166, 59, 0.10),
            transparent 45%),
        linear-gradient(155deg, var(--sp-navy-850) 0%, var(--sp-navy-900) 100%);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.sp-founder-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sp-founder-text .sp-contact-btn {
    align-self: flex-start;
    margin-top: 10px;
    margin-bottom: 30px;
}

.sp-founder-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--sp-border-light);
}

.sp-founder-photo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--sp-border);
}

.sp-founder-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sp-founder-sig {
    width: 100px;
    height: auto;
    max-height: 46px;
    object-fit: contain;
    margin-left: 6px;

    /* The signature source has a white background with dark ink.
       Invert + screen-blend it so the white disappears into the
       dark card and only the pale stroke remains visible. */
    filter: invert(1);
    mix-blend-mode: screen;
    opacity: 0.85;
}

.sp-founder-name {
    font-family: var(--sp-serif);
    font-size: 20px;
    font-weight: 600;
    color: var(--sp-heading);
}

.sp-founder-role {
    color: var(--sp-gold-light);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sp-founder-media {
    position: relative;
    min-height: 420px;
}

.sp-founder-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 26, 43, 0.55), transparent 30%);
    z-index: 1;
}


/* ==========================================================
   SCROLL-REVEAL ANIMATIONS
   Elements start hidden/offset, then animate in once
   [data-reveal] gets .is-visible (handled by script.js)
========================================================== */

[data-reveal] {
    opacity: 0;
    will-change: opacity, transform, filter;
    transition:
        opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Text blocks: a gentle rise, no blur (keeps type crisp) */
[data-reveal="fade"] {
    transform: translateY(26px);
}

[data-reveal="left"] {
    transform: translateX(-32px);
}

[data-reveal="right"] {
    transform: translateX(32px);
}

/* Media & cards: soft blur-to-focus adds a touch of depth */
.sp-about-intro-media[data-reveal],
.sp-about-who-media[data-reveal],
.sp-why-media[data-reveal],
.sp-founder-card[data-reveal] {
    filter: blur(10px);
    transform: scale(1.04);
}

.sp-about-intro-media[data-reveal="right"],
.sp-why-media[data-reveal="right"] {
    transform: scale(1.04) translateX(32px);
}

.sp-about-who-media[data-reveal="left"] {
    transform: scale(1.04) translateX(-32px);
}

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

/* Staggered reveal for checklist items and grouped text blocks
   (eyebrow / heading / paragraphs / button reveal one after another) */
[data-reveal-list] li,
[data-reveal-group] > * {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal-list].is-visible li,
[data-reveal-group].is-visible > * {
    opacity: 1;
    transform: none;
}


/* ==========================================================
   PAGE LOAD FADE-IN
   Prevents a flash of fully-visible content before the
   scroll-reveal state applies on first paint.
========================================================== */

body.about-page {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.about-page.sp-page-loaded {
    opacity: 1;
}


/* ==========================================================
   MICRO-INTERACTIONS
========================================================== */

/* Image zoom-on-scroll containers */
.sp-about-intro-media,
.sp-about-who-media,
.sp-why-media,
.sp-founder-media {
    overflow: hidden;
}

.sp-about-intro-media img,
.sp-about-who-media img,
.sp-why-media img,
.sp-founder-media img {
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-about-intro-media:hover img,
.sp-about-who-media:hover img,
.sp-why-media:hover img,
.sp-founder-media:hover img {
    transform: scale(1.06);
}

/* Pin marker gentle pulse */
.sp-who-media-pin {
    animation: sp-pin-pulse 2.6s ease-in-out infinite;
}

@keyframes sp-pin-pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(217, 166, 59, 0.45);
        transform: translate(-50%, -60%) scale(1);
    }

    50% {
        box-shadow: 0 10px 40px rgba(217, 166, 59, 0.7);
        transform: translate(-50%, -60%) scale(1.08);
    }
}

/* Checklist items nudge on hover */
.sp-check-list li {
    transition: transform 0.3s ease, color 0.3s ease;
}

.sp-check-list li:hover {
    transform: translateX(4px);
    color: var(--sp-heading);
}

.sp-check-list li i {
    transition: transform 0.3s ease;
}

.sp-check-list li:hover i {
    transform: scale(1.15);
}

/* Founder card lifts slightly on hover for a bit of life */
.sp-founder-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.sp-founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 50px 90px rgba(0, 0, 0, 0.45);
}

/* Banner content gentle rise on load */
.sp-page-banner-content h1 {
    animation: sp-banner-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sp-page-banner-content .sp-breadcrumb {
    animation: sp-banner-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes sp-banner-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    [data-reveal],
    [data-reveal-list] li,
    [data-reveal-group] > *,
    .sp-page-banner-content h1,
    .sp-page-banner-content .sp-breadcrumb {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    body.about-page {
        opacity: 1 !important;
        transition: none !important;
    }
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1024px) {

    .sp-about-intro-grid,
    .sp-about-who-grid,
    .sp-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-about-who-grid {
        margin-top: 50px;
    }

    .sp-about-who-media {
        order: -1;
    }

    .sp-founder-card {
        grid-template-columns: 1fr;
    }

    .sp-founder-media {
        min-height: 320px;
        order: -1;
    }

    .sp-whatwedo-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .sp-about-main h2 {
        font-size: 34px;
    }

    .sp-page-banner-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 900px) {
    .sp-page-banner {
        height: 280px;
    }

    .sp-section {
        padding: 70px 0;
    }

    .sp-founder-text {
        padding: 42px 32px;
    }
}

@media (max-width: 640px) {
    .sp-check-list {
        grid-template-columns: 1fr;
    }

    .sp-about-intro-media,
    .sp-about-who-media,
    .sp-why-media {
        height: 280px;
    }

    .sp-page-banner-content h1 {
        font-size: 34px;
    }

    .sp-founder-text {
        padding: 36px 22px;
    }

    .sp-founder-signature {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .sp-founder-sig {
        margin-left: 0;
    }
}

/* Tame the reveal animations on touch/mobile — the desktop
   horizontal slide + scale + blur combo reads as jittery
   "moving" content on narrow screens; use a gentle fade+rise
   instead, matching the reduced-motion treatment above. */
@media (max-width: 768px) {

    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translateY(18px);
    }

    .sp-about-intro-media[data-reveal],
    .sp-about-who-media[data-reveal],
    .sp-why-media[data-reveal],
    .sp-founder-card[data-reveal] {
        filter: none;
        transform: translateY(18px);
    }

    .sp-about-intro-media[data-reveal="right"],
    .sp-why-media[data-reveal="right"],
    .sp-about-who-media[data-reveal="left"] {
        transform: translateY(18px);
    }

    [data-reveal].is-visible {
        filter: none;
        transform: none;
    }

    .sp-about-intro-media:hover img,
    .sp-about-who-media:hover img,
    .sp-why-media:hover img,
    .sp-founder-media:hover img {
        transform: none;
    }

    .sp-founder-card:hover {
        transform: none;
    }
}

@media (max-width: 480px) {

    .sp-page-banner {
        height: 230px;
    }

    .sp-page-banner-content {
        padding-top: 60px;
    }

    .sp-page-banner-content h1 {
        font-size: 28px;
    }

    .sp-section {
        padding: 50px 0;
    }

    .sp-about-intro-media,
    .sp-about-who-media,
    .sp-why-media {
        height: 220px;
    }
}
