/* ========================================================================
   The Sahl Gate · Sapphire — Home page stylesheet
   --------------------------------------------------------------------
   All custom utility classes are prefixed with `.sg-` (sahl-gate) so that
   nothing leaks into the rest of the Blazor app or collides with Bootstrap.
   Brand tokens are defined as CSS custom properties (sampled from the
   official Sapphire logo: deep royal sapphire blue).
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Allura&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ====================== 1. BRAND TOKENS ===================== */
:root {
    --sg-sapphire:        #103E8E; /* primary brand color (logo) */
    --sg-sapphire-deep:   #0A2A6B; /* hover / pressed state */
    --sg-sapphire-ink:    #06173E; /* deepest — footer + headlines */
    --sg-sapphire-light:  #1E55B5; /* lighter accent */
    --sg-sapphire-soft:   #E8EEF8; /* tinted background */

    --sg-cream:           #FBF9F4;
    --sg-bone:            #F4F1EA;

    --sg-sand:            #C9B896;
    --sg-sand-light:      #E6DCC9;
    --sg-sand-dark:       #9A8865;

    --sg-gold:            #B89968;

    --sg-tracking-widest: 0.28em;

    --sg-section-eyebrow-size: clamp(0.8125rem, 0.55vw + 0.72rem, 1rem);
    --sg-section-eyebrow-tracking: 0.28em;
}

/* Section eyebrows — Sapphire, Our edge, Our Projects, Our Trusted Partners */
.sg-statement__eyebrow,
.sg-pillars__eyebrow,
.sg-projects-intro__eyebrow,
.sg-partners-intro__eyebrow {
    font-size: var(--sg-section-eyebrow-size);
    letter-spacing: var(--sg-section-eyebrow-tracking);
}

/* ====================== 2. PAGE RESET (scoped) =============== */
/* `.sg-page` wraps the whole Home component so global app
   styles (Bootstrap, app.css body font, etc.) don't leak in.    */

.sg-page {
    font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color: var(--sg-sapphire-ink);
    background: var(--sg-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.sg-page,
.sg-page * { box-sizing: border-box; }

.sg-page h1, .sg-page h2, .sg-page h3, .sg-page h4, .sg-page p { margin: 0; }
.sg-page a:not(.sg-btn) { color: inherit; text-decoration: none; }
.sg-page ul { list-style: none; padding: 0; margin: 0; }
.sg-page img { max-width: 100%; height: auto; display: block; }
.sg-page button { font-family: inherit; cursor: pointer; }

.sg-page { scroll-behavior: smooth; }

/* Visually hidden but accessible to screen readers */
.sg-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* ====================== 3. CONTAINER ========================= */
.sg-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px)  { .sg-container { padding: 0 2rem; } }
@media (min-width: 1280px) { .sg-container { padding: 0 2.5rem; } }

/* ====================== 4. NAVIGATION (premium light) ========= */
.sg-nav {
    --sg-nav-h: 3.5rem;
    --sg-corp-emerald: #005b52;
    --sg-corp-emerald-deep: #004a44;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    color: #1e293b; /* text-slate-800 */
    background: #fff;
    border-bottom: 1px solid #f3f4f6; /* border-gray-100 */
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.sg-nav--scrolled {
    background: #fff;
    border-bottom-color: #e5e7eb;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.06),
        0 4px 12px rgba(15, 23, 42, 0.04);
}
/* max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 + py-5 / py-6 */
.sg-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-sizing: border-box;
    max-width: 80rem;
    margin: 0 auto;
    height: var(--sg-nav-h);
    min-height: var(--sg-nav-h);
    max-height: var(--sg-nav-h);
    padding: 0.5rem 1rem;
}
@media (min-width: 640px) {
    .sg-nav__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .sg-nav {
        --sg-nav-h: 3.75rem;
    }
    .sg-nav__inner {
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
.sg-nav__logo-link {
    display: inline-flex;
    align-items: center;
    align-self: center;
    flex-shrink: 0;
    z-index: 52;
    line-height: 0;
}
.sg-nav__logo {
    display: block;
    height: 2.25rem; /* h-9 */
    max-height: 2.5rem;
    width: auto;
    object-fit: contain;
}

/* Burger — mobile / tablet */
.sg-nav__toggle-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.sg-nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: #fff;
    cursor: pointer;
    z-index: 52;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.sg-nav__toggle:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}
.sg-nav__toggle-bar {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: #0f172a;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.sg-nav__toggle-check:checked + .sg-nav__toggle .sg-nav__toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.sg-nav__toggle-check:checked + .sg-nav__toggle .sg-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}
.sg-nav__toggle-check:checked + .sg-nav__toggle .sg-nav__toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 1280px) {
    .sg-nav__toggle { display: none; }
}

/* Mobile drawer */
.sg-nav__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--sg-nav-h);
    z-index: 49;
    background: rgba(15, 23, 42, 0.35);
    cursor: pointer;
}
.sg-nav:has(.sg-nav__toggle-check:checked) .sg-nav__backdrop {
    display: block;
}
.sg-page:has(.sg-nav__toggle-check:checked) {
    overflow: hidden;
}

.sg-nav__list {
    display: none;
    position: fixed;
    top: var(--sg-nav-h);
    left: 0;
    right: 0;
    z-index: 51;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 1rem 1.25rem 1.5rem;
    list-style: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    max-height: calc(100vh - var(--sg-nav-h));
    overflow-y: auto;
}
.sg-nav__toggle-check:checked ~ .sg-nav__list {
    display: flex;
}
.sg-nav__list li {
    border-bottom: 1px solid #f1f5f9;
}
.sg-nav__list li:last-child {
    border-bottom: none;
}
.sg-page .sg-nav__list a,
.sg-page .sg-nav__list a:visited {
    display: block;
    padding: 0.9375rem 0.25rem;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}
