/* ============================================================
   Services Overview (/services) & Service Detail (/services/{slug})
   ABCubed Luxury Design System — dark-first with :root.light parity.
   Shapes: sharp rectangles (0) and true circles (50%) only.
   Elevation: tonal ink layers + 1px solid var(--gold-line), no box-shadow.
   ============================================================ */

:root {
    --svc-rule: color-mix(in srgb, var(--smoke) 12%, transparent);
    --svc-nav-h: 82px;
}

/* ── Shared Editorial Hero ────────────────────────────────── */
.page-header.section-padding.svc-hero {
    padding-top: 40px;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--gold-line);
}

.svc-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
}

.svc-hero__title {
    margin: 0;
    font-size: clamp(2.5rem, 4.8vw, 4.4rem);
    line-height: 1.06;
}

.svc-hero__side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.svc-hero__intro {
    margin: 0;
    max-width: 52ch;
}

.svc-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--svc-rule);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash-2);
}

.svc-hero__meta strong {
    color: var(--gold);
    font-weight: 500;
}

.svc-hero__meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.65;
}

/* ── Mobile Sticky Horizontal Phase Rail (< 992px) ────────── */
.svc-mobile-rail {
    display: none;
    position: sticky;
    top: var(--svc-nav-h);
    z-index: 300;
    background: color-mix(in srgb, var(--ink) 94%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--svc-rule);
}

.svc-mobile-tabs {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.svc-mobile-tabs::-webkit-scrollbar {
    display: none;
}

.svc-mobile-tab {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 48px;
    color: var(--ash);
    font-family: var(--body);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}

.svc-mobile-tab:hover {
    color: var(--smoke);
    text-decoration: none;
}

.svc-mobile-tab__num {
    font-family: var(--body);
    font-size: 11.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--ash-2);
}

.svc-mobile-tab.is-active {
    color: var(--gold);
}

.svc-mobile-tab.is-active .svc-mobile-tab__num {
    color: var(--gold);
}

.svc-mobile-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
}

/* ── Services Overview Layout (/services) ─────────────────── */
.svc-overview-section {
    padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.svc-overview-layout {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: clamp(2.25rem, 4.5vw, 4.5rem);
    align-items: start;
}

.svc-overview-aside {
    position: sticky;
    top: calc(var(--svc-nav-h) + 32px);
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.svc-aside-note {
    padding-top: 1.5rem;
    border-top: 1px solid var(--svc-rule);
}

.svc-aside-note__eyebrow {
    font-family: var(--body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ash);
    margin: 0 0 0.5rem;
}

.svc-aside-note__copy {
    font-family: var(--body);
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--ash);
    margin: 0 0 1rem;
}

.svc-aside-note__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--gold-line);
    font-family: var(--body);
    font-size: 13.5px;
    font-weight: 400;
    color: var(--smoke);
    text-decoration: none;
    transition: gap 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.svc-aside-note__link:hover {
    gap: 0.75rem;
    color: var(--gold);
    border-bottom-color: var(--gold);
    text-decoration: none;
}

.svc-overview-list {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 6vw, 5.5rem);
}

/* ── Individual Service Overview Section (Open Editorial) ─── */
.svc-panel {
    scroll-margin-top: calc(var(--svc-nav-h) + 28px);
    position: relative;
}

.svc-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.svc-panel__identity {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.svc-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.svc-panel__icon svg {
    width: 17px;
    height: 17px;
}

.svc-panel__num {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.svc-panel__sep {
    color: var(--ash-2);
    font-size: 12px;
}

.svc-panel__name {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash);
    margin: 0;
    line-height: 1.3;
}

.svc-panel__count {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ash-2);
    white-space: nowrap;
}

/* Compact 2-Column Top Split */
.svc-panel__split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.75rem, 3vw, 2.75rem);
    align-items: start;
}

.svc-panel__split--no-media {
    grid-template-columns: minmax(0, 1fr);
}

