/* ============================================================
   SYNERGY GRID — Homepage Styles (consolidated)
   Replaces: synergy-home-v2.css + synergy-overrides.css
   Load order: main.css → this file  (synergy-overrides.css no longer needed)

   Brand: Green #169c53 · Blue #4554b1 · Navy #0d1117
   Fonts: Bebas Neue (display) · Cormorant Garamond (serif) · DM Sans (body)
   ============================================================ */

/* ── Design Tokens ── */
:root {
    --sg-navy: #0D0D0D;
    --sg-navy-soft: #111111;
    --sg-cream: #f0ede8;
    --sg-green: #169c53;
    --sg-green-dark: #0f7040;
    --sg-blue: #4554b1;
    --sg-blue-dark: #333f9a;
    --sg-blue-light: #6b7de8;
    --sg-white: #ffffff;
    --sg-muted: rgba(240, 237, 232, 0.62);

    --font-display: 'Bebas Neue', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ── Base Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--sg-cream);
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    z-index: 0;
}

/* ── Global Ambient Glow — applies to every page ──────────────
   Three-layer glow system:
   1. body background-image  → static multi-point gradient canvas
   2. body::before           → animated green blob, top-left
   3. body::after            → animated blue blob, bottom-right
   All layers sit behind every UI element (z-index: -1 / bg layer).
   ──────────────────────────────────────────────────────────── */

/* Layer 1 — Static gradient canvas baked into body background.
   Three radial hotspots: green top-left, blue bottom-right,
   and a faint blue-green crossover in the centre.
   These never move, giving a constant warm base even when the
   pseudo-element blobs are at their dimmed animation phase.    */
body {
    background-color: #0D0D0D;
    background-image:
        /* Green bloom — top-left */
        radial-gradient(ellipse 70% 55% at 8% 12%,
            rgba(22, 156, 83, 0.22) 0%,
            rgba(22, 156, 83, 0.08) 45%,
            transparent 70%),
        /* Blue bloom — bottom-right */
        radial-gradient(ellipse 65% 55% at 92% 88%,
            rgba(69, 84, 177, 0.28) 0%,
            rgba(107, 125, 232, 0.10) 45%,
            transparent 68%),
        /* Crossover accent — mid-right edge */
        radial-gradient(ellipse 40% 35% at 88% 38%,
            rgba(69, 84, 177, 0.14) 0%,
            transparent 60%),
        /* Green whisper — bottom-left corner */
        radial-gradient(ellipse 38% 30% at 6% 92%,
            rgba(22, 156, 83, 0.12) 0%,
            transparent 65%);
    background-attachment: fixed;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    will-change: opacity, transform;
}

/* Layer 2 — Animated green blob, top-left.
   Larger and brighter than before so it visibly colours the dark. */
body::before {
    width: clamp(560px, 72vw, 1100px);
    height: clamp(560px, 72vw, 1100px);
    top: -20%;
    left: -16%;
    background: radial-gradient(ellipse at center,
            rgba(22, 156, 83, 0.32) 0%,
            rgba(22, 156, 83, 0.14) 35%,
            rgba(22, 156, 83, 0.04) 60%,
            transparent 78%);
    animation: sg-glow-pulse-green 9s ease-in-out infinite;
}

/* Layer 3 — Animated blue blob, bottom-right.
   Punchy centre that fades wide — makes the dark feel deep not flat. */
body::after {
    width: clamp(620px, 78vw, 1200px);
    height: clamp(620px, 78vw, 1200px);
    bottom: -22%;
    right: -18%;
    background: radial-gradient(ellipse at center,
            rgba(107, 125, 232, 0.35) 0%,
            rgba(69, 84, 177, 0.18) 30%,
            rgba(69, 84, 177, 0.06) 58%,
            transparent 76%);
    animation: sg-glow-pulse-blue 11s ease-in-out 2s infinite;
}

@keyframes sg-glow-pulse-green {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.72;
        transform: scale(1.08);
    }
}

@keyframes sg-glow-pulse-blue {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.68;
        transform: scale(1.10);
    }
}

/* Reduce motion — respect OS preference */
@media (prefers-reduced-motion: reduce) {

    body::before,
    body::after {
        animation: none;
    }
}


/* ============================================================
   HEADER — Glass morphism navbar
   High-specificity selectors so main.css defaults are cleanly
   overridden without !important.
   ============================================================ */

header#header.header,
header#header.header.fixed-top,
header#header.header.sticky-top,
header#header.header.scroll-up-sticky {
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    padding: 20px 0;
    transition: background 0.5s ease, border-color 0.5s ease,
        padding 0.4s ease, box-shadow 0.4s ease;
}

body.scrolled header#header.header {
    background: rgba(13, 13, 13, 0.88);
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border-bottom: 1px solid rgba(69, 84, 177, 0.22);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
    padding: 10px 0;
}

/* Logo image */
header#header .logo img {
    max-height: 38px;
    margin-right: 10px;
    filter: drop-shadow(0 0 10px rgba(69, 84, 177, 0.4));
}

/* Logo anchor — kill default underline */
header#header a.logo,
header#header .logo {
    text-decoration: none;
}

/* Sitename wrapper */
header#header .sitename-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-decoration: none;
}

/* Sitename — Bebas Neue display font, bold editorial presence */
header#header .sitename,
header#header h1.sitename {
    font-family: var(--font-display);
    font-size: 30dr3crepx;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

header#header .sitename .grid-word {
    color: var(--sg-blue-light);
    text-shadow: 0 0 22px rgba(107, 125, 232, 0.5);
    font-style: normal;
}

/* Tagline below sitename */
header#header .sitename-sub {
    font-family: var(--font-body);
    font-size: 8.5px;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.38);
    display: block;
    line-height: 1;
    padding-left: 2px;
}

/* ── Desktop nav — explicitly visible above 1200px ──────────── */
@media (min-width: 1200px) {
    #sg-nav-list {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        gap: 0;
        border: none;
        box-shadow: none;
        overflow: visible;
    }

    .sg-nav-overlay {
        display: none !important;
    }
}

/* Nav container */
header#header .navmenu,
header#header nav.navmenu {
    background: transparent;
}

header#header .navmenu ul,
header#header nav.navmenu ul {
    background: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}