.sg-page .sg-nav__list a:hover {
    color: var(--sg-corp-emerald);
}
.sg-nav__list-cta {
    display: block;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    border-bottom: none !important;
}
.sg-nav__cta--in-menu {
    justify-content: center;
    width: 100%;
}

/* Mobile / tablet — hide header hotline; luxury full-width CTA in drawer */
@media (max-width: 1279.98px) {
    .sg-nav__cta--bar {
        display: none !important;
    }
    .sg-page .sg-nav__list a.sg-nav__cta--in-menu,
    .sg-page .sg-nav__list a.sg-nav__cta--in-menu:visited {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.25rem;
        padding: 1.125rem 1.5rem;
        border: none;
        border-radius: 0;
        background: linear-gradient(135deg, var(--sg-corp-emerald) 0%, #004a44 100%);
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.16em;
        color: #fff;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.12) inset,
            0 10px 28px rgba(0, 91, 82, 0.28);
    }
    .sg-page .sg-nav__list a.sg-nav__cta--in-menu:hover {
        color: #fff;
        background: linear-gradient(135deg, #006b61 0%, var(--sg-corp-emerald-deep) 100%);
        transform: translateY(-1px);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.12) inset,
            0 14px 32px rgba(0, 91, 82, 0.34);
    }
    .sg-nav__cta--in-menu .sg-nav__cta-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    .sg-nav__list {
        padding: 1.25rem 1.5rem 1.75rem 1.75rem;
    }
    .sg-page .sg-nav__list a:not(.sg-nav__cta) {
        padding: 1rem 1rem 1rem 1.5rem;
        font-size: 0.8125rem;
        letter-spacing: 0.08em;
    }
}

@media (min-width: 1280px) {
    .sg-nav__backdrop { display: none !important; }
    .sg-nav__list {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        align-self: center;
        gap: 2rem; /* space-x-8 */
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        line-height: 1;
    }
    .sg-nav__list li {
        display: flex;
        align-items: center;
        border-bottom: none;
    }
    .sg-nav__list li.sg-nav__list-cta {
        display: none;
    }
    .sg-page .sg-nav__list a {
        display: inline-flex;
        align-items: center;
        padding: 0;
        color: #334155;
        font-weight: inherit;
        letter-spacing: inherit;
    }
    .sg-page .sg-nav__list a:hover {
        color: var(--sg-corp-emerald);
    }
}

/* Hotline CTA — emerald, rounded-lg */
.sg-page a.sg-nav__cta,
.sg-page a.sg-nav__cta:visited {
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    border: 1px solid var(--sg-corp-emerald);
    border-radius: 0.5rem;
    background: var(--sg-corp-emerald);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
    z-index: 52;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 91, 82, 0.22);
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.sg-nav__cta-icon {
    width: 1.0625rem;
    height: 1.0625rem;
    flex-shrink: 0;
    stroke: currentColor;
}
.sg-nav__cta-label {
    font-variant-numeric: tabular-nums;
}
.sg-nav__cta--bar {
    display: none;
}
@media (min-width: 1280px) {
    .sg-nav__cta--bar {
        display: inline-flex;
    }
    .sg-nav__cta--in-menu {
        display: none !important;
    }
}
.sg-page a.sg-nav__cta:hover {
    background: var(--sg-corp-emerald-deep);
    border-color: var(--sg-corp-emerald-deep);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 91, 82, 0.28);
}

/* ====================== 5. HERO ============================== */
.sg-hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    width: 100%;
    overflow: hidden;
    background: var(--sg-sapphire-ink);
}
.sg-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sg-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 23, 62, 0.55) 0%, rgba(6, 23, 62, 0.15) 40%, rgba(6, 23, 62, 0.35) 100%),
        linear-gradient(90deg, rgba(6, 23, 62, 0.5) 0%, rgba(6, 23, 62, 0.05) 62%);
}

/* Vertical side-mark (editorial detail) */
.sg-hero__sidemark {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 1.75rem;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    display: none;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.36em;
    white-space: nowrap;
    font-weight: 400;
}
@media (min-width: 1280px) { .sg-hero__sidemark { display: flex; } }
.sg-hero__sidemark-divider {
    display: block;
    width: 2rem;
    height: 1px;
    background: rgba(255,255,255,0.4);
}

.sg-hero__content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: calc(var(--sg-nav-h, 3rem) + 1.5rem);
    padding-bottom: clamp(4.5rem, 10vh, 6rem);
    box-sizing: border-box;
}
.sg-hero__copy {
    max-width: min(36rem, 92vw);
}
.sg-hero__tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 0.55vw + 0.85rem, 1.1875rem);
    font-weight: 400;
    line-height: 1.65;
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
    max-width: 34rem;
}
.sg-hero__note {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 1.25rem;
    max-width: 28rem;
}
.sg-hero__eyebrow {
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.625rem, 0.6vw + 0.45rem, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 400;
    white-space: nowrap;
}
.sg-hero__eyebrow::before {
    content: '';
    display: block;
    width: 2.5rem;
    height: 1px;
    background: var(--sg-sand-light);
    flex-shrink: 0;
}
.sg-hero__headline {
    color: #fff;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: none;
}
.sg-hero__line {
    display: block;
    font-size: clamp(2rem, 3.8vw + 0.65rem, 3.5rem);
    letter-spacing: -0.02em;
}
.sg-hero__line + .sg-hero__line {
    margin-top: 0.15em;
}
.sg-hero__line--big {
    font-size: clamp(1.875rem, 5.5vw + 0.25rem, 5rem);
    margin-top: 0.5rem;
}
@media (min-width: 768px) {
    .sg-hero__copy { max-width: 40rem; }
    .sg-hero__tagline { max-width: 36rem; }
}
@media (min-width: 1280px) {
    .sg-hero__content {
        padding-top: calc(var(--sg-nav-h, 3rem) + 2.5rem);
        padding-bottom: 5rem;
    }
    .sg-hero__line {
        font-size: clamp(2.5rem, 2.8vw + 1rem, 3.75rem);
    }
}
.sg-hero__script {
    font-family: 'Allura', cursive;
    color: var(--sg-sand-light);
    font-size: clamp(3rem, 8vw + 0.5rem, 7rem);
    line-height: 0.7;
    vertical-align: -0.05em;
    padding: 0 0.15em;
    font-weight: 400;
}