.svc-panel__lead {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.svc-panel__headline {
    font-family: var(--body);
    font-size: clamp(1.35rem, 1.85vw, 1.75rem);
    font-weight: 400;
    line-height: 1.24;
    letter-spacing: -0.015em;
    color: var(--smoke);
    margin: 0 0 0.9rem;
}

.svc-panel__headline a {
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.svc-panel__headline a:hover {
    color: var(--gold);
    text-decoration: none;
}

.svc-panel__narrative {
    font-family: var(--body);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.72;
    color: var(--ash);
    margin: 0 0 1.4rem;
    max-width: 54ch;
}

.svc-panel__narrative:last-child {
    margin-bottom: 0;
}

.svc-panel__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Standard gold .btn-primary CTA paired with the infographic column */
.btn-primary.svc-panel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    max-width: 100%;
    padding: 0.9rem 1.75rem;
    font-size: clamp(0.7rem, 0.85vw, 0.76rem);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-align: center;
}

.btn-primary.svc-panel__cta svg {
    flex-shrink: 0;
    transition: transform 0.25s var(--ease);
}

.btn-primary.svc-panel__cta:hover {
    background: #d4a33c !important;
    color: #1a1209 !important;
    letter-spacing: 0.24em;
    text-decoration: none;
}

.btn-primary.svc-panel__cta:hover svg {
    transform: translateX(3px);
}

.btn-primary.svc-panel__cta:focus-visible,
.svc-panel__media:focus-visible {
    outline: 1px solid var(--gold) !important;
    outline-offset: 2px;
}

.svc-panel__media-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.svc-panel__media-col .btn-primary.svc-panel__cta {
    width: 100%;
    justify-content: space-between;
    text-align: left;
}

/* Clean Uncropped Visual Frame */
.svc-panel__media {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--svc-rule);
    background: var(--ink-2);
    aspect-ratio: 16 / 9;
    text-decoration: none;
    transition: border-color 0.3s var(--ease);
}

.svc-panel__media:hover {
    border-color: var(--gold-line);
}

.svc-panel__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.8s var(--ease);
}

.svc-panel__media:hover img {
    transform: scale(1.02);
}

.svc-panel__media-arrow {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: color-mix(in srgb, var(--ink) 88%, transparent);
    opacity: 0.85;
    transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.svc-panel__media:hover .svc-panel__media-arrow {
    opacity: 1;
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
    transform: translate(2px, -2px);
}

/* De-boxed Hairline Deliverables Grid */
.svc-deliverables-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--svc-rule);
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
}

.svc-deliverables-matrix__item {
    padding: 1.1rem 1.5rem 1.1rem 0;
    border-bottom: 1px solid var(--svc-rule);
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: baseline;
    gap: 0.65rem;
    transition: border-color 0.25s var(--ease);
}

.svc-deliverables-matrix__item:nth-child(even) {
    padding-left: 1.5rem;
    padding-right: 0;
    border-left: 1px solid var(--svc-rule);
}

.svc-deliverables-matrix__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    padding-right: 0;
}

.svc-deliverables-matrix__num {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--gold);
}

.svc-deliverables-matrix__title {
    font-family: var(--body);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--smoke);
    margin: 0 0 0.25rem;
}

.svc-deliverables-matrix__desc {
    font-family: var(--body);
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--ash);
    margin: 0;
}

/* Stage Preview Strip on Overview Section */
.svc-panel__stages-preview {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}

.svc-panel__stages-label {
    font-family: var(--body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash-2);
    margin-right: 0.4rem;
}

.svc-stage-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.26rem 0.65rem;
    border: 1px solid var(--svc-rule);
    background: transparent;
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 400;
    color: var(--ash);
}

.svc-stage-chip--more {
    border-color: var(--gold-line);
    color: var(--gold);
    background: var(--gold-glow);
}

/* ============================================================
   DEDICATED SERVICE DETAIL PAGE (/services/{slug})
   ============================================================ */

.svc-detail-hero {
    padding-top: 40px;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.svc-detail-hero__top {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: end;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.svc-detail-hero__phase {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.svc-detail-hero__icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
    color: var(--gold);
}

.svc-detail-hero__icon svg {
    width: 18px;
    height: 18px;
}

.svc-detail-hero__title {
    margin: 0;
    font-size: clamp(2.4rem, 4.6vw, 4.3rem);
    line-height: 1.07;
}

.svc-detail-hero__overview {
    margin: 0;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.85;
    color: var(--ash);
}

.svc-detail-hero__jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.svc-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
    color: var(--ash);
    font-family: var(--display);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.svc-jump-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-glow);
    text-decoration: none;
}