header#header .navmenu ul li,
header#header nav.navmenu ul li {
    padding: 0;
    margin: 0;
    background: transparent;
}

/* Nav links */
header#header .navmenu a,
header#header nav.navmenu a {
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.60);
    background: transparent;
    padding: 8px 16px;
    margin: 0 2px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    box-shadow: none;
}

header#header .navmenu a:hover,
header#header nav.navmenu a:hover {
    color: #ffffff;
    background: rgba(107, 125, 232, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(107, 125, 232, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

header#header .navmenu a.active,
header#header nav.navmenu a.active {
    color: #ffffff;
    background: rgba(69, 84, 177, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(107, 125, 232, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 16px rgba(69, 84, 177, 0.2);
}

/* Hover underline removed — glass pill style handles active/hover state */
header#header .navmenu a::after,
header#header nav.navmenu a::after {
    display: none;
}

/* Active dot removed — glass pill is the indicator */
header#header .navmenu a.active::before,
header#header nav.navmenu a.active::before {
    display: none;
}

/* Mobile nav toggle icon */
header#header .mobile-nav-toggle {
    color: rgba(240, 237, 232, 0.8);
    font-size: 24px;
}

/* Mobile nav drawer */
/* ── Mobile nav — completely self-contained, independent of main.js ── */
@media (max-width: 1199px) {

    /* Hide the nav list by default — use !important to beat main.css */
    #sg-nav-list {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 80vw);
        height: 100vh;
        height: 100dvh;
        /* Glass effect — matching image 2 target */
        background: rgba(8, 8, 12, 0.55);
        backdrop-filter: blur(32px) saturate(1.8) brightness(0.85);
        -webkit-backdrop-filter: blur(32px) saturate(1.8) brightness(0.85);
        /* Push links well below the × button — × sits at ~20px from top inside header (~70px tall) */
        padding: 220px 0 100px;
        margin: 0;
        gap: 0;
        list-style: none;
        z-index: 10001;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -12px 0 60px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Open state toggled by our inline script */
    #sg-nav-list.sg-open {
        display: flex !important;
    }

    /* Nav items */
    #sg-nav-list li {
        width: 100%;
        padding: 0;
        margin: 0;
        background: transparent;
    }

    #sg-nav-list li a {
        font-family: var(--font-body);
        font-size: 11.5px;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: rgba(240, 237, 232, 0.7);
        padding: 20px 24px;
        width: 100%;
        display: block;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        text-decoration: none;
        transition: color 0.2s, background 0.2s;
        position: relative;
    }

    /* Left accent bar on hover/active */
    #sg-nav-list li a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: var(--sg-blue-light);
        transition: width 0.22s ease;
    }

    #sg-nav-list li a:hover,
    #sg-nav-list li a.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    #sg-nav-list li a:hover::before,
    #sg-nav-list li a.active::before {
        width: 3px;
    }

    /* Kill desktop pseudo-elements */
    #sg-nav-list li a::after {
        display: none !important;
    }

    /* Dim overlay — left side of screen (outside drawer) */
    .sg-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 10000;
        -webkit-tap-highlight-color: transparent;
        backdrop-filter: none;
    }

    .sg-nav-overlay.sg-open {
        display: block;
    }

    /* ── × close button — fixed inside the drawer, top-right corner ── */
    .sg-burger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        padding: 6px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: 10px;
        /* Keep burger visible in header row when closed */
        z-index: 10002;
        position: relative;
        flex-shrink: 0;
    }

    /* When open: reposition burger as a fixed × inside the drawer top-right */
    .sg-burger--open {
        position: fixed;
        top: 18px;
        right: 12px;
        margin: 0;
        z-index: 10003;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sg-burger span {
        display: block;
        width: 100%;
        height: 2px;
        background: rgba(240, 237, 232, 0.88);
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.25s ease, width 0.25s ease;
        transform-origin: center;
    }

    /* Burger → × animation */
    .sg-burger--open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sg-burger--open span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .sg-burger--open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hide old template burger — we have our own */
    .mobile-nav-toggle,
    header#header .mobile-nav-toggle {
        display: none !important;
    }

    /* Also suppress main.css trying to show the old UL */
    header#header .navmenu ul:not(#sg-nav-list) {
        display: none !important;
    }

}


/* ============================================================
   HERO PANELS — sg-panel system
   ============================================================ */
.sg-panel {
    position: relative;
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    /* overflow:hidden is critical — prevents the overlay ::after
       pseudo-element from bleeding outside the panel on mobile    */
    overflow: hidden;
}

/* ── Background image container ── */
.sg-panel__bg {
    position: absolute;
    /* Use inset with explicit 0 values — avoids sub-pixel right-bleed
       on some mobile engines that misinterpret shorthand 'inset: 0'    */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    /* belt-and-suspenders clip for the pseudo-layers */
}

.sg-panel__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    opacity: 0;
    transition: opacity 1.8s ease, transform 12s ease;
    will-change: transform, opacity;
    /* Prevents any fractional-pixel overflow on the right edge */
    display: block;
    max-width: 100%;
}

.sg-panel.visible .sg-panel__bg img {
    opacity: 1;
    transform: scale(1);
}

/* Directional gradient overlays — explicit top/right/bottom/left
   instead of shorthand inset to avoid the mobile right-bleed bug    */
.sg-panel__bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* Pointer events off so it never accidentally catches touch */
    pointer-events: none;
}

.sg-panel--left .sg-panel__bg::after {
    background: linear-gradient(105deg,
            rgba(13, 13, 13, 0.88) 0%,
            rgba(13, 13, 13, 0.60) 55%,
            rgba(13, 13, 13, 0.08) 100%);
}

.sg-panel--right .sg-panel__bg::after {
    background: linear-gradient(255deg,
            rgba(13, 13, 13, 0.88) 0%,
            rgba(13, 13, 13, 0.60) 55%,
            rgba(13, 13, 13, 0.08) 100%);
}

.sg-panel--center .sg-panel__bg::after {
    background: radial-gradient(ellipse at center,
            rgba(13, 13, 13, 0.50) 0%,
            rgba(13, 13, 13, 0.80) 100%);
}