.sg-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
@media (min-width: 640px) {
    .sg-hero__actions { flex-direction: row; align-items: center; gap: 2rem; }
}
.sg-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,0.7);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: var(--sg-tracking-widest);
}
@media (min-width: 768px) {
    .sg-hero__scroll { display: flex; }
}
.sg-hero__scroll-line {
    display: block;
    width: 1px;
    height: 2.5rem;
    background: rgba(255,255,255,0.5);
}

/* ====================== 6. BUTTONS / LINKS =================== */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1.125rem 2.25rem;
    border: 1px solid transparent;
    transition: background-color .3s, color .3s, border-color .3s;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
}
.sg-btn:hover,
.sg-btn:focus,
.sg-btn:visited {
    text-decoration: none;
}
.sg-btn--primary,
.sg-btn--primary:hover,
.sg-btn--primary:visited {
    background: var(--sg-sapphire);
    color: #fff;
}
.sg-btn--primary:hover { background: var(--sg-sapphire-deep); }
.sg-btn--primary .sg-btn__arrow { stroke: #fff; }

.sg-btn--lg {
    padding: 1.375rem 2.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.22em;
}

.sg-btn--dark,
.sg-btn--dark:hover,
.sg-btn--dark:visited {
    background: var(--sg-sapphire-ink);
    color: #fff;
}
.sg-btn--dark:hover { background: var(--sg-sapphire); }
.sg-btn--dark .sg-btn__arrow { stroke: #fff; }

.sg-btn--ghost {
    background: transparent;
    color: var(--sg-sapphire);
    border-color: var(--sg-sapphire);
}
.sg-btn--ghost:hover { background: var(--sg-sapphire); color: #fff; }

.sg-btn__arrow {
    width: 1rem;
    height: 1rem;
    transition: transform .3s;
}
.sg-btn:hover .sg-btn__arrow { transform: translateX(4px); }

/* Subtle hover-underline link (used inside hero + cards) */
.sg-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 400;
    white-space: nowrap;
}
.sg-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.sg-link:hover::after { transform: scaleX(1); }
.sg-link--quiet { color: rgba(255,255,255,0.9); }

/* ====================== 6b. STATEMENT (below hero) ============= */
.sg-statement {
    position: relative;
    background: var(--sg-cream);
    padding: clamp(5rem, 11vh, 8.5rem) 0;
    text-align: center;
    overflow: hidden;
}
/* Soft vignette — depth without noise */
.sg-statement::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(16, 62, 142, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(201, 184, 150, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.sg-statement__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 46rem;
    margin: 0 auto;
}
.sg-statement__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--sg-sand-dark);
}
.sg-statement__eyebrow::before,
.sg-statement__eyebrow::after {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-sand));
}
.sg-statement__eyebrow::after {
    background: linear-gradient(90deg, var(--sg-sand), transparent);
}
.sg-statement__title {
    margin: 0;
    color: var(--sg-sapphire-ink);
    font-weight: 500;
    font-size: clamp(1.875rem, 3.2vw + 0.75rem, 3.125rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
}
.sg-statement__title-line {
    display: block;
}
.sg-statement__title-line + .sg-statement__title-line {
    margin-top: 0.12em;
}
.sg-statement__text {
    margin: clamp(1.75rem, 3.5vw, 2.5rem) 0 0;
    max-width: 38rem;
    font-size: clamp(1rem, 0.45vw + 0.9rem, 1.125rem);
    font-weight: 400;
    line-height: 1.75;
    color: #5a6478;
    letter-spacing: 0.01em;
}
.sg-page a.sg-statement__cta,
.sg-page a.sg-statement__cta:visited {
    color: #5a6478;
    text-decoration: none;
}
.sg-statement__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: clamp(2.25rem, 4.5vw, 3rem);
    padding: 0.9375rem 1.75rem;
    border-radius: 999px;
    border: 1px solid rgba(6, 23, 62, 0.1);
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 1px 2px rgba(6, 23, 62, 0.04),
        0 8px 24px rgba(6, 23, 62, 0.06);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition:
        color .35s ease,
        border-color .35s ease,
        background-color .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}
.sg-page a.sg-statement__cta:hover {
    color: var(--sg-sapphire-ink);
}
.sg-statement__cta:hover {
    border-color: rgba(16, 62, 142, 0.22);
    background: #fff;
    box-shadow:
        0 2px 4px rgba(6, 23, 62, 0.06),
        0 12px 32px rgba(6, 23, 62, 0.1);
    transform: translateY(-2px);
}
.sg-statement__cta-icon {
    width: 1rem;
    height: 1rem;
    transition: transform .35s ease;
}
.sg-statement__cta:hover .sg-statement__cta-icon {
    transform: translateX(3px);
}
@media (min-width: 768px) {
    .sg-statement__inner { max-width: 52rem; }
    .sg-statement__text { max-width: 42rem; }
}