/* At-a-Glance Dimensions Strip */
.svc-dimensions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    background: var(--ink-2);
}

.svc-dimensions__item {
    padding: 1.35rem 1.75rem;
    border-right: 1px solid var(--gold-line);
}

.svc-dimensions__item:last-child {
    border-right: none;
}

.svc-dimensions__label {
    display: block;
    font-family: var(--display);
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.svc-dimensions__value {
    font-family: var(--body);
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 400;
    color: var(--smoke);
    line-height: 1.25;
}

/* Editorial Hero Image Frame */
.svc-detail-hero__figure {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
    overflow: hidden;
    position: relative;
    aspect-ratio: 21 / 9;
}

.svc-detail-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92) contrast(1.03);
    transition: transform 1.2s var(--ease), filter 0.9s var(--ease);
}

.svc-detail-hero__figure:hover .svc-detail-hero__img {
    transform: scale(1.025);
    filter: brightness(1) contrast(1.01);
}

/* ── Section 2: Interactive Process Stages Explorer ───────── */
.svc-detail-section {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
    position: relative;
}

.svc-detail-section--tinted {
    background: var(--ink-2);
}

/* Separator sitting on a section background boundary: collapse its height so
   the hairline lands exactly on the colour edge and the diamond straddles it. */
.sep--flush {
    position: relative;
    z-index: 1;
    height: 0;
}

.svc-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.svc-section-head__lead {
    max-width: 680px;
}

.svc-section-head__lead .section-title {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.svc-section-head__lead .body-text {
    margin-bottom: 0;
}

/* Interactive View Mode Switcher */
.svc-mode-switch {
    display: inline-flex;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
    flex-shrink: 0;
}

.svc-mode-btn {
    padding: 0.65rem 1.15rem;
    border: 0;
    background: transparent;
    color: var(--ash);
    font-family: var(--display);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.svc-mode-btn + .svc-mode-btn {
    border-left: 1px solid var(--gold-line);
}

.svc-mode-btn[aria-pressed='true'] {
    background: var(--gold);
    color: var(--ink);
}

.svc-mode-btn:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: -3px;
}

/* Progress Bar + Prev/Next Controls */
.svc-phases-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gold-line);
}

.svc-phases-progress-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
}

.svc-phases-counter {
    font-family: var(--display);
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

.svc-phases-track {
    flex: 1;
    max-width: 320px;
    height: 1px;
    background: var(--gold-line);
    position: relative;
    overflow: hidden;
}

.svc-phases-track__fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 10%;
    background: var(--gold);
    transition: width 0.45s var(--ease);
}

.svc-phases-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.svc-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold-line);
    background: transparent;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.svc-arrow-btn:hover:not(:disabled) {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--ink);
}

.svc-arrow-btn:disabled {
    opacity: 0.32;
    cursor: not-allowed;
}

.svc-arrow-btn:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 2px;
}

/* Explorer Split: Numbered Stage Rail + Active Stage Detail Panel */
.svc-phases-explorer {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 0;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
}

.svc-phases-rail {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--gold-line);
    background: var(--ink);
}

.svc-phase-tab {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    width: 100%;
    padding: 1.05rem 1.35rem;
    border: 0;
    border-bottom: 1px solid var(--gold-line);
    background: transparent;
    color: var(--ash);
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.svc-phase-tab:last-child {
    border-bottom: none;
}

.svc-phase-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: background-color 0.3s var(--ease);
}

.svc-phase-tab:hover {
    background: var(--gold-glow);
    color: var(--smoke);
    padding-left: 1.65rem;
}

.svc-phase-tab[aria-selected='true'] {
    background: var(--gold-glow);
    color: var(--smoke);
    padding-left: 1.65rem;
}

.svc-phase-tab[aria-selected='true']::before {
    background: var(--gold);
}

.svc-phase-tab__num {
    font-family: var(--display);
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: var(--gold-3);
    flex-shrink: 0;
    transition: color 0.3s var(--ease);
}