/* Colored brand-tint strips per panel */
.sg-panel:nth-child(1) .sg-panel__bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(105deg, rgba(22, 156, 83, 0.12) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.sg-panel:nth-child(2) .sg-panel__bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(255deg, rgba(69, 84, 177, 0.14) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.sg-panel:nth-child(3) .sg-panel__bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(105deg, rgba(22, 156, 83, 0.10) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.sg-panel:nth-child(4) .sg-panel__bg::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(69, 84, 177, 0.15) 0%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* ── Content wrapper ── */
.sg-panel__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
}

.sg-panel--right .sg-panel__inner {
    justify-content: flex-end;
}

.sg-panel--center .sg-panel__inner {
    justify-content: center;
    text-align: center;
}

/* ── Content block ── */
.sg-panel__content {
    max-width: 520px;
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 1s ease 0.65s, transform 1s ease 0.65s;
}

.sg-panel--right .sg-panel__content {
    text-align: right;
}

.sg-panel--center .sg-panel__content {
    text-align: center;
    max-width: 680px;
}

.sg-panel.visible .sg-panel__content {
    opacity: 1;
    transform: translateY(0);
}

/* ── Index label ── */
.sg-panel__index {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sg-green);
    margin-bottom: 14px;
    opacity: 0;
    transform: translateX(-18px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.sg-panel--right .sg-panel__index {
    transform: translateX(18px);
}

.sg-panel--center .sg-panel__index {
    transform: translateX(0);
}

.sg-panel.visible .sg-panel__index {
    opacity: 1;
    transform: translateX(0);
}

/* ── Category tag chip ── */
.sg-panel__tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    margin-bottom: 18px;
    border-radius: 0;
}

.sg-panel:nth-child(odd) .sg-panel__tag {
    color: var(--sg-white);
    background: var(--sg-green);
}

.sg-panel:nth-child(even) .sg-panel__tag {
    color: var(--sg-white);
    background: var(--sg-blue);
}

/* ── Panel titles ── */
.sg-panel__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    line-height: 1.08;
    color: var(--sg-cream);
    margin-bottom: 20px;
}

.sg-panel:nth-child(1) .sg-panel__title {
    font-size: clamp(44px, 6vw, 78px);
}

.sg-panel:nth-child(2) .sg-panel__title {
    font-size: clamp(40px, 5.5vw, 70px);
    font-style: normal;
    font-weight: 600;
}

.sg-panel:nth-child(3) .sg-panel__title {
    font-size: clamp(44px, 6vw, 78px);
}

.sg-panel:nth-child(4) .sg-panel__title {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: clamp(36px, 5.2vw, 66px);
}

/* Highlighted word — alternates green / blue */
.sg-panel:nth-child(odd) .sg-panel__title em {
    color: var(--sg-green);
    font-style: inherit;
}

.sg-panel:nth-child(even) .sg-panel__title em {
    color: #7b8ef0;
    font-style: inherit;
}

/* ── Animated rule line ── */
.sg-panel__rule {
    height: 2px;
    width: 56px;
    margin: 20px 0;
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.8s ease 1.05s, transform 0.8s ease 1.05s;
}

.sg-panel:nth-child(odd) .sg-panel__rule {
    background: linear-gradient(to right, var(--sg-green), rgba(22, 156, 83, 0.2));
    transform-origin: left;
}

.sg-panel:nth-child(even) .sg-panel__rule {
    background: linear-gradient(to right, var(--sg-blue), rgba(69, 84, 177, 0.2));
    transform-origin: left;
}

.sg-panel--right .sg-panel__rule {
    margin-left: auto;
    transform-origin: right;
}

.sg-panel--center .sg-panel__rule {
    margin-left: auto;
    margin-right: auto;
    transform-origin: center;
}

.sg-panel.visible .sg-panel__rule {
    opacity: 1;
    transform: scaleX(1);
}

/* ── Body text ── */
.sg-panel__text {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.78;
    color: var(--sg-muted);
    margin-bottom: 34px;
}

/* ── CTA links ── */
.sg-panel__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 4px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.sg-panel__cta::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s ease;
}

.sg-panel__cta:hover {
    gap: 16px;
}

.sg-panel__cta:hover::after {
    transform: translateX(4px);
}

/* Odd panels → green underline CTA */
.sg-panel:nth-child(odd) .sg-panel__cta {
    color: var(--sg-cream);
    border-bottom: 1px solid var(--sg-green);
}

.sg-panel:nth-child(odd) .sg-panel__cta:hover {
    color: var(--sg-green);
}

/* Even panels → filled blue CTA */
.sg-panel:nth-child(even) .sg-panel__cta {
    color: var(--sg-white);
    background: var(--sg-blue);
    border-bottom: none;
    padding: 12px 26px 12px 20px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.sg-panel:nth-child(even) .sg-panel__cta:hover {
    background: var(--sg-green);
    color: var(--sg-white);
}

/* ── Section numbers (visible, alternating sides) ── */
.sg-panel__num {
    position: absolute;
    font-family: var(--font-display);
    font-size: clamp(100px, 16vw, 200px);
    font-weight: 400;
    line-height: 1;
    z-index: 3;
    pointer-events: none;
    user-select: none;
    bottom: 5%;
    letter-spacing: -4px;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
    opacity: 0;
    transition: opacity 1.4s ease 0.3s, transform 1.2s ease 0.3s;
}

.sg-panel--left .sg-panel__num {
    right: 4%;
    transform: translateX(30px);
    background: linear-gradient(135deg, rgba(22, 156, 83, 0.55) 0%, rgba(22, 156, 83, 0.12) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(22, 156, 83, 0.3);
}

.sg-panel--right .sg-panel__num {
    left: 4%;
    transform: translateX(-30px);
    background: linear-gradient(135deg, rgba(69, 84, 177, 0.60) 0%, rgba(69, 84, 177, 0.15) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(69, 84, 177, 0.3);
}

.sg-panel--center .sg-panel__num {
    left: 4%;
    right: auto;
    transform: translateX(-30px);
    background: linear-gradient(135deg, rgba(69, 84, 177, 0.55) 0%, rgba(69, 84, 177, 0.12) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(69, 84, 177, 0.28);
}

.sg-panel.visible .sg-panel__num {
    opacity: 1;
    transform: translateX(0);
}

/* ── Scroll indicator (first panel only) ── */
.sg-panel__scroll {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
    opacity: 0;
    transition: opacity 1s ease 1.6s;
}

.sg-panel.visible .sg-panel__scroll {
    opacity: 0.45;
}

.sg-panel__scroll span {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--sg-cream);
}

.sg-panel__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--sg-green), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.55) translateY(10px);
        opacity: 0.5;
    }
}