/* ====================== 6c. PILLARS (Our edge — luxury cards) === */
.sg-pillars {
    position: relative;
    background: var(--sg-cream);
    padding: clamp(4rem, 8vh, 6rem) 0 clamp(4.5rem, 9vh, 6.5rem);
}
.sg-pillars::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(12rem, 40%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-sand), transparent);
}
.sg-pillars .sg-container {
    max-width: 92rem;
}
.sg-pillars__header {
    text-align: center;
    margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem);
}
.sg-pillars__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--sg-sand-dark);
}
.sg-pillars__eyebrow::before,
.sg-pillars__eyebrow::after {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-sand));
}
.sg-pillars__eyebrow::after {
    background: linear-gradient(90deg, var(--sg-sand), transparent);
}
/* grid-cols-1 md:grid-cols-3 lg:grid-cols-5 gap-6 */
.sg-pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
@media (min-width: 768px) {
    .sg-pillars__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .sg-pillars .sg-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .sg-pillars__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1.75rem;
    }
}
@media (min-width: 1440px) {
    .sg-pillars .sg-container {
        max-width: 96rem;
    }
}
.sg-pillar {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 20rem; /* min-h-[320px] */
    padding: clamp(1.75rem, 2vw, 2.125rem) clamp(1.75rem, 2.2vw, 2.25rem);
    background: #fff;
    border: 1px solid rgba(6, 23, 62, 0.06);
    border-radius: 0.75rem; /* rounded-xl */
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(6, 23, 62, 0.04),
        0 4px 16px rgba(6, 23, 62, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}
.sg-pillar:hover {
    transform: translateY(-0.5rem); /* hover:-translate-y-2 */
    border-color: rgba(184, 153, 104, 0.25);
    box-shadow:
        0 4px 8px rgba(6, 23, 62, 0.04),
        0 20px 40px rgba(6, 23, 62, 0.1);
}
@media (max-width: 767.98px) {
    .sg-pillar {
        min-height: auto;
        padding: 1.5rem;
    }
    .sg-pillar__icon {
        margin-bottom: 1rem;
    }
    .sg-pillar__title {
        margin-bottom: 0.625rem;
    }
    .sg-pillar__watermark {
        font-size: 3.75rem;
        right: 0.5rem;
        bottom: 0.125rem;
    }
}
.sg-pillar__watermark {
    position: absolute;
    right: 0.75rem;
    bottom: 0.25rem;
    z-index: 0;
    font-size: clamp(4.5rem, 10vw, 6.5rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #f3f4f6;
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}
.sg-pillar__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
}
.sg-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
    color: var(--sg-sapphire-ink);
}
.sg-pillar__icon-svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: currentColor;
    opacity: 0.88;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.sg-pillar:hover .sg-pillar__icon-svg {
    opacity: 1;
    transform: translateY(-2px);
}
.sg-pillar__title {
    margin: 0 0 0.875rem;
    font-size: clamp(0.75rem, 0.3vw + 0.68rem, 0.875rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sg-sapphire-ink);
}
.sg-pillar__text {
    margin: 0;
    flex: 1;
    font-size: clamp(0.8125rem, 0.2vw + 0.76rem, 0.875rem);
    font-weight: 400;
    line-height: 1.7;
    color: #5a6478;
    letter-spacing: 0.01em;
}
/* Bottom accent line — expands on hover */
.sg-pillar__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, var(--sg-sapphire) 0%, var(--sg-gold) 50%, var(--sg-sand) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sg-pillar:hover .sg-pillar__accent {
    transform: scaleX(1);
}