.svc-phase-tab:hover .svc-phase-tab__num,
.svc-phase-tab[aria-selected='true'] .svc-phase-tab__num {
    color: var(--gold);
}

.svc-phase-tab__title {
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 400;
}

.svc-phase-tab:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: -2px;
}

/* Stage Panels Area */
.svc-phases-stage {
    padding: clamp(2rem, 4vw, 3.25rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Focus Mode hides inactive panels smoothly while keeping full SSR DOM for SEO & no-JS */
.js .svc-phases-wrapper:not(.is-grid-mode) .svc-phase-panel {
    display: none;
}

.js .svc-phases-wrapper:not(.is-grid-mode) .svc-phase-panel.is-active {
    display: grid;
    animation: svcPhaseFadeIn 0.38s var(--ease) both;
}

@keyframes svcPhaseFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svc-phase-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1.75rem, 3.5vw, 3rem);
    align-items: start;
}

.svc-phase-panel--text-only {
    grid-template-columns: minmax(0, 1fr);
}

.svc-phase-panel__eyebrow {
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.65rem;
}

.svc-phase-panel__title {
    font-family: var(--body);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--smoke);
    margin: 0 0 1rem;
}

.svc-phase-panel__desc {
    font-family: var(--body);
    font-size: 15.5px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--ash);
    margin: 0 0 1.35rem;
    max-width: 58ch;
}

.svc-phase-panel__points {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 58ch;
}

.svc-phase-panel__points li {
    position: relative;
    padding-left: 0.95rem;
    font-family: var(--body);
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--mist);
}

.svc-phase-panel__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.svc-phase-panel__deliv-label {
    font-family: var(--body);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.85rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--svc-rule);
}

.svc-phase-panel__deliv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.65rem 1.5rem;
}

.svc-phase-panel__deliv-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: var(--mist);
    padding: 0.35rem 0;
}

.svc-phase-panel__deliv-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.svc-phase-panel__visual {
    border: 1px solid var(--gold-line);
    background: var(--ink-3);
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    padding: 0;
    width: 100%;
    display: block;
}

.svc-phase-panel__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
}

.svc-phase-panel__visual:hover img {
    transform: scale(1.04);
}

.svc-phase-panel__visual-badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
    background: rgba(10, 10, 9, 0.8);
    border: 1px solid rgba(206, 173, 106, 0.55);
    color: #e0c486;
    font-family: var(--display);
    font-size: 0.56rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Grid Mode (or No-JS Fallback): Show every stage simultaneously in clean 2-col matrix */
.svc-phases-wrapper.is-grid-mode .svc-phases-toolbar,
.svc-phases-wrapper.is-grid-mode .svc-phases-rail,
:root:not(.js) .svc-phases-toolbar,
:root:not(.js) .svc-phases-rail,
:root:not(.js) .svc-mode-switch {
    display: none;
}

.svc-phases-wrapper.is-grid-mode .svc-phases-explorer,
:root:not(.js) .svc-phases-explorer {
    display: block;
    border: none;
    background: transparent;
}

.svc-phases-wrapper.is-grid-mode .svc-phases-stage,
:root:not(.js) .svc-phases-stage {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.svc-phases-wrapper.is-grid-mode .svc-phase-panel,
:root:not(.js) .svc-phase-panel {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
    gap: 1.5rem;
}

.svc-phases-wrapper.is-grid-mode .svc-phase-panel__title {
    font-size: 1.55rem;
    margin-bottom: 0.75rem;
}

.svc-phases-wrapper.is-grid-mode .svc-phase-panel__desc {
    margin-bottom: 1.25rem;
    font-size: 0.94rem;
}

.svc-phases-wrapper.is-grid-mode .svc-phase-panel__deliv-list {
    grid-template-columns: 1fr;
    gap: 0.3rem;
}

/* ── Section 3: Typical Deliverables Showcase ─────────────── */
.svc-typical-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--gold-line);
    border-left: 1px solid var(--gold-line);
}

.svc-typical-grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.svc-typical-grid--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-typical-card {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    background: var(--ink);
    padding: 2rem 1.75rem;
    position: relative;
    transition: background-color 0.35s var(--ease);
}