/* ── Panel border accents ── */
.sg-panel--left::after {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--sg-green), transparent);
    z-index: 3;
    opacity: 0;
    transition: opacity 1.2s ease 0.8s;
}

.sg-panel--right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--sg-blue), transparent);
    z-index: 3;
    opacity: 0;
    transition: opacity 1.2s ease 0.8s;
}

.sg-panel.visible::after {
    opacity: 1;
}


/* ============================================================
   FOOTER
   ============================================================ */
footer#footer.footer,
footer.footer {
    background: #05070f;
    border-top: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    color: var(--sg-cream);
}

/* Top rainbow accent line */
footer#footer.footer::before,
footer.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--sg-blue-dark) 15%,
            var(--sg-blue) 30%,
            var(--sg-blue-light) 45%,
            var(--sg-green) 55%,
            var(--sg-blue-light) 70%,
            var(--sg-blue) 85%,
            transparent 100%);
    z-index: 10;
}

/* Dot grid texture */
footer#footer.footer::after,
footer.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(69, 84, 177, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Glow orb */
footer#footer .footer-top::before,
footer.footer .footer-top::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(69, 84, 177, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

footer#footer .footer-top,
footer.footer .footer-top {
    padding: 80px 0 56px;
    position: relative;
    z-index: 2;
}

footer#footer .container.copyright,
footer.footer .container.copyright {
    position: relative;
    z-index: 2;
}

/* ── Brand / about column ── */
footer#footer .footer-about .logo,
footer.footer .footer-about .logo {
    text-decoration: none !important;
    align-items: center;
}

footer#footer .footer-about .logo img,
footer.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 12px;
    filter: drop-shadow(0 0 8px rgba(69, 84, 177, 0.35));
    flex-shrink: 0;
}

footer#footer .footer-about .logo .sitename-wrap,
footer.footer .footer-about .logo .sitename-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
}

footer#footer .footer-about .logo .sitename,
footer.footer .footer-about .logo .sitename {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    line-height: 1;
}

footer#footer .footer-about .logo .sitename .grid-word,
footer.footer .footer-about .logo .sitename .grid-word {
    color: var(--sg-blue-light);
    text-shadow: 0 0 18px rgba(107, 125, 232, 0.4);
}

footer#footer .footer-about .logo .sitename-sub,
footer.footer .footer-about .logo .sitename-sub {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.32);
    display: block;
    line-height: 1;
    padding-left: 2px;
}

/* Remove CSS-injected tagline (was added via ::after) */
footer#footer .footer-about::after,
footer.footer .footer-about::after {
    display: none;
}

footer#footer .footer-contact p,
footer.footer .footer-contact p {
    font-size: 13px;
    color: rgba(240, 237, 232, 0.523);
    margin-bottom: 5px;
    line-height: 1.7;
    font-family: var(--font-body);
}

footer#footer .footer-contact strong,
footer.footer .footer-contact strong {
    color: rgba(240, 237, 232, 0.94);
    font-weight: 500;
}

/* ── Footer headings ── */
footer#footer .footer-links h4,
footer#footer .footer-newsletter h4,
footer.footer .footer-links h4,
footer.footer .footer-newsletter h4 {
    font-family: var(--font-body);
    font-size: 9.5px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sg-green);
    margin-bottom: 24px;
    font-weight: 600;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 1px solid rgba(69, 84, 177, 0.12);
}

footer#footer .footer-links h4::after,
footer#footer .footer-newsletter h4::after,
footer.footer .footer-links h4::after,
footer.footer .footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--sg-blue);
    border-radius: 2px;
}

/* ── Footer links ── */
footer#footer .footer-links ul,
footer.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer#footer .footer-links li,
footer.footer .footer-links li {
    margin-bottom: 10px;
    padding: 0;
}

footer#footer .footer-links li a,
footer.footer .footer-links li a {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(240, 237, 232, 0.42);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0;
    transition: color 0.3s, gap 0.3s;
    position: relative;
    padding-left: 0;
    background: transparent;
}

footer#footer .footer-links li a::before,
footer.footer .footer-links li a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1.5px;
    background: var(--sg-green);
    transition: width 0.3s ease, margin-right 0.3s ease;
    margin-right: 0;
    flex-shrink: 0;
}

footer#footer .footer-links li a:hover,
footer.footer .footer-links li a:hover {
    color: var(--sg-white);
    gap: 6px;
}

footer#footer .footer-links li a:hover::before,
footer.footer .footer-links li a:hover::before {
    width: 14px;
    margin-right: 6px;
}

/* ── Social icons ── */
footer#footer .social-links,
footer.footer .social-links {
    display: flex;
    gap: 8px;
    margin-top: 22px;
    flex-wrap: wrap;
}

footer#footer .social-links a,
footer.footer .social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(69, 84, 177, 0.28);
    background: rgba(69, 84, 177, 0.07);
    color: rgba(240, 237, 232, 0.5);
    font-size: 15px;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

footer#footer .social-links a::before,
footer.footer .social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sg-green) 0%, var(--sg-green-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

footer#footer .social-links a i,
footer.footer .social-links a i {
    position: relative;
    z-index: 1;
}

footer#footer .social-links a:hover::before,
footer.footer .social-links a:hover::before {
    opacity: 1;
}

footer#footer .social-links a:hover,
footer.footer .social-links a:hover {
    color: #fff;
    border-color: var(--sg-green);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(69, 84, 177, 0.45);
}

/* ── Newsletter ── */
footer#footer .footer-newsletter p,
footer.footer .footer-newsletter p {
    font-size: 13px;
    color: rgba(240, 237, 232, 0.808);
    margin-bottom: 20px;
    line-height: 1.75;
}

footer#footer .newsletter-form,
footer.footer .newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid rgba(69, 84, 177, 0.22);
    overflow: hidden;
}

footer#footer .newsletter-form input[type="email"],
footer.footer .newsletter-form input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: none;
    color: var(--sg-cream);
    padding: 13px 16px;
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    border-radius: 0;
    transition: background 0.3s;
}