/* ====================== 6d. PROJECTS SHOWCASE (luxury) ======= */
.sg-projects {
    --sg-corp-navy: #0d233a;
    --sg-corp-emerald: #005b52;
    --sg-corp-emerald-deep: #004a44;
    --sg-corp-emerald-soft: rgba(0, 91, 82, 0.06);
    position: relative;
    background: var(--sg-cream);
    overflow: hidden;
}
.sg-projects::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 15% 20%, rgba(16, 62, 142, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 80% 55% at 85% 80%, rgba(201, 184, 150, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.sg-projects-intro {
    position: relative;
    z-index: 1;
    padding: clamp(5rem, 10vh, 7.5rem) 0 clamp(3.5rem, 7vh, 5rem);
    text-align: center;
    background: transparent;
}
.sg-projects-intro__inner {
    max-width: 46rem;
    margin: 0 auto;
}
.sg-projects-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--sg-sand-dark);
}
.sg-projects-intro__eyebrow::before,
.sg-projects-intro__eyebrow::after {
    content: '';
    width: 2.75rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-sand));
}
.sg-projects-intro__eyebrow::after {
    background: linear-gradient(90deg, var(--sg-sand), transparent);
}
.sg-projects-intro__lead {
    margin: 0;
    font-family: inherit;
    font-size: clamp(1rem, 0.45vw + 0.9rem, 1.125rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: #5a6478;
}
.sg-projects__cards-wrap {
    position: relative;
    z-index: 1;
    padding: 0 0 clamp(5rem, 10vh, 7.5rem);
}
.sg-projects__cards {
    display: grid;
    gap: clamp(2.5rem, 5vw, 3.5rem);
    align-items: stretch;
}
@media (max-width: 1023.98px) {
    .sg-projects__cards {
        gap: 4rem;
    }
}
@media (min-width: 1024px) {
    .sg-projects__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(2.5rem, 3.5vw, 3.25rem);
    }
}
.sg-project {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background:
        linear-gradient(165deg, #ffffff 0%, #fdfbf7 48%, #f7f3ec 100%);
    border: 1px solid rgba(184, 153, 104, 0.22);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 2px 0 rgba(255, 255, 255, 0.55) inset,
        0 28px 60px rgba(6, 23, 62, 0.07),
        0 8px 24px rgba(6, 23, 62, 0.04);
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.45s ease;
}
.sg-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--sg-gold) 18%,
        var(--sg-sand) 50%,
        var(--sg-gold) 82%,
        transparent 100%
    );
    opacity: 0.85;
    z-index: 3;
    transition: opacity 0.45s ease;
}
.sg-project:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 153, 104, 0.38);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 36px 72px rgba(6, 23, 62, 0.11),
        0 14px 32px rgba(6, 23, 62, 0.06);
}
.sg-project:hover::before {
    opacity: 1;
}
.sg-project__media {
    position: relative;
    padding: clamp(0.875rem, 2vw, 1.125rem) clamp(0.875rem, 2vw, 1.125rem) 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, transparent 100%);
}
.sg-project__media-inner {
    position: relative;
    width: 100%;
    height: 18rem; /* h-72 — uniform image height */
    overflow: hidden;
    border-radius: 10px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.65) inset,
        0 18px 40px rgba(6, 23, 62, 0.14);
}
.sg-project__media-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(6, 23, 62, 0.08) 0%, transparent 38%),
        linear-gradient(0deg, rgba(6, 23, 62, 0.22) 0%, transparent 42%);
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.sg-project__media-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sg-gold), var(--sg-sand-light), transparent);
    opacity: 0.9;
}
.sg-project:hover .sg-project__media-inner::before {
    opacity: 0.75;
}
/* img.sg-project__media-img beats .sg-page img { height: auto } reset */
.sg-page img.sg-project__media-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    transition: transform 1.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.sg-project:hover .sg-project__media-img {
    transform: scale(1.08);
}
.sg-project__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(1.75rem, 3.5vw, 2.375rem) clamp(1.75rem, 3.5vw, 2.375rem) 0;
}
.sg-project__brand {
    margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
    padding-bottom: clamp(1.15rem, 2vw, 1.5rem);
    border-bottom: 1px solid rgba(184, 153, 104, 0.2);
}
.sg-project__brand::before {
    content: '';
    display: block;
    width: 2.75rem;
    height: 2px;
    margin-bottom: 1.125rem;
    background: linear-gradient(90deg, var(--sg-gold), var(--sg-sand-light));
}
.sg-project__banner-title {
    margin: 0;
    font-size: clamp(0.9375rem, 0.8vw + 0.75rem, 1.125rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--sg-sapphire-ink);
}
.sg-project__banner-sub {
    margin: 0.625rem 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sg-sand-dark);
}
/* ul.sg-project__tags beats .sg-page ul { margin: 0 } reset */
.sg-page ul.sg-project__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.75rem;
    padding: 0;
    list-style: none;
}
.sg-project__tags li {
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    background: var(--sg-corp-emerald-soft);
    border: 1px solid var(--sg-corp-emerald);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sg-corp-emerald);
    transition: background-color 0.35s ease, border-color 0.35s ease;
}
.sg-project:hover .sg-project__tags li {
    border-color: var(--sg-corp-emerald);
    background: rgba(0, 91, 82, 0.1);
}
/* h3.sg-project__heading beats .sg-page h3 { margin: 0 } reset */
.sg-page h3.sg-project__heading {
    margin: 0 0 1.25rem;
    padding-top: 0.375rem;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.625rem, 2.2vw + 0.65rem, 2.375rem);
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--sg-sapphire-ink);
}
.sg-page h3.sg-project__heading span {
    display: block;
}
.sg-page h3.sg-project__heading span + span {
    margin-top: 0.14em;
    font-style: italic;
    font-weight: 400;
    color: var(--sg-sand-dark);
}
.sg-page .sg-project__text {
    margin: 0;
    flex: 1;
    font-size: clamp(0.96875rem, 0.3vw + 0.9rem, 1.0625rem);
    line-height: 1.8;
    letter-spacing: 0.012em;
    color: #5a6478;
    max-width: none;
}
.sg-project__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem 1.5rem;
    flex-shrink: 0;
    min-height: 5.25rem;
    margin-top: auto;
    margin-left: calc(-1 * clamp(1.75rem, 3.5vw, 2.375rem));
    margin-right: calc(-1 * clamp(1.75rem, 3.5vw, 2.375rem));
    padding: clamp(1.5rem, 3vw, 1.875rem) clamp(1.75rem, 3.5vw, 2.375rem);
    border-top: 1px solid rgba(184, 153, 104, 0.22);
    background:
        linear-gradient(180deg, rgba(251, 249, 244, 0.35) 0%, rgba(244, 241, 234, 0.92) 100%);
}
.sg-page a.sg-project__discover,
.sg-page a.sg-project__discover:visited {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--sg-corp-navy);
    text-decoration: none;
    padding-bottom: 0.3rem;
    transition: color 0.45s ease;
}
.sg-project__discover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--sg-corp-navy);
    transform-origin: left;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.45s ease;
}
.sg-project:hover .sg-project__discover {
    color: var(--sg-corp-emerald);
}
.sg-project:hover .sg-project__discover::after {
    background: var(--sg-corp-emerald);
}
.sg-project__discover:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}
/* Register — emerald executive CTA (scoped to project cards) */
.sg-project .sg-btn.sg-btn--primary.sg-project__register,
.sg-project .sg-btn.sg-btn--primary.sg-project__register:visited {
    background: var(--sg-corp-emerald);
    border-color: var(--sg-corp-emerald);
    border-radius: 0;
    color: #fff;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(0, 91, 82, 0.22);
    transition:
        background-color 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}