.svc-typical-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.45s var(--ease);
}

.svc-typical-card:hover {
    background: var(--ink-3);
}

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

.svc-typical-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.35rem;
}

.svc-typical-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-line);
    color: var(--gold);
    background: var(--ink-2);
}

.svc-typical-card__icon svg {
    width: 19px;
    height: 19px;
}

.svc-typical-card__num {
    font-family: var(--display);
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    color: var(--ash-2);
}

.svc-typical-card__media {
    margin: 0 0 1.25rem;
    border: 1px solid var(--gold-line);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ink-3);
    padding: 0;
    width: 100%;
    cursor: zoom-in;
}

.svc-typical-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(28%) brightness(0.88) contrast(1.03);
    transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
}

.svc-typical-card:hover .svc-typical-card__media img {
    filter: grayscale(0%) brightness(1) contrast(1.01);
    transform: scale(1.04);
}

.svc-typical-card__title {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--smoke);
    margin: 0 0 0.75rem;
}

.svc-typical-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ash);
    margin: 0;
}

/* ── Section 4: The Value We Create ───────────────────────── */
.svc-value-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.svc-value-layout--with-media {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
}

.svc-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    border-top: 1px solid var(--gold-line);
    border-left: 1px solid var(--gold-line);
}

.svc-value-card {
    padding: 2rem 1.5rem;
    border-right: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    background: var(--ink-2);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: background-color 0.35s var(--ease);
}

.svc-value-card:hover {
    background: var(--ink-3);
}

.svc-value-card__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-line);
    color: var(--gold);
}

.svc-value-card__icon svg {
    width: 18px;
    height: 18px;
}

.svc-value-card__title {
    font-family: var(--display);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--smoke);
    margin: 0;
}

.svc-value-card__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ash);
    margin: 0;
}

.svc-value-media {
    border: 1px solid var(--gold-line);
    overflow: hidden;
    background: var(--ink-3);
    min-height: 320px;
}

.svc-value-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.92) contrast(1.03);
    transition: transform 1s var(--ease), filter 0.8s var(--ease);
}

.svc-value-media:hover img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.01);
}

/* ── Section 5: Editorial Pull Quote ──────────────────────── */
.svc-quote-band {
    padding: clamp(3.5rem, 6vw, 5.5rem) 0;
    background: var(--ink-2);
    border-top: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
}

.svc-quote {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.svc-quote__mark {
    display: block;
    font-family: var(--serif);
    font-size: 4rem;
    line-height: 0.6;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 1.25rem;
}

.svc-quote__text {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.7vw, 2.35rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.45;
    color: var(--smoke);
    margin: 0;
}

.svc-quote__attribution {
    margin-top: 1.5rem;
    font-family: var(--display);
    font-size: 0.66rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── Section 6: Service FAQs ──────────────────────────────── */
.svc-faq-list {
    max-width: 900px;
    border-top: 1px solid var(--gold-line);
}

.svc-faq-item {
    border-bottom: 1px solid var(--gold-line);
}

.svc-faq-q {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.4rem 0;
    cursor: pointer;
    color: var(--smoke);
    transition: color 0.3s var(--ease);
}

.svc-faq-q::-webkit-details-marker {
    display: none;
}

.svc-faq-q:hover {
    color: var(--gold);
}

.svc-faq-q__num {
    font-family: var(--display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    flex-shrink: 0;
}

.svc-faq-q__text {
    flex: 1;
    font-family: var(--body);
    font-size: 17.5px;
    font-weight: 400;
    line-height: 1.45;
}

.svc-faq-q__icon {
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.35s var(--ease);
}

.svc-faq-item[open] .svc-faq-q__icon {
    transform: rotate(45deg);
}

.svc-faq-a {
    padding: 0 0 1.6rem 2.6rem;
    max-width: 70ch;
}

.svc-faq-a p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.85;
    color: var(--ash);
}

/* ── Section 7: The Design & Construction Journey ─────────── */
.svc-journey-track {
    display: grid;
    /* --journey-cols = ceil(total phases / 2), set in Blade, so phases split into two rows. */
    grid-template-columns: repeat(var(--journey-cols, 5), minmax(0, 1fr));
    border-top: 1px solid var(--gold-line);
    border-left: 1px solid var(--gold-line);
}

.svc-journey-step {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.35rem 1.15rem;
    border-right: 1px solid var(--gold-line);
    border-bottom: 1px solid var(--gold-line);
    background: var(--ink);
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.svc-journey-step:hover {
    background: var(--ink-3);
    text-decoration: none;
}

.svc-journey-step.is-current {
    background: var(--gold-glow);
    border-color: var(--gold);
}

.svc-journey-step.is-current::after,
.svc-journey-step.is-past::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: var(--gold);
}

/* Completed phases keep a faint rail so the sequence reads as progress up to the current step. */
.svc-journey-step.is-past::after {
    opacity: 0.35;
}


.svc-journey-step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.svc-journey-step__num {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--ash-2);
    transition: color 0.3s var(--ease);
}

.svc-journey-step:hover .svc-journey-step__num,
.svc-journey-step.is-current .svc-journey-step__num {
    color: var(--gold);
}

.svc-journey-step__icon {
    color: var(--ash);
    transition: color 0.3s var(--ease);
}

.svc-journey-step__icon svg {
    width: 18px;
    height: 18px;
}

.svc-journey-step:hover .svc-journey-step__icon,
.svc-journey-step.is-current .svc-journey-step__icon {
    color: var(--gold);
}

.svc-journey-step__title {
    font-family: var(--body);
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--mist);
    font-weight: 400;
}

