/* ==========================================================================
   SERVICES PAGE - services.html, on top of site.css. Everything is .sgs-

   SLIDES      full-screen self-advancing slider at the top
   BLOCKS      the normal content under it: headings, buttons
   WHAT WE BRING   the capability band
   TRUSTED BY  partner logos on white
   REGION      coast / outback wipe
   ANNUAL      row of events we do every year (slider from site.css)
   CLOSING     the ask over a photo, three assurances
   ========================================================================== */
#sg-services-page {
    display: block;
    background: var(--sg-night);
    color: var(--sg-white);
    overflow-x: hidden; /* nothing may push the page sideways */
}

/* ==========================================================================
   SLIDES - services.js moves the track; visitors cannot scroll it
   ========================================================================== */
.sgs-stage {
    position: relative;
    background: var(--sg-night);
}

.sgs-track {
    display: flex;
    overflow-x: hidden; /* scrollTo() still works, a trackpad swipe cannot grab it */
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sgs-track::-webkit-scrollbar {
    display: none;
}

.sgs-track:focus-visible {
    outline: 2px solid var(--sg-gold);
    outline-offset: -4px;
}

/* One slide = one screen */
.sgs-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background-color: var(--sg-night);
}

/* The photo, on its own layer so the gradient shows if the file is missing */
.sgs-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--sgs-img);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* A warm gradient per slide, under the photo */
.sgs-intro {
    background-image: linear-gradient(135deg, var(--sg-poster-ink) 0%, var(--sg-night) 62%);
}
.sgs-weddings {
    background-image: linear-gradient(135deg, var(--sg-purple-dark) 0%, var(--sg-night) 62%);
}
.sgs-corporate {
    background-image: linear-gradient(135deg, var(--sg-border) 0%, var(--sg-night) 62%);
}
.sgs-bands {
    background-image: linear-gradient(135deg, var(--sg-poster-ink) 0%, var(--sg-night) 62%);
}
.sgs-dj {
    background-image: linear-gradient(135deg, var(--sg-ink) 0%, var(--sg-night) 62%);
}
.sgs-functions {
    background-image: linear-gradient(135deg, var(--sg-purple-dark) 0%, var(--sg-night) 62%);
}
.sgs-community {
    background-image: linear-gradient(135deg, var(--sg-poster-ink) 0%, var(--sg-night) 62%);
}
.sgs-festivals {
    background-image: linear-gradient(135deg, var(--sg-poster-ink) 0%, var(--sg-night) 62%);
}
.sgs-sporting {
    background-image: linear-gradient(135deg, var(--sg-border) 0%, var(--sg-night) 62%);
}
.sgs-screens {
    background-image: linear-gradient(135deg, var(--sg-ink) 0%, var(--sg-night) 62%);
}
.sgs-trailer {
    background-image: linear-gradient(135deg, var(--sg-poster-ink) 0%, var(--sg-night) 62%);
}

.sgs-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Wash: darker on the left where the words sit */
.sgs-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(95deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.44) 34%, rgba(0, 0, 0, 0.1) 64%, rgba(0, 0, 0, 0.06) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, transparent 20%, transparent 66%, rgba(0, 0, 0, 0.58) 100%);
}

/* Words on the slide */
.sgs-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--sg-max-width, 1200px);
    margin: 0 auto;
    padding: 0 6%;
    padding-top: calc(var(--sg-nav-height, 88px) + 24px); /* clear of the menu */
    padding-bottom: 190px; /* clear of the slide nav */
}

.sgs-eyebrow {
    font-family: var(--sg-font-accent);
    font-size: clamp(0.72rem, 1.6vw, 0.9rem);
    font-weight: bold;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--sg-gold);
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.sgs-title {
    font-family: var(--sg-font-display);
    font-size: clamp(2.6rem, 8.4vw, 6.6rem);
    line-height: 0.92;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--sg-white);
    margin: 0 0 22px;
    text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
    max-width: 16ch; /* wide enough for ENTERTAINMENT */
    overflow-wrap: normal;
    word-break: normal;
}