footer#footer .newsletter-form input[type="email"]:focus,
footer.footer .newsletter-form input[type="email"]:focus {
    background: rgba(69, 84, 177, 0.06);
}

footer#footer .newsletter-form input[type="email"]::placeholder,
footer.footer .newsletter-form input[type="email"]::placeholder {
    color: rgba(240, 237, 232, 0.25);
}

footer#footer .newsletter-form input[type="submit"],
footer.footer .newsletter-form input[type="submit"] {
    background: linear-gradient(135deg, var(--sg-green-dark) 0%, var(--sg-green) 100%);
    color: #fff;
    border: none;
    padding: 13px 22px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s;
}

footer#footer .newsletter-form input[type="submit"]:hover,
footer.footer .newsletter-form input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--sg-green) 0%, var(--sg-green-dark) 100%);
}

/* ── Copyright bar ── */
footer#footer .copyright,
footer.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    font-size: 12.5px;
    color: rgba(240, 237, 232, 0.26);
    text-align: center;
}

footer#footer .copyright p,
footer.footer .copyright p {
    color: rgba(240, 237, 232, 0.462);
    margin: 0 0 4px;
    font-size: 12.5px;
}

footer#footer .copyright strong,
footer.footer .copyright strong {
    color: rgba(240, 237, 232, 0.718);
    font-weight: 400;
}

footer#footer .copyright a,
footer.footer .copyright a {
    color: var(--sg-blue-light);
    text-decoration: none;
    transition: color 0.3s;
}

footer#footer .copyright a:hover,
footer.footer .copyright a:hover {
    color: var(--sg-green);
}

footer#footer .credits,
footer.footer .credits {
    color: rgba(255, 255, 255, 0.732);
    font-size: 12.5px;
}

/* ── Footer animate-text ── */
.footer .animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s ease var(--delay, 0s);
}

.footer .animate-text.show {
    opacity: 1;
    transform: translateY(0);
}

.footer .animate-text.hide {
    opacity: 0;
    transform: translateY(10px);
}


/* ============================================================
   FLOATING BUTTONS
   ============================================================ */

/* Scroll-top */
a#scroll-top.scroll-top,
.scroll-top {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--sg-blue) 0%, var(--sg-blue-dark) 100%);
    color: #fff;
    border-radius: 2px;
    position: fixed;
    bottom: 22px;
    right: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(69, 84, 177, 0.45);
    text-decoration: none;
    border: 1px solid rgba(107, 125, 232, 0.35);
    clip-path: none;
    /* Visibility is toggled via opacity/pointer-events, not visibility */
    visibility: visible;
}

a#scroll-top.scroll-top.active,
.scroll-top.active {
    opacity: 1;
    pointer-events: auto;
}

a#scroll-top.scroll-top:hover,
.scroll-top:hover {
    background: linear-gradient(135deg, var(--sg-blue-light) 0%, var(--sg-blue) 100%);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(69, 84, 177, 0.6);
}

/* WhatsApp */
a#whatsapp-btn {
    position: fixed;
    bottom: 78px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38);
}

a#whatsapp-btn.show {
    opacity: 1;
    pointer-events: auto;
}

a#whatsapp-btn:hover {
    transform: scale(1.12);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .sg-panel__content {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .sg-panel__inner {
        align-items: flex-end;
        padding-bottom: 80px;
    }

    /* All panels → bottom-left layout on mobile */
    .sg-panel--right .sg-panel__inner,
    .sg-panel--center .sg-panel__inner {
        justify-content: flex-start;
    }

    .sg-panel--right .sg-panel__content,
    .sg-panel--center .sg-panel__content {
        text-align: left;
    }

    .sg-panel--right .sg-panel__rule {
        margin-left: 0;
        transform-origin: left;
    }

    .sg-panel--center .sg-panel__rule {
        margin-left: 0;
        margin-right: auto;
        transform-origin: left;
    }

    .sg-panel--right .sg-panel__index {
        transform: translateX(-18px);
    }

    /* Full bottom-to-top gradient on all panels — covers entire image */
    .sg-panel--left .sg-panel__bg::after,
    .sg-panel--right .sg-panel__bg::after,
    .sg-panel--center .sg-panel__bg::after {
        background: linear-gradient(to top,
                rgba(13, 13, 13, 0.95) 25%,
                rgba(13, 13, 13, 0.55) 65%,
                rgba(13, 13, 13, 0.15) 100%);
    }

    .sg-panel:nth-child(even) .sg-panel__cta {
        clip-path: none;
        border-radius: 2px;
    }

    /* Numbers: smaller, always bottom-right on mobile */
    .sg-panel__num {
        font-size: clamp(70px, 18vw, 120px);
        right: 3%;
        left: auto;
        transform: translateX(20px);
        bottom: 12%;
    }

    /* Hide border accents on mobile */
    .sg-panel--left::after,
    .sg-panel--right::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .sg-panel__inner {
        padding: 0 18px;
        padding-bottom: 70px;
    }

    .sg-panel__text {
        font-size: 14px;
    }
}

/* ── Footer mobile padding ── */
@media (max-width: 768px) {

    footer#footer .footer-top,
    footer.footer .footer-top {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer#footer .footer-about,
    footer.footer .footer-about {
        padding-left: 4px;
    }
}

/* ============================================================
   ABOUT PAGE — Scoped styles (body.about-page)
   Merged from about.html inline <style>
   ============================================================ */

/* ── Header over about hero (transparent → solid on scroll) ── */
body.about-page header#header.header,
body.about-page header#header.header.fixed-top,
body.about-page header#header.header.sticky-top,
body.about-page header#header.header.scroll-up-sticky {
    background: transparent !important;
    border-bottom: none;
    box-shadow: none;
    padding: 20px 0;
    transition: background 0.5s ease, border-color 0.5s ease, padding 0.4s ease, box-shadow 0.4s ease;
    z-index: 9999;
}

body.about-page.scrolled header#header.header,
body.about-page.scrolled header#header.header.fixed-top,
body.about-page.scrolled header#header.header.sticky-top,
body.about-page.scrolled header#header.header.scroll-up-sticky {
    background: rgba(13, 13, 13, 0.92) !important;
    backdrop-filter: blur(28px) saturate(1.8);
    -webkit-backdrop-filter: blur(28px) saturate(1.8);
    border-bottom: 1px solid rgba(69, 84, 177, 0.22);
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
    padding: 10px 0;
}