.sg-project .sg-btn.sg-btn--primary.sg-project__register:hover,
.sg-project:hover .sg-btn.sg-btn--primary.sg-project__register {
    background: var(--sg-corp-emerald-deep);
    border-color: var(--sg-corp-emerald-deep);
    color: #fff;
    box-shadow: 0 12px 32px rgba(0, 91, 82, 0.28);
}
.sg-project .sg-btn.sg-btn--primary.sg-project__register .sg-btn__arrow {
    stroke: #fff;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sg-project:hover .sg-btn.sg-btn--primary.sg-project__register .sg-btn__arrow,
.sg-project .sg-btn.sg-btn--primary.sg-project__register:hover .sg-btn__arrow {
    transform: translateX(0.25rem);
}
.sg-project__register {
    padding: 1.0625rem 1.875rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
}

/* ====================== 6e. TRUSTED PARTNERS (luxury) ========= */
.sg-partners {
    position: relative;
    background: var(--sg-cream);
    overflow: hidden;
}
.sg-partners::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 55% at 10% 15%, rgba(16, 62, 142, 0.04) 0%, transparent 52%),
        radial-gradient(ellipse 75% 50% at 90% 85%, rgba(201, 184, 150, 0.1) 0%, transparent 48%);
    pointer-events: none;
}
.sg-partners-intro {
    position: relative;
    z-index: 1;
    padding: clamp(4.5rem, 9vh, 6.5rem) 0 clamp(2.75rem, 5.5vh, 4rem);
    text-align: center;
}
.sg-partners-intro__inner {
    max-width: 44rem;
    margin: 0 auto;
}
.sg-partners-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--sg-sand-dark);
}
.sg-partners-intro__eyebrow::before,
.sg-partners-intro__eyebrow::after {
    content: '';
    width: 2.75rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-sand));
}
.sg-partners-intro__eyebrow::after {
    background: linear-gradient(90deg, var(--sg-sand), transparent);
}
.sg-partners-intro__lead {
    margin: 0;
    font-size: clamp(1rem, 0.45vw + 0.9rem, 1.125rem);
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
    color: #5a6478;
}
.sg-partners__grid-wrap {
    position: relative;
    z-index: 1;
    padding: 0 0 clamp(5rem, 10vh, 7.5rem);
}
/* grid-cols-1 md:grid-cols-3 gap-8 */
.sg-partners__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}
@media (min-width: 768px) {
    .sg-partners__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Card — white, rounded-2xl, shadow-sm, p-8, hover lift */
.sg-partner-card {
    --sg-partner-title-color: #334155; /* slate-700 — visibly softer than .sg-page ink */
    --sg-partner-body-color: #64748b;   /* slate-500 */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    color: var(--sg-partner-body-color);
    background: #fff;
    border: 1px solid rgba(6, 23, 62, 0.06);
    border-radius: 1rem;
    box-shadow:
        0 1px 2px rgba(6, 23, 62, 0.04),
        0 4px 16px rgba(6, 23, 62, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}
.sg-partner-card:hover {
    transform: translateY(-0.25rem);
    border-color: rgba(184, 153, 104, 0.22);
    box-shadow:
        0 4px 8px rgba(6, 23, 62, 0.05),
        0 12px 28px rgba(6, 23, 62, 0.1);
}
/* Logo slot — w-full h-20 flex center mb-6 */
.sg-partner-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 5rem;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.sg-partner-card__logo-img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}
/* Partners: stop inheriting .sg-page { color: --sg-sapphire-ink } (#06173E) */
.sg-page #partners .sg-partner-card {
    color: var(--sg-partner-body-color);
}
/* Title — slate-700 + font-semibold */
.sg-page #partners .sg-partner-card > h3.sg-partner-card__name {
    margin: 0 0 0.75rem;
    font-family: inherit;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--sg-partner-title-color) !important;
}
/* Body — slate-500 + leading-relaxed */
.sg-page #partners .sg-partner-card > p.sg-partner-card__text {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.625;
    letter-spacing: 0.01em;
    color: var(--sg-partner-body-color) !important;
}

/* ====================== 7. SECTION SHELL ===================== */
.sg-section { padding: 7rem 0; }
@media (min-width: 768px) {
    .sg-section { padding: 10rem 0; }
}
.sg-section--cream    { background: var(--sg-cream); }
.sg-section--bone     { background: var(--sg-bone); padding: 6rem 0; }
.sg-section--sapphire { background: var(--sg-sapphire); color: #fff; }

.sg-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--sg-tracking-widest);
    color: var(--sg-sapphire);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.sg-eyebrow::before {
    content: '';
    display: block;
    width: 2.5rem;
    height: 1px;
    background: currentColor;
}
.sg-eyebrow--light { color: var(--sg-sand-light); }

.sg-heading {
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--sg-sapphire-ink);
    font-size: 2.25rem;
}
@media (min-width: 768px)  { .sg-heading { font-size: 3rem; } }
@media (min-width: 1024px) { .sg-heading { font-size: 3.75rem; } }
.sg-heading--white { color: #fff; }

.sg-heading__script {
    font-family: 'Allura', cursive;
    color: var(--sg-sapphire);
    font-size: 3rem;
    display: block;
    margin-top: 0.5rem;
}
@media (min-width: 768px)  { .sg-heading__script { font-size: 3.75rem; } }
@media (min-width: 1024px) { .sg-heading__script { font-size: 4.5rem; } }
.sg-heading__script--inline { display: inline; }
.sg-heading__script--light  { color: var(--sg-sand-light); }

.sg-prose {
    font-size: 1rem;
    line-height: 1.9;
    font-weight: 300;
    color: rgba(6, 23, 62, 0.75);
    margin-top: 2rem;
    max-width: 36rem;
}
@media (min-width: 768px) { .sg-prose { font-size: 1.125rem; } }
.sg-prose + .sg-prose { margin-top: 1.5rem; }
.sg-prose--light { color: rgba(255,255,255,0.75); }

/* ====================== 8. CONCEPT SECTION =================== */
.sg-concept__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .sg-concept__grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}
.sg-concept__copy    { max-width: 36rem; }
.sg-concept__heading { margin-bottom: 2.5rem; }

.sg-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(201, 184, 150, 0.4);
}
.sg-stats__num {
    font-size: 1.875rem;
    font-weight: 300;
    color: var(--sg-sapphire-ink);
}
@media (min-width: 768px) { .sg-stats__num { font-size: 2.25rem; } }
.sg-stats__num span { color: var(--sg-gold); }
.sg-stats__label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: var(--sg-tracking-widest);
    color: rgba(6, 23, 62, 0.6);
    margin-top: 0.5rem;
}