.sgs-line {
    font-family: var(--sg-font-accent);
    font-size: clamp(0.72rem, 1.6vw, 0.86rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sg-white);
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.sgs-place {
    font-family: var(--sg-font-accent);
    font-size: clamp(0.68rem, 1.5vw, 0.8rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sg-muted);
    margin-bottom: 30px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

/* Slide buttons, made to sit on photos */
.sgs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

/* Arrows either side */
.sgs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.45);
    color: var(--sg-white);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.2s,
        border-color 0.2s,
        opacity 0.2s;
}

.sgs-arrow span {
    margin-top: -4px; /* the chevron sits low in its box */
}

.sgs-arrow-prev {
    left: 18px;
}

.sgs-arrow-next {
    right: 18px;
}

.sgs-arrow:hover {
    background: var(--sg-gold);
    border-color: var(--sg-gold);
    color: var(--sg-night);
}

.sgs-arrow:focus-visible {
    outline: 3px solid var(--sg-gold);
    outline-offset: 3px;
}

.sgs-arrow[disabled] {
    opacity: 0.25;
    cursor: default;
}

.sgs-arrow[disabled]:hover {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--sg-white);
}

/* Slide names, phone counter and progress bar along the bottom */
.sgs-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 52px;
    z-index: 4;
    max-width: var(--sg-max-width, 1200px);
    margin: 0 auto;
    padding: 0 6%;
}

.sgs-nav-list {
    display: flex;
    flex-wrap: nowrap; /* the marker only works on one line */
    gap: 8px 22px;
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.sgs-nav-list button {
    background: none;
    border: 0;
    padding: 6px 0;
    cursor: pointer;
    font-family: var(--sg-font-accent);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.sgs-nav-list button:hover {
    color: var(--sg-white);
}

.sgs-nav-list button[aria-current='true'] {
    color: var(--sg-gold);
}

.sgs-nav-list button:focus-visible {
    outline: 2px solid var(--sg-gold);
    outline-offset: 3px;
}

/* "04 / 10" instead of the names on a narrow screen */
.sgs-nav-compact {
    display: none;
    font-family: var(--sg-font-accent);
    font-size: 0.76rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sg-white);
    margin: 0 0 12px;
}

.sgs-nav-compact b {
    color: var(--sg-gold);
    font-weight: bold;
}

.sgs-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    overflow: hidden;
}

.sgs-progress span {
    display: block;
    height: 100%;
    width: 11.111%; /* one slide of nine, until the script runs */
    background: var(--sg-gold);
    transition:
        width 0.35s ease,
        transform 0.35s ease;
}

@media (max-width: 1080px) {
    .sgs-nav-list {
        display: none;
    }

    .sgs-nav-compact {
        display: block;
    }
}

@media (max-width: 900px) {
    .sgs-content {
        padding-bottom: 200px;
    }

    .sgs-title {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .sgs-nav {
        bottom: 44px;
    }

    .sgs-arrow {
        display: none; /* swiping is natural on a phone */
    }

    /* Scrim leans to the bottom, where the words sit */
    .sgs-scrim {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.1) 24%,
            rgba(0, 0, 0, 0.34) 56%,
            rgba(0, 0, 0, 0.84) 100%
        );
    }

    .sgs-content {
        padding: calc(var(--sg-nav-height, 88px) + 18px) 7% 170px;
        align-self: flex-end; /* words sit low, clear of faces in the photo */
    }

    .sgs-slide {
        align-items: flex-end;
    }

    .sgs-title {
        font-size: clamp(1.9rem, 8.4vw, 3.2rem); /* ENTERTAINMENT fits a 375px screen */
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .sgs-actions {
        flex-direction: column;
        gap: 10px;
    }

    .sgs-actions .btn,
    .sgs-content > .btn {
        display: block;
        width: 100%;
        padding: 17px 20px;
    }
}

/* ==========================================================================
   BLOCKS - the scrolling content under the slider
   ========================================================================== */
.sgs-block {
    padding: 92px 6%;
    background: var(--sg-night);
}

.sgs-wrap {
    max-width: var(--sg-max-width, 1200px);
    margin: 0 auto;
}

.sgs-block h2 {
    font-family: var(--sg-font-display);
    font-size: clamp(1.9rem, 5vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--sg-white);
    margin: 0 0 24px;
}

/* ==========================================================================
   WHAT WE BRING - pitch, button and handwritten mark, then six capabilities
   ========================================================================== */