.svc-journey-step.is-current .svc-journey-step__title {
    color: var(--smoke);
    font-weight: 500;
}

/* Prev / All / Next Navigation Bar */
.svc-pager {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: stretch;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--gold-line);
}

.svc-pager__slot {
    display: flex;
}

.svc-pager__slot:last-child {
    justify-content: flex-end;
}

/* Links stretch to the row height set by the All Services button and centre their text in it. */
.svc-pager__link {
    display: flex;
    align-items: center;
    align-self: stretch;
    max-width: 380px;
    padding: 0;
    text-decoration: none;
    color: var(--smoke);
}

.svc-pager__link--next {
    justify-content: flex-end;
    text-align: right;
}

.svc-pager__link:hover,
.svc-pager__link:focus-visible {
    text-decoration: none;
}

.svc-pager__text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.svc-pager__link--next .svc-pager__text {
    align-items: flex-end;
}

.svc-pager__eyebrow {
    font-family: var(--display);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ash-2);
    transition: color 0.3s var(--ease);
}

.svc-pager__num {
    font-variant-numeric: tabular-nums;
}

.svc-pager__title {
    position: relative;
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--mist);
    transition: color 0.3s var(--ease);
}

/* Hairline underline that draws in from the direction of travel on hover. */
.svc-pager__title::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.svc-pager__link--next .svc-pager__title::after {
    transform-origin: left;
}

.svc-pager__link:hover .svc-pager__eyebrow,
.svc-pager__link:focus-visible .svc-pager__eyebrow {
    color: var(--gold);
}

.svc-pager__link:hover .svc-pager__title,
.svc-pager__link:focus-visible .svc-pager__title {
    color: var(--gold);
}

.svc-pager__link:hover .svc-pager__title::after,
.svc-pager__link:focus-visible .svc-pager__title::after {
    transform: scaleX(1);
}

/* Hub link uses the standard gold .btn-primary; only placement lives here. */
.svc-pager__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    white-space: nowrap;
}

/* Compact size for the pager; keeps the standard gold styling. */
.btn-primary.svc-pager__all {
    padding: 0.7rem 1.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
}

.btn-primary.svc-pager__all:hover {
    letter-spacing: 0.28em;
}