body.about-page {
    overflow-x: hidden;
}

/* ── Sitename always white on about page ── */
body.about-page header#header .sitename,
body.about-page header#header h1.sitename {
    color: #fff;
}

body.about-page header#header .sitename .grid-word {
    color: var(--sg-blue-light);
    text-shadow: 0 0 22px rgba(107, 125, 232, 0.45);
}

/* ── Nav links on about page — unified glass pill style (matches index.html) ── */
body.about-page header#header .navmenu a,
body.about-page header#header nav.navmenu a {
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
    padding: 8px 16px;
    margin: 0 2px;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

body.about-page header#header .navmenu a:hover,
body.about-page header#header nav.navmenu a:hover {
    color: #fff;
    background: rgba(107, 125, 232, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 0 1px rgba(107, 125, 232, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

body.about-page header#header .navmenu a.active,
body.about-page header#header nav.navmenu a.active {
    color: #fff;
    background: rgba(69, 84, 177, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(107, 125, 232, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 16px rgba(69, 84, 177, 0.2);
}

/* ── Mobile drawer active link — unified with index.html ── */
@media (max-width: 1199px) {

    body.about-page #sg-nav-list li a.active,
    body.about-page #sg-nav-list li a:hover {
        color: #fff;
        background: rgba(69, 84, 177, 0.15);
        padding-left: 44px;
    }

    body.about-page #sg-nav-list li a.active::before,
    body.about-page #sg-nav-list li a:hover::before {
        width: 3px;
        background: var(--sg-blue-light);
    }
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE HERO
   ════════════════════════════════════════════════════════════ */
.about-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 120px;
}

.about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.45) saturate(0.85);
    transform: scale(1.04);
    transition: transform 8s ease;
}

.about-hero:hover .about-hero__bg img {
    transform: scale(1);
}

.about-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(13, 13, 13, 0.88) 0%,
            rgba(13, 13, 13, 0.60) 55%,
            rgba(13, 13, 13, 0.10) 100%);
}

.about-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
}

.about-hero__eyebrow {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sg-green);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(-10px);
    animation: aboutHeroPop 0.7s ease-out 0.2s forwards;
}

.about-hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--sg-green);
    flex-shrink: 0;
}

.about-hero__title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.05;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 28px;
    opacity: 0;
    transform: scale(0.96) translateY(12px);
    animation: aboutHeroZoom 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.about-hero__title em {
    font-style: italic;
    color: var(--sg-green);
    font-weight: 300;
}

.about-hero__sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(16px, 2vw, 21px);
    color: rgba(240, 237, 232, 0.75);
    max-width: 540px;
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    animation: aboutHeroFadeUp 0.85s ease 0.5s forwards;
}

.about-hero__lead {
    margin: 28px 0 0;
    max-width: 520px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.78;
    color: rgba(240, 237, 232, 0.72);
    opacity: 0;
    transform: translateY(18px);
    animation: aboutHeroFadeUp 0.9s ease 0.65s forwards;
}

.about-hero__pill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 28px;
    margin-bottom: 44px;
}

.about-hero__pill-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.92);
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    animation: aboutHeroBubble 0.7s ease 0.9s forwards;
}

.about-hero__pill-list span:nth-child(1) {
    animation-delay: 0.92s;
}

.about-hero__pill-list span:nth-child(2) {
    animation-delay: 1.04s;
}

.about-hero__pill-list span:nth-child(3) {
    animation-delay: 1.16s;
}

.about-hero__pill-list span:nth-child(4) {
    animation-delay: 1.28s;
}

.about-hero__pill-list span:nth-child(odd) {
    background: rgba(22, 156, 83, 0.16);
    border-color: rgba(22, 156, 83, 0.28);
}

.about-hero__pill-list span:nth-child(even) {
    background: rgba(69, 84, 177, 0.16);
    border-color: rgba(69, 84, 177, 0.28);
}

.about-hero__badge {
    position: absolute;
    right: 60px;
    bottom: 48px;
    width: 110px;
    height: 110px;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    animation: aboutHeroFadeUp 0.85s ease 1.05s forwards;
    border: 1px solid rgba(69, 84, 177, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.about-hero__badge span {
    font-family: var(--font-body);
    font-size: 9.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.55);
    line-height: 1.6;
}

.about-hero__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    letter-spacing: 2px;
    color: var(--sg-blue-light);
    line-height: 1;
}

.about-hero__scroll {
    position: absolute;
    bottom: 20px;
    left: 45%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0.7;
}