.sgs-band {
    border-bottom: 1px solid var(--sg-border, var(--sg-border));
    padding-top: 76px;
    padding-bottom: 64px;
}

.sgs-band-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto; /* copy | button | mark */
    align-items: center;
    gap: 48px;
    margin-bottom: 56px;
}

.sgs-band-copy h2 {
    margin-bottom: 18px;
}

.sgs-band-copy h2 span {
    color: var(--sg-gold); /* the full stops */
}

.sgs-band-lead {
    color: var(--sg-muted, var(--sg-muted));
    font-size: 1rem;
    line-height: 1.75;
    max-width: 56ch;
    margin: 0 0 14px;
}

.sgs-band-lead:last-of-type {
    margin-bottom: 0;
}

/* Handwritten mark with a drawn underline */
.sgs-script {
    font-family: var(--sg-font-script);
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    line-height: 1;
    color: var(--sg-white);
    text-align: right;
    margin: 0;
    transform: rotate(-6deg);
    white-space: nowrap;
}

.sgs-script::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 8px;
    margin-left: auto;
    width: 76%;
    background: var(--sg-white);
    border-radius: 2px;
    transform: rotate(1.5deg);
    opacity: 0.85;
}

/* Six across, divided by hairlines */
.sgs-caps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.sgs-caps li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 14px;
    text-align: center;
    border-left: 1px solid var(--sg-border, var(--sg-border));
}

.sgs-caps li:first-child {
    border-left: 0;
}

.sgs-cap-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--sg-white);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
        stroke 0.2s,
        transform 0.2s;
}

.sgs-caps span {
    font-family: var(--sg-font-accent);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sg-muted, var(--sg-muted));
}

.sgs-caps li:hover .sgs-cap-icon {
    stroke: var(--sg-gold);
    transform: translateY(-3px);
}

/* Tablet: two rows of three; the row stacks */
@media (max-width: 900px) {
    .sgs-caps {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 34px;
    }

    .sgs-caps li:nth-child(3n + 1) {
        border-left: 0;
    }

    .sgs-band-top {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 44px;
    }

    .sgs-band-cta {
        justify-self: start;
    }

    .sgs-script {
        display: none;
    }
}

/* Phone: two across */
@media (max-width: 700px) {
    .sgs-caps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .sgs-caps li {
        padding: 6px 8px;
        gap: 12px;
    }

    .sgs-caps li:nth-child(3n + 1) {
        border-left: 1px solid var(--sg-border, var(--sg-border));
    }

    .sgs-caps li:nth-child(odd) {
        border-left: 0;
    }

    .sgs-cap-icon {
        width: 38px;
        height: 38px;
    }

    .sgs-band-cta {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   TRUSTED BY - white band, because most partner logos are dark
   ========================================================================== */
.sgs-trusted {
    background: var(--sg-white);
    color: var(--sg-panel);
    padding-top: 64px;
    padding-bottom: 56px;
}

.sgs-trusted h2 {
    color: var(--sg-panel);
    margin-bottom: 12px;
}

.sgs-kicker-dark {
    color: var(--sg-sun-deep); /* site orange, dark enough to read on white */
}

.sgs-trusted-lead {
    color: var(--sg-ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 58ch;
    margin: 0 0 40px;
}

.sgs-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* seven fit one row */
    gap: 18px 24px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sgs-logo {
    display: grid;
    place-items: center;
    padding: 6px;
}

/* Every logo in the same box, no stretching (shrink big files with tools/fit-logo.ps1) */
.sgs-logo img {
    display: block;
    max-width: 100%;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Name shows only when the picture is missing (onerror adds .is-missing) */
.sgs-logo span {
    display: none;
}

.sgs-logo.is-missing span {
    display: block;
    text-align: center;
    color: var(--sg-ink-muted);
    font-family: var(--sg-font-accent);
    font-size: 0.68rem;
    font-weight: bold;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.5;
}

/* ==========================================================================
   REGION - coast and outback photos, the cursor wipes between them
   (--sgs-split is set by services.js; stays 50% on touch)
   ========================================================================== */
.sgs-region {
    --sgs-split: 50%;
    --sgs-coast: url('../../data/images/services/region-coast.jpg');
    --sgs-outback: url('../../data/images/services/region-outback.jpg');
    position: relative;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 1px solid var(--sg-border, var(--sg-border));
}

.sgs-region-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.sgs-region-half {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.sgs-region-half.is-outback {
    background-image: var(--sgs-outback, none), linear-gradient(120deg, var(--sg-poster-ink), var(--sg-night) 70%);
}

/* Coast on top, clipped to the split */
.sgs-region-half.is-coast {
    background-image: var(--sgs-coast, none), linear-gradient(120deg, var(--sg-ink), var(--sg-night) 70%);
    clip-path: inset(0 calc(100% - var(--sgs-split)) 0 0);
}

.sgs-region-seam {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--sgs-split);
    width: 1px;
    background: rgba(255, 255, 255, 0.45);
    transform: translateX(-0.5px);
}

/* Wash over both photos so the words read */
.sgs-region-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.88) 12%, rgba(5, 5, 5, 0.34) 52%, rgba(5, 5, 5, 0.28) 100%),
        linear-gradient(to top, rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0) 46%);
}