.sg-concept__media { position: relative; }
.sg-concept__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
}
.sg-concept__img-wrap::after {
    /* subtle warm vignette to feel editorial */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11,30,63,0) 60%, rgba(11,30,63,0.18) 100%);
    pointer-events: none;
}
.sg-concept__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Big editorial numeral (01) anchored top-right */
.sg-concept__numeral {
    position: absolute;
    top: -2.5rem;
    right: -0.5rem;
    font-family: 'Allura', cursive;
    font-size: clamp(5rem, 8vw, 9rem);
    color: var(--sg-sapphire);
    opacity: 0.12;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 0;
}

.sg-concept__tag {
    display: none;
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background: var(--sg-sapphire);
    color: #fff;
    padding: 1.5rem 2rem;
    min-width: 14rem;
}
@media (min-width: 768px) { .sg-concept__tag { display: block; } }
.sg-concept__tag-decor {
    display: block;
    width: 1.75rem;
    height: 1px;
    background: var(--sg-sand-light);
    margin-bottom: 1rem;
}
.sg-concept__tag-script {
    font-family: 'Allura', cursive;
    font-size: 2.25rem;
    line-height: 1;
    color: #fff;
}
.sg-concept__tag-label {
    font-size: 0.625rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.85);
}

/* ====================== 9. AMENITIES ========================== */
.sg-amenities__header { max-width: 36rem; margin-bottom: 5rem; }
.sg-amenities__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.15);
}
@media (min-width: 768px)  { .sg-amenities__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sg-amenities__grid { grid-template-columns: repeat(6, 1fr); } }

.sg-amenity {
    background: var(--sg-sapphire);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    min-height: 280px;
    justify-content: space-between;
    transition: background-color .5s;
}
@media (min-width: 768px) { .sg-amenity { padding: 2.75rem 2.5rem; min-height: 300px; } }
.sg-amenity:hover { background: var(--sg-sapphire-deep); }

.sg-amenity__icon {
    width: 2.75rem;
    height: 2.75rem;
    color: var(--sg-sand-light);
    stroke-width: 1.1;
}
.sg-amenity__num {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(230, 220, 201, 0.75);
    margin-bottom: 0.5rem;
}
.sg-amenity__title {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.sg-amenity__desc {
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin-top: 0.625rem;
}

/* ====================== 10. UNIT CARDS ======================== */
.sg-units__header { max-width: 48rem; margin-bottom: 5rem; }
.sg-units__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px)  { .sg-units__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .sg-units__grid { gap: 2.5rem; } }

.sg-card { display: block; }
.sg-card__img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: rgba(201, 184, 150, 0.2);
    margin-bottom: 1.75rem;
    position: relative;
}
.sg-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}
.sg-card:hover .sg-card__img { transform: scale(1.06); }
.sg-card__badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(6,23,62,0.85);
    color: #fff;
    font-size: 0.625rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 0.5rem 0.875rem;
    font-weight: 500;
}

.sg-card__title {
    font-size: 1.625rem;
    font-weight: 300;
    color: var(--sg-sapphire-ink);
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}
@media (min-width: 768px) { .sg-card__title { font-size: 2rem; } }
.sg-card__desc {
    font-size: 0.875rem;
    line-height: 1.9;
    font-weight: 300;
    color: rgba(6, 23, 62, 0.65);
    max-width: 24rem;
    margin-bottom: 1.5rem;
}

/* Specs row — three small data points */
.sg-card__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(201, 184, 150, 0.4);
    border-bottom: 1px solid rgba(201, 184, 150, 0.4);
}
.sg-card__specs li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.sg-card__specs span {
    font-size: 0.625rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sg-sand-dark);
}
.sg-card__specs strong {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sg-sapphire-ink);
    letter-spacing: -0.005em;
}
.sg-card__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: var(--sg-tracking-widest);
    font-weight: 500;
    color: var(--sg-sapphire);
}
.sg-card__cta::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 100%;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.sg-card__cta:hover::after { transform: scaleX(1); }
.sg-card__cta svg { width: 0.875rem; height: 0.875rem; }

/* ====================== 10.4 LOCATION / MASTER PLAN ===================== */
.sg-location {
    background: var(--sg-sapphire-ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.sg-location__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}
@media (min-width: 1024px) {
    .sg-location__grid { grid-template-columns: 1.2fr 1fr; gap: 6rem; }
}

.sg-location__media {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}
.sg-location__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) brightness(0.85);
}
.sg-location__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,23,62,0.55) 0%, rgba(6,23,62,0.1) 50%, rgba(6,23,62,0.55) 100%);
    pointer-events: none;
}
.sg-location__pin {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transform: translate(-50%, -50%);
}
.sg-location__pin-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--sg-sand-light);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(230, 220, 201, 0.25), 0 0 0 14px rgba(230, 220, 201, 0.12);
    animation: sg-pulse 2.4s ease-out infinite;
}
@keyframes sg-pulse {
    0%   { box-shadow: 0 0 0 0   rgba(230, 220, 201, 0.6), 0 0 0 0   rgba(230, 220, 201, 0.3); }
    70%  { box-shadow: 0 0 0 14px rgba(230, 220, 201, 0),    0 0 0 28px rgba(230, 220, 201, 0); }
    100% { box-shadow: 0 0 0 0   rgba(230, 220, 201, 0),    0 0 0 0   rgba(230, 220, 201, 0); }
}
.sg-location__pin-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: #fff;
    background: rgba(6,23,62,0.85);
    padding: 0.5rem 0.875rem;
    white-space: nowrap;
}