.about-hero__scroll span {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.about-hero__scroll-line {
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, var(--sg-green), transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

@keyframes aboutHeroZoom {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(16px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes aboutHeroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutHeroPop {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    65% {
        opacity: 1;
        transform: translateY(2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes aboutHeroBubble {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE — SECTION UTILITIES
   ════════════════════════════════════════════════════════════ */
.sg-section {
    padding: 100px 0;
}

.sg-section-label {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sg-green);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.sg-section-label::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: var(--sg-green);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   STORY SECTION
   ════════════════════════════════════════════════════════════ */
.story-section {
    background: rgba(13, 13, 13, 0.82);
    padding: 110px 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-text__headline {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: 3px;
    color: #fff;
    line-height: 0.95;
    margin-bottom: 32px;
}

.story-text__headline em {
    font-style: normal;
    color: var(--sg-blue-light);
}

.story-text p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.85;
    color: rgba(240, 237, 232, 0.70);
    margin-bottom: 22px;
}

.story-text p:first-of-type {
    font-family: var(--font-serif);
    font-size: 19px;
    font-style: italic;
    color: rgba(240, 237, 232, 0.85);
    line-height: 1.7;
}

.story-image {
    position: relative;
}

.story-image__main {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.story-image__accent {
    position: absolute;
    bottom: -32px;
    left: -32px;
    width: 55%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 4px solid #0D0D0D;
}

.story-image__frame {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 80px;
    height: 80px;
    border-top: 1px solid var(--sg-blue-light);
    border-right: 1px solid var(--sg-blue-light);
    opacity: 0.45;
}

.story-image__num {
    position: absolute;
    bottom: -10px;
    right: -4px;
    font-family: var(--font-display);
    font-size: 120px;
    color: rgba(69, 84, 177, 0.08);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -4px;
}

/* ════════════════════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════════════════════ */
.stats-bar {
    background: rgba(22, 156, 83, 0.06);
    border-top: 1px solid rgba(22, 156, 83, 0.14);
    border-bottom: 1px solid rgba(22, 156, 83, 0.14);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    position: relative;
}

.stat-item+.stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(240, 237, 232, 0.08);
}

.stat-item__num {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    letter-spacing: 2px;
    line-height: 1;
    color: #fff;
    margin-bottom: 8px;
}

.stat-item__num span {
    color: var(--sg-green);
}

.stat-item__label {
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.45);
}

/* ════════════════════════════════════════════════════════════
   SERVICES SECTION
   ════════════════════════════════════════════════════════════ */
.services-section {
    background: rgba(17, 17, 17, 0.80);
    padding: 110px 0;
}

.services-header {
    margin-bottom: 70px;
}

.services-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: 3px;
    color: #fff;
    line-height: 1;
    margin: 0;
}

.services-title em {
    font-style: normal;
    color: var(--sg-blue-light);
}

.services-intro {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 17px;
    color: rgba(240, 237, 232, 0.55);
    max-width: 440px;
    line-height: 1.75;
    margin-top: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.service-card {
    background: rgba(17, 17, 17, 0.90);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sg-blue) 0%, var(--sg-blue-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: rgba(69, 84, 177, 0.07);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(69, 84, 177, 0.12);
    border: 1px solid rgba(69, 84, 177, 0.25);
    border-radius: 4px;
    font-size: 22px;
    color: var(--sg-blue-light);
    margin-bottom: 28px;
    transition: background 0.3s, border-color 0.3s;
}

.service-card__icon2 {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 156, 83, 0.12);
    border: 1px solid rgba(69, 84, 177, 0.25);
    border-radius: 4px;
    font-size: 22px;
    color: var(--sg-green);
    margin-bottom: 28px;
    transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-card__icon {
    background: rgba(69, 84, 177, 0.22);
    border-color: rgba(107, 125, 232, 0.5);
}

.service-card__num {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: var(--font-display);
    font-size: 56px;
    color: rgba(255, 255, 255, 0.163);
    line-height: 1;
    letter-spacing: 2px;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 14px;
}

.service-card__text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: rgba(240, 237, 232, 0.55);
    margin: 0;
}

/* ════════════════════════════════════════════════════════════
   VALUES SECTION
   ════════════════════════════════════════════════════════════ */
.values-section {
    background: rgba(13, 13, 13, 0.82);
    padding: 110px 0;
}

.values-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.values-sticky {
    position: sticky;
    top: 110px;
}

.values-headline {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 62px);
    letter-spacing: 3px;
    color: #fff;
    line-height: 0.95;
    margin-bottom: 28px;
}

.values-headline em {
    font-style: normal;
    display: block;
    color: var(--sg-green);
}

.values-desc {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 17px;
    color: rgba(240, 237, 232, 0.55);
    line-height: 1.75;
    margin-bottom: 40px;
}

.values-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sg-cream);
    text-decoration: none;
    padding: 14px 28px;
    border: 1px solid rgba(240, 237, 232, 0.2);
    transition: all 0.3s ease;
}

.values-cta:hover {
    color: #fff;
    border-color: var(--sg-blue-light);
    background: rgba(69, 84, 177, 0.12);
}

.values-cta i {
    font-size: 14px;
    transition: transform 0.3s;
}

.values-cta:hover i {
    transform: translateX(4px);
}

.value-item {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 24px;
    align-items: start;
    transition: padding-left 0.3s ease;
}

.value-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.value-item:hover {
    padding-left: 8px;
}

.value-item__num {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--sg-green);
    padding-top: 4px;
}

.value-item__title {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 10px;
}

.value-item__text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.8;
    color: rgba(240, 237, 232, 0.55);
    margin: 0;
}

/* ════════════════════════════════════════════════════════════
   TEAM SECTION
   ════════════════════════════════════════════════════════════ */
.team-section {
    background: rgba(17, 17, 17, 0.80);
    padding: 110px 0;
}

.team-header {
    margin-bottom: 70px;
}

.team-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: 3px;
    color: #fff;
    line-height: 1;
    margin: 0;
}

.team-title em {
    font-style: normal;
    color: var(--sg-blue-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    position: relative;
    overflow: hidden;
    background: rgba(13, 13, 13, 0.88);
}

.team-card__img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.team-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(30%) brightness(0.85);
    transition: filter 0.5s ease, transform 0.6s ease;
}

.team-card:hover .team-card__img-wrap img {
    filter: grayscale(0%) brightness(0.95);
    transform: scale(1.04);
}

.team-card__img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.92) 0%, transparent 55%);
}

.team-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 28px 24px;
    z-index: 2;
}

.team-card__name {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 4px;
}

.team-card__role {
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sg-green);
}

/* ════════════════════════════════════════════════════════════
   PRICING SECTION
   ════════════════════════════════════════════════════════════ */
#pricing.pricing-section {
    background: rgba(13, 13, 13, 0.82);
    padding: 110px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 70px;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 60px);
    letter-spacing: 3px;
    color: #fff;
    line-height: 1;
    margin: 0;
}

.pricing-title em {
    font-style: normal;
    color: var(--sg-green);
}

.pricing-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 17px;
    color: rgba(240, 237, 232, 0.55);
    margin-top: 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(13, 13, 13, 0.88);
    padding: 52px 40px;
    position: relative;
    overflow: hidden;
}

.pricing-card--featured {
    background: rgba(69, 84, 177, 0.1);
}

.pricing-card--featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 20px;
    right: -28px;
    font-family: var(--font-body);
    font-size: 8px;
    letter-spacing: 2.5px;
    color: #fff;
    background: var(--sg-blue);
    padding: 5px 40px;
    transform: rotate(45deg);
}

.pricing-card__tier {
    font-family: var(--font-body);
    font-size: 9.5px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--sg-blue-light);
    margin-bottom: 20px;
}