.sgs-region-inner {
    position: relative;
    padding-top: 84px;
    padding-bottom: 64px;
}

.sgs-region h2 {
    margin-bottom: 16px;
}

.sgs-region-lead {
    color: var(--sg-muted, var(--sg-muted));
    font-size: 1rem;
    line-height: 1.75;
    max-width: 44ch;
    margin: 0;
}

/* Place names along the bottom, one per half */
.sgs-places {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    list-style: none;
    margin: 0;
    padding: 0 0 44px;
    max-width: var(--sg-max-width, 1200px);
    margin-left: auto;
    margin-right: auto;
    font-family: var(--sg-font-accent);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sg-white);
}

.sgs-places li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sgs-places li::before {
    content: '';
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--sg-gold);
}

/* ==========================================================================
   ANNUAL - events we do every year. Headline left, four words right,
   tall cards that page four at a time (slider from site.css)
   ========================================================================== */
.sgs-annual {
    padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 7vw, 90px);
    background: linear-gradient(180deg, var(--sg-night) 0%, var(--sg-night) 100%);
    border-top: 1px solid var(--sg-border);
}

.sgs-annual-inner {
    max-width: var(--sg-max-width);
    margin: auto;
    padding: 0 20px;
}

.sgs-annual-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: clamp(28px, 4vw, 44px);
}

.sgs-annual-intro h2 {
    font-family: var(--sg-font-display);
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 0.92;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    text-align: left;
    margin: 0;
}

.sgs-annual-intro h2 span {
    color: var(--sg-gold); /* the second line */
}

.sgs-an-lead {
    max-width: 46ch;
    margin-top: 18px;
    color: var(--sg-dim);
    line-height: 1.6;
}

.sgs-annual-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 26px;
    flex-shrink: 0;
}

/* Four mood words under a short rule (decorative) */
.sgs-an-words {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 2px solid var(--sg-orange);
    min-width: 150px;
    color: var(--sg-dim);
    font-size: 0.68rem;
    line-height: 2.05;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* The site slider, slightly bigger here */
.sgs-annual .slide-arrow {
    width: 46px;
    height: 46px;
}

.sgs-annual .slide-view {
    padding: 10px 0;
    margin: -10px 0;
}

.sgs-annual .slide-track {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* The photo is the card, words at the bottom over a gradient */
.sgs-an-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--sg-border);
    border-radius: 16px;
    background: var(--sg-panel);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.sgs-an-card:hover {
    transform: translateY(-5px);
    border-color: var(--sg-ink-soft);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.55);
}

.sgs-an-art {
    position: absolute;
    inset: 0;
    background-image: var(--sgs-an-art);
    background-size: cover;
    background-position: center;
    filter: brightness(0.82) saturate(0.9);
    transition:
        filter 0.3s ease,
        transform 0.6s ease;
}

.sgs-an-card:hover .sgs-an-art {
    filter: brightness(1) saturate(1);
    transform: scale(1.05);
}

.sgs-an-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px 18px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.82) 42%, rgba(0, 0, 0, 0.35) 74%, rgba(0, 0, 0, 0) 100%);
}