.sg-location__list {
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.sg-location__list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: baseline;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sg-location__list-num {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--sg-sand-light);
    letter-spacing: -0.01em;
    line-height: 1;
    min-width: 4.5rem;
}
.sg-location__list-num small {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255,255,255,0.5);
    margin-left: 0.375rem;
    font-weight: 400;
}
.sg-location__list-place {
    font-size: 0.9375rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* ====================== 10.5 SISTER PROJECT ===================== */
.sg-sister__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .sg-sister__grid { grid-template-columns: 1fr 1.1fr; gap: 6rem; }
}
.sg-sister__card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--sg-sapphire-ink);
}
.sg-sister__media {
    aspect-ratio: 5 / 4;
    overflow: hidden;
}
.sg-sister__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease, opacity .5s ease;
    opacity: 0.85;
}
.sg-sister__card:hover .sg-sister__media img { transform: scale(1.05); opacity: 1; }
.sg-sister__caption {
    position: absolute;
    left: 2rem; right: 2rem; bottom: 2rem;
    color: #fff;
}
.sg-sister__eyebrow {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--sg-sand-light);
    margin-bottom: 0.5rem;
}
.sg-sister__title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}
@media (min-width: 768px) { .sg-sister__title { font-size: 2.5rem; } }

/* ====================== 11. CTA STRIP ========================= */
.sg-cta__hairline {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sg-sand) 50%, transparent);
    margin-bottom: 4rem;
}
.sg-cta__row {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
@media (min-width: 768px) {
    .sg-cta__row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}
.sg-cta__heading {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.1;
    color: var(--sg-sapphire-ink);
    max-width: 36rem;
    letter-spacing: -0.02em;
}
@media (min-width: 768px)  { .sg-cta__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .sg-cta__heading { font-size: 3.75rem; } }
.sg-cta__heading-script {
    font-family: 'Allura', cursive;
    color: var(--sg-sapphire);
    font-size: 1.1em;
    line-height: 0.7;
    vertical-align: -0.06em;
    padding-left: 0.1em;
}
.sg-cta__sub {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(6,23,62,0.65);
    max-width: 30rem;
    margin-top: 1.5rem;
}
.sg-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}
@media (min-width: 640px) {
    .sg-cta__buttons { flex-direction: row; align-items: center; gap: 2.5rem; }
}

/* ====================== 12. FOOTER (premium slate) ============= */
.sg-footer {
    --sg-footer-bg: #020617;        /* slate-950 */
    --sg-footer-surface: #0f172a;   /* slate-900 */
    --sg-footer-border: #1e293b;    /* slate-800 */
    --sg-footer-link: #94a3b8;      /* slate-400 */
    --sg-footer-accent: #f59e0b;    /* amber-500 */
    --sg-footer-teal: #005b52;      /* brand emerald */
    background: var(--sg-footer-bg);
    color: var(--sg-footer-link);
    padding: 5rem 0;
}
.sg-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .sg-footer__grid {
        grid-template-columns: 5fr 2fr 2fr 3fr;
        gap: 4rem;
    }
}
.sg-footer__logo {
    height: 2.25rem;
    width: auto;
    margin-bottom: 2rem;
}
.sg-footer__newsletter-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.sg-footer__about {
    color: var(--sg-footer-link);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.75;
    max-width: 28rem;
}
/* Newsletter — rounded container + solid submit */
.sg-footer__newsletter {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 28rem;
    margin-top: 2.5rem;
    padding: 0.25rem;
    background: var(--sg-footer-surface);
    border: 1px solid var(--sg-footer-border);
    border-radius: 0.5rem;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
.sg-footer__newsletter:focus-within {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}
.sg-footer__newsletter input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    font-size: 0.875rem;
    padding: 0.75rem 0.875rem;
    color: #fff;
}
.sg-footer__newsletter input::placeholder {
    color: #64748b;
}
.sg-footer__newsletter input:focus {
    outline: none;
}
.sg-page .sg-footer__newsletter-btn,
.sg-footer__newsletter-btn {
    flex-shrink: 0;
    padding: 0.625rem 1.125rem;
    border: none;
    border-radius: 0.375rem;
    background: var(--sg-footer-teal);
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fff;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}
.sg-page .sg-footer__newsletter-btn:hover,
.sg-footer__newsletter-btn:hover {
    background: #004a44;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 91, 82, 0.35);
}
.sg-page .sg-footer__newsletter-btn:active,
.sg-footer__newsletter-btn:active {
    transform: translateY(1px);
}

.sg-footer__title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
/* space-y-3 */
.sg-footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sg-page .sg-footer__list a,
.sg-page .sg-footer__contact-value {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--sg-footer-link);
    transition: color 0.3s ease;
}
.sg-page .sg-footer__list a:hover,
.sg-page .sg-footer__contact-value:hover {
    color: var(--sg-footer-accent);
}

.sg-footer__contact-item {
    margin-bottom: 1.25rem;
}
.sg-footer__contact-label {
    color: #64748b;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
}
.sg-page .sg-footer__hotline {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
}
.sg-page .sg-footer__hotline:hover {
    color: var(--sg-footer-accent);
}

.sg-footer__social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.sg-page .sg-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sg-footer-link);
    transition: color 0.3s ease;
}
.sg-page .sg-footer__social a:hover {
    color: var(--sg-footer-accent);
}
.sg-footer__social svg {
    width: 1.5rem;
    height: 1.5rem;
}

.sg-footer__bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sg-footer-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #64748b;
}
@media (min-width: 768px) {
    .sg-footer__bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.sg-footer__legal { display: flex; gap: 2rem; }
.sg-page .sg-footer__legal a {
    color: var(--sg-footer-link);
    transition: color 0.3s ease;
}
.sg-page .sg-footer__legal a:hover {
    color: var(--sg-footer-accent);
}

/* Partners typography — final cascade (not .sg-page ink #06173E) */
.sg-page #partners .sg-partner-card > h3.sg-partner-card__name {
    color: #334155 !important;
}
.sg-page #partners .sg-partner-card > p.sg-partner-card__text {
    color: #64748b !important;
}