/* ── Closing CTA Band ─────────────────────────────────────── */
.svc-cta {
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.svc-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.svc-cta__copy {
    max-width: 600px;
}

.svc-cta__copy .section-title {
    margin-top: 0.85rem;
    margin-bottom: 1rem;
}

.svc-cta__copy .body-text {
    margin-bottom: 0;
}

.svc-cta__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ── Minimalist Image Lightbox ────────────────────────────── */
.svc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 9, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.svc-lightbox[hidden] {
    display: none;
}

.svc-lightbox__dialog {
    position: relative;
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.svc-lightbox__img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border: 1px solid var(--gold-line);
    background: var(--ink-2);
}

.svc-lightbox__caption {
    font-family: var(--display);
    font-size: 0.65rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #e0c486;
    text-align: center;
    margin: 0;
}

.svc-lightbox__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(206, 173, 106, 0.6);
    background: rgba(10, 10, 9, 0.8);
    color: #e0c486;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.svc-lightbox__close:hover {
    background: #ceaf6e;
    color: #0a0a09;
}

/* ── Responsive Breakpoints ───────────────────────────────── */
@media (max-width: 1199px) {
    .svc-typical-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .svc-phases-explorer {
        grid-template-columns: 260px minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .svc-hero__grid,
    .svc-detail-hero__top,
    .svc-value-layout--with-media {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .svc-mobile-rail {
        display: block;
    }

    .svc-mobile-tabs.has-more:not(.has-less) {
        -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent);
        mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent);
    }

    .svc-mobile-tabs.has-less:not(.has-more) {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 72px);
        mask-image: linear-gradient(to right, transparent, #000 72px);
    }

    .svc-mobile-tabs.has-less.has-more {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
        mask-image: linear-gradient(to right, transparent, #000 72px, #000 calc(100% - 72px), transparent);
    }

    .svc-panel {
        scroll-margin-top: calc(var(--svc-nav-h) + 64px);
    }

    .svc-overview-layout {
        grid-template-columns: 1fr;
    }

    .svc-overview-aside {
        display: none;
    }

    .svc-dimensions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .svc-dimensions__item:nth-child(2) {
        border-right: none;
    }

    .svc-dimensions__item:nth-child(1),
    .svc-dimensions__item:nth-child(2) {
        border-bottom: 1px solid var(--gold-line);
    }

    .svc-phases-explorer {
        grid-template-columns: 1fr;
    }

    .svc-phases-rail {
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--gold-line);
        scrollbar-width: none;
    }

    .svc-phases-rail::-webkit-scrollbar {
        display: none;
    }

    .svc-phase-tab {
        width: auto;
        flex-shrink: 0;
        border-bottom: none;
        border-right: 1px solid var(--gold-line);
        padding: 0.9rem 1.15rem;
        white-space: nowrap;
    }

    .svc-phase-tab:hover,
    .svc-phase-tab[aria-selected='true'] {
        padding-left: 1.15rem;
    }

    .svc-phase-tab::before {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: auto;
        height: 2px;
    }

    .svc-phase-panel {
        grid-template-columns: 1fr;
    }

    .svc-phases-wrapper.is-grid-mode .svc-phases-stage,
    :root:not(.js) .svc-phases-stage {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .svc-panel__split,
    .svc-deliverables-matrix,
    .svc-typical-grid,
    .svc-typical-grid--cols-2,
    .svc-typical-grid--cols-3 {
        grid-template-columns: 1fr;
    }

    .svc-deliverables-matrix__item,
    .svc-deliverables-matrix__item:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-left: 0;
    }

    .svc-detail-hero__figure {
        aspect-ratio: 16 / 10;
    }

    .svc-pager {
        grid-template-columns: 1fr;
    }

    .svc-pager__link {
        max-width: none;
    }

    /* Stacked: prev, next, then the hub link last. */
    .svc-pager__all {
        order: 3;
        justify-self: center;
    }

    .svc-faq-a {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .btn-primary.svc-panel__cta {
        padding: 0.85rem 1.25rem;
        font-size: 0.68rem;
        letter-spacing: 0.16em;
    }

    .btn-primary.svc-panel__cta:hover {
        letter-spacing: 0.19em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .svc-phase-panel,
    .svc-phases-track__fill,
    .svc-panel__media img,
    .btn-primary.svc-panel__cta svg,
    .svc-detail-hero__img {
        animation: none !important;
        transition: none !important;
    }
}

/* When any title in a grid is long enough to wrap (>= 25 chars, flagged in Blade),
   reserve two lines on every title so descriptions start on a shared baseline. */
.svc-card-grid--long-titles .svc-typical-card__title,
.svc-card-grid--long-titles .svc-value-card__title {
    min-height: calc(2 * 1.35em);
}

/* Single-column stacks have no row to align with — drop the reserved title height. */
@media (max-width: 767px) {
    .svc-card-grid--long-titles .svc-typical-card__title {
        min-height: 0;
    }
}

@media (max-width: 575px) {
    .svc-card-grid--long-titles .svc-value-card__title {
        min-height: 0;
    }
}

/* Match the /faq page question sizing on small screens. */
@media (max-width: 639.98px) {
    .svc-faq-q__text {
        font-size: 16px;
    }
}

/* Below desktop the half-split columns get too narrow — fall back to auto-fit wrapping. */
@media (max-width: 991px) {
    .svc-journey-track {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* ── Journey: interlocking arrow steps (desktop) ─────────────
   Each step is pointed on the right and notched on the left so the
   phases read as one directional ribbon. The cell background acts as
   the hairline; ::before is the inset fill clipped to the same shape. */
@media (min-width: 992px) {
    .svc-journey-track {
        --arrow: 16px;
        --chev-gap: 6px;
        row-gap: var(--chev-gap);
        border: 0;
    }

    .svc-journey-step {
        --point: var(--arrow);
        --notch: var(--arrow);
        margin-right: calc(var(--chev-gap) - var(--arrow));
        padding-left: calc(1.15rem + var(--notch));
        padding-right: calc(1.15rem + var(--point));
        border: 0;
        background: var(--gold-line);
        clip-path: polygon(0 0, calc(100% - var(--point)) 0, 100% 50%, calc(100% - var(--point)) 100%, 0 100%, var(--notch) 50%);
    }

    .svc-journey-step::before {
        content: '';
        position: absolute;
        inset: 1px;
        z-index: 0;
        background: var(--ink);
        clip-path: polygon(0 0, calc(100% - var(--point)) 0, 100% 50%, calc(100% - var(--point)) 100%, 0 100%, var(--notch) 50%);
        transition: background-color 0.3s var(--ease);
    }

    .svc-journey-step > * {
        position: relative;
        z-index: 1;
    }

    .svc-journey-step::after {
        z-index: 2;
    }

    .svc-journey-step.is-row-start {
        --notch: 0px;
    }

    .svc-journey-step.is-row-end,
    .svc-journey-step.is-last {
        margin-right: 0;
    }

    .svc-journey-step:hover {
        background: var(--gold-line);
    }

    .svc-journey-step:hover::before {
        background: var(--ink-3);
    }

    .svc-journey-step.is-current {
        background: var(--gold);
    }

    .svc-journey-step.is-current::before {
        background: linear-gradient(var(--gold-glow), var(--gold-glow)), var(--ink);
    }

    /* Final phase: flat edge that "slices" into progressively thinner, fading strips
       (card | gap | 6px strip | gap | 3px strip), reading as the end.
       Measured from the right edge: 0-3 strip, 3-6 gap, 6-12 strip, 12-16 gap,
       16+ card. Fill layers are inset 1px so each strip keeps the hairline. */
    .svc-journey-step.is-last {
        --point: 0px;
        --end-line: var(--gold-line);
        --end-fill: var(--ink);
        padding-right: calc(1.15rem + 16px);
        background:
            linear-gradient(var(--end-fill), var(--end-fill)) right 7px center / 4px calc(100% - 2px) no-repeat,
            linear-gradient(var(--end-fill), var(--end-fill)) right 1px center / 1px calc(100% - 2px) no-repeat,
            linear-gradient(to left, var(--end-line) 0 3px, transparent 3px 6px, var(--end-line) 6px 12px, transparent 12px 16px, var(--end-line) 16px);
        /* Fade the strips out toward the edge; the card body (16px+) stays opaque. */
        -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.5) 9px, #000 16px);
        mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.12) 0, rgba(0, 0, 0, 0.5) 9px, #000 16px);
    }

    .svc-journey-step.is-last::before {
        right: 17px;
    }

    .svc-journey-step.is-last:hover {
        --end-fill: var(--ink-3);
    }

    .svc-journey-step.is-last.is-current {
        --end-line: var(--gold);
    }
}