.sgs-an-body h3 {
    font-family: var(--sg-font-display);
    font-size: 1.1rem;
    line-height: 1.15;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.sgs-an-date {
    color: var(--sg-gold);
    font-size: 0.74rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

/* Place with a pin icon in the text colour */
.sgs-an-place {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--sg-dim);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    --ev-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

.sgs-an-place::before {
    content: '';
    width: 10px;
    height: 12px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: var(--ev-pin) center / contain no-repeat;
    mask: var(--ev-pin) center / contain no-repeat;
}

/* What we supplied */
.sgs-an-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

/* Job story link, stretched so the whole card clicks */
.sgs-an-read {
    display: inline-block;
    margin-top: 12px;
    color: var(--sg-gold, var(--sg-gold));
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.sgs-an-read::after {
    content: '';
    position: absolute;
    inset: 0;
}

.sgs-an-read:hover {
    text-decoration: underline;
}

/* Foot: one dash per page, and the count in words */
.sgs-an-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
}

.sgs-an-dots {
    display: flex;
    gap: 8px;
}

.sgs-an-dots button {
    width: 30px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: var(--sg-ink-soft);
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        width 0.25s ease;
}

.sgs-an-dots button[aria-selected='true'] {
    width: 44px;
    background: var(--sg-gold);
}

.sgs-an-count {
    color: var(--sg-dim);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
}

@media (max-width: 900px) {
    .sgs-annual-head {
        flex-direction: column;
        gap: 26px;
    }

    .sgs-an-words {
        display: none;
    }

    .sgs-annual-side {
        align-items: flex-start;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .sgs-annual .slide-view {
        --gap: 16px;
    }

    .sgs-an-card {
        aspect-ratio: 4 / 3; /* one across: squarer */
    }
}

/* ==========================================================================
   CLOSING - the ask on the left over a photo, three assurances on the right
   ========================================================================== */
.sgs-cta {
    position: relative;
    overflow: hidden;
    text-align: left;
    border-top: 1px solid var(--sg-border, var(--sg-border));
    padding-top: 52px;
    padding-bottom: 52px;
}

.sgs-cta-media {
    position: absolute;
    inset: 0;
    --sgs-cta-img: url('../../data/images/services/cta.webp');
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.95) 26%, rgba(8, 8, 8, 0.55) 70%, rgba(8, 8, 8, 0.8) 100%), var(--sgs-cta-img, none),
        radial-gradient(90% 120% at 20% 0%, var(--sg-poster-ink) 0%, var(--sg-night) 58%);
    background-size: cover;
    background-position: center;
}

.sgs-cta-inner {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 34px 48px;
}

.sgs-cta-copy {
    flex: 1 1 420px;
    max-width: 560px;
}

.sgs-cta h2 {
    text-align: left;
    font-size: clamp(1.5rem, 3vw, 2rem); /* smaller so it stays on one line */
    margin-bottom: 10px;
}

.sgs-cta h2 span {
    color: var(--sg-orange, var(--sg-orange));
}

.sgs-cta-lead {
    color: var(--sg-muted, var(--sg-muted));
    font-size: 1rem;
    line-height: 1.7;
    max-width: 50ch;
    margin: 0 0 24px;
}

.sgs-assurances {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 0 1 auto;
}

.sgs-assurances li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--sg-muted, var(--sg-muted));
    font-family: var(--sg-font-accent);
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sgs-assurances svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--sg-gold);
    stroke-width: 1.8;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.sgs-cta .btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Phone: the assurances drop under the ask and lie flat */
@media (max-width: 700px) {
    .sgs-assurances {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px 22px;
        width: 100%;
    }
}

/* ==========================================================================
   SMALLER SCREENS - every block gets less padding. Last so it beats the bands above.
   ========================================================================== */
@media (max-width: 900px) {
    .sgs-block {
        padding: 70px 6%;
    }
}

@media (max-width: 700px) {
    .sgs-block {
        padding: 58px 7%;
    }

    .sgs-cta {
        padding-top: 52px; /* the closing band keeps its own */
        padding-bottom: 52px;
    }
}

/* ==========================================================================
   LESS MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .sgs-track {
        scroll-behavior: auto;
    }

    .sgs-arrow,
    .sgs-progress span,
    .sgs-an-card,
    .sgs-an-art,
    .sgs-an-dots button {
        transition: none;
    }

    .sgs-an-card:hover,
    .sgs-an-card:hover .sgs-an-art {
        transform: none;
    }
}