.pricing-card__price {
    font-family: var(--font-display);
    font-size: 56px;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-card__price sup {
    font-size: 20px;
    vertical-align: top;
    margin-top: 10px;
    color: rgba(240, 237, 232, 0.5);
}

.pricing-card__period {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.35);
    margin-bottom: 32px;
}

.pricing-card__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin-bottom: 32px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.pricing-card__features li {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: rgba(240, 237, 232, 0.65);
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card__features li i {
    font-size: 11px;
    color: var(--sg-green);
    flex-shrink: 0;
}

.pricing-card__features li.unavailable {
    color: rgba(240, 237, 232, 0.25);
}

.pricing-card__features li.unavailable i {
    color: rgba(240, 237, 232, 0.15);
}

.pricing-btn {
    display: block;
    text-align: center;
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    transition: all 0.3s ease;
}

.pricing-btn--outline {
    border: 1px solid rgba(240, 237, 232, 0.2);
    color: rgba(240, 237, 232, 0.7);
}

.pricing-btn--outline:hover {
    border-color: var(--sg-blue-light);
    color: #fff;
    background: rgba(69, 84, 177, 0.12);
}

.pricing-btn--filled {
    background: linear-gradient(135deg, var(--sg-blue-dark), var(--sg-blue));
    color: #fff;
    border: 1px solid transparent;
}

.pricing-btn--filled:hover {
    background: linear-gradient(135deg, var(--sg-blue), var(--sg-blue-light));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(69, 84, 177, 0.4);
}

/* ════════════════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════════════════ */
.cta-band {
    background: rgba(22, 156, 83, 0.07);
    border-top: 1px solid rgba(22, 156, 83, 0.15);
    border-bottom: 1px solid rgba(22, 156, 83, 0.15);
    padding: 80px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text__eyebrow {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sg-green);
    margin-bottom: 12px;
}

.cta-text__headline {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    letter-spacing: 3px;
    color: #fff;
    line-height: 1;
    margin: 0;
}

.cta-text__headline em {
    font-style: normal;
    color: var(--sg-blue-light);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-sg-primary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    padding: 15px 36px;
    background: linear-gradient(135deg, var(--sg-green-dark), var(--sg-green));
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-sg-primary:hover {
    background: linear-gradient(135deg, var(--sg-green), var(--sg-green-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 156, 83, 0.35);
    color: #fff;
}

.btn-sg-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 10.5px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(240, 237, 232, 0.7);
    text-decoration: none;
    padding: 15px 36px;
    border: 1px solid rgba(240, 237, 232, 0.18);
    transition: all 0.3s ease;
}

.btn-sg-ghost:hover {
    color: #fff;
    border-color: rgba(240, 237, 232, 0.45);
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

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

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

[data-reveal="left"].revealed {
    transform: translateX(0);
}

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

[data-reveal="right"].revealed {
    transform: translateX(0);
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* ── Prevent horizontal overflow on ALL pages ── */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ── Tablet (≤ 991px) ── */
@media (max-width: 991px) {

    .about-hero__inner,
    .story-text,
    .story-image,
    .services-grid,
    .pricing-grid,
    .team-grid,
    .values-list,
    .pricing-card,
    .team-card,
    .service-card,
    .stat-item {
        min-width: 0;
    }

    .about-hero__inner {
        text-align: left;
    }

    .story-grid,
    .values-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .services-grid,
    .pricing-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .story-image {
        order: -1;
    }

    .story-image__main,
    .story-image__accent {
        max-width: 100%;
        width: 100%;
    }

    .story-image__accent {
        display: none;
    }

    .story-image__frame,
    .story-image__num {
        right: 16px;
    }

    .values-sticky {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(3)::before {
        display: none;
    }

    .about-hero__badge {
        display: none;
    }

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

    .services-intro {
        max-width: 100%;
        margin-top: 18px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-sg-primary,
    .btn-sg-ghost {
        text-align: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .pricing-grid {
        max-width: 100%;
    }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767px) {
    .about-hero {
        min-height: 100dvh;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .about-hero__sub {
        max-width: 90%;
        font-size: clamp(15px, 3.5vw, 18px);
    }

    .about-hero__bg::after {
        background: linear-gradient(to bottom,
                rgba(13, 13, 13, 0.25) 0%,
                rgba(13, 13, 13, 0.70) 45%,
                rgba(13, 13, 13, 0.90) 100%);
    }

    .sg-section,
    .story-section,
    .services-section,
    .values-section,
    .team-section,
    #pricing.pricing-section {
        padding: 64px 0;
    }

    .stats-bar {
        padding: 44px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .stat-item {
        padding: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 32px 24px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .pricing-card {
        padding: 40px 28px;
    }

    .pricing-card--featured::before {
        display: none;
    }

    .about-hero__scroll {
        bottom: 24px;
    }

    .about-hero__scroll-line {
        height: 40px;
    }

    .pricing-card__features li {
        flex-wrap: wrap;
    }

    .services-intro,
    .pricing-subtitle {
        max-width: 100%;
    }

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

    .cta-inner {
        gap: 28px;
    }

    .services-header,
    .team-header,
    .pricing-header {
        margin-bottom: 44px;
    }

    /* Contain all sections horizontally */
    .story-section,
    .stats-bar,
    .services-section,
    .values-section,
    .team-section,
    #pricing.pricing-section,
    .cta-band {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Prevent grids from overflowing */
    .story-grid,
    .values-layout,
    .services-grid,
    .pricing-grid,
    .team-grid,
    .stats-grid {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
    .about-hero {
        padding-top: 88px;
    }

    .about-hero__title {
        font-size: clamp(44px, 6vw, 78px);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item__num {
        font-size: clamp(36px, 10vw, 56px);
    }

    .service-card {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 32px 20px;
    }

    .btn-sg-primary,
    .btn-sg-ghost {
        padding: 13px 24px;
        font-size: 10px;
    }

    .cta-text__headline {
        font-size: clamp(28px, 8vw, 40px);
    }

    .sg-section,
    .story-section,
    .services-section,
    .values-section,
    .team-section,
    #pricing.pricing-section {
        padding: 52px 0;
    }
}

/* ── Tiny phones (≤ 360px) ── */
@media (max-width: 360px) {
    .about-hero__title {
        font-size: clamp(44px, 6vw, 78px);
    }

    .about-hero__sub {
        font-size: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item+.stat-item::before {
        display: none;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

