/**
 * sections.css
 * All content sections except master plan, gallery, contact, header, hero, footer
 */

/* ══════════════════════════════════════════════════════
   OPPORTUNITY SECTION
═══════════════════════════════════════════════════════ */

.opportunity {
    padding-block: var(--space-30);
    background: var(--clr-white);
}

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

/* Image side */
.opportunity__image-wrap {
    position: relative;
}

.opportunity__image {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
}

.opportunity__image-accent {
    position: absolute;
    bottom: -28px;
    right: -28px;
    width: 160px;
    height: 160px;
    border: 1px solid var(--clr-gold);
    pointer-events: none;
    z-index: -1;
}

.opportunity__stat-float {
    position: absolute;
    top: 32px;
    left: -32px;
    background: var(--clr-navy);
    padding: 24px 28px;
    min-width: 170px;
    z-index: 1;
}

.opportunity__stat-num {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    color: var(--clr-gold);
    line-height: 1;
    display: block;
}

.opportunity__stat-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: var(--space-1);
    display: block;
}

/* Content side */
.opportunity__heading {
    font-size: clamp(34px, 3.5vw, 52px);
    line-height: var(--lh-snug);
    color: var(--clr-navy);
    margin-bottom: var(--space-6);
}

.opportunity__heading em {
    font-style: italic;
    color: var(--clr-gold);
}

.opportunity__body {
    font-size: var(--text-base);
    line-height: var(--lh-loose);
    color: var(--clr-text-mid);
    margin-bottom: var(--space-5);
}

.opportunity__checklist {
    list-style: none;
    margin-block: var(--space-8) var(--space-10);
}

.opportunity__checklist li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: 14px 0;
    font-size: var(--text-sm);
    color: var(--clr-text-dark);
    border-bottom: 1px solid var(--clr-border);
    line-height: var(--lh-normal);
}

.opportunity__checklist li:first-child {
    border-top: 1px solid var(--clr-border);
}

.opportunity__check-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--clr-gold);
}

/* ══════════════════════════════════════════════════════
   STATISTICS SECTION
═══════════════════════════════════════════════════════ */

.stats-section {
    padding-block: var(--space-24);
    background: var(--clr-navy-dark);
    position: relative;
    overflow: hidden;
}

/* Dot-grid texture — matches the team section */
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(200, 169, 106, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.stats-section__header {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
}

.stats-section__heading {
    font-size: clamp(32px, 3vw, 48px);
    color: var(--clr-white);
    margin-top: var(--space-3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

.stats-grid--three {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.035);
    pointer-events: none;
}

/* Individual stat card */
.stat-card {
    padding: 52px 40px;
    text-align: center;
    position: relative;
    cursor: default;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--duration-base) var(--ease-out);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    transition: width 0.5s var(--ease-out);
}

.stat-card:hover {
    background: rgba(200, 169, 106, 0.05);
}

.stat-card:hover::before {
    width: 70%;
}

.stat-card__number {
    font-family: var(--font-display);
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 500;
    color: var(--clr-gold);
    line-height: 1;
    margin-bottom: var(--space-2);
    display: block;
}

.stat-card__suffix {
    font-family: var(--font-display);
    font-size: 0.6em;
    font-weight: 300;
    color: var(--clr-gold-light);
}

.stat-card__label {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-3);
    display: block;
}

.stat-card__sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: var(--space-1);
    display: block;
}

/* ══════════════════════════════════════════════════════
   LIFESTYLE & LOCATION SECTION
═══════════════════════════════════════════════════════ */

.lifestyle {
    padding-block: 0;
    background: var(--clr-warm);
}

.lifestyle__header {
    padding-top: var(--space-30);
    text-align: center;
    margin-bottom: var(--space-16);
}

.lifestyle__heading {
    font-size: clamp(34px, 3.5vw, 54px);
    color: var(--clr-navy);
    margin-top: var(--space-3);
}

.lifestyle__lead {
    font-size: var(--text-base);
    color: var(--clr-text-mid);
    line-height: var(--lh-loose);
    max-width: 580px;
    margin: var(--space-5) auto 0;
}

.lifestyle__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 620px;
}

/* Map / image block */
.lifestyle__map-wrap {
    position: relative;
    overflow: hidden;
}

.lifestyle__map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.lifestyle__map-wrap:hover .lifestyle__map-img {
    transform: scale(1.03);
}

.lifestyle__map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, 
        rgba(7, 18, 42, 0.92) 0%,
            rgba(7, 18, 42, 0.87) 15%,
            rgba(7, 18, 42, 0.82) 38%,
            rgba(7, 18, 42, 0.65) 62%,
            rgba(7, 18, 42, 0.42) 78%,
            rgba(7, 18, 42, 0.32) 100%)
}

.lifestyle__map-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--ls-label);
    color: var(--clr-gold-pale);
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--space-1);
}

.lifestyle__map-address {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--clr-gold);
}

/* Distance cards list */
.distances {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-30) var(--container-gutter) var(--space-30) var(--space-10);
}

.distance-card {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: 20px 24px;
    background: var(--clr-white);
    border-left: 3px solid transparent;
    box-shadow: var(--shadow-xs);
    transition:
        border-color var(--duration-base) var(--ease-out),
        transform    var(--duration-base) var(--ease-out),
        box-shadow   var(--duration-base) var(--ease-out);
}

.distance-card:hover {
    border-left-color: var(--clr-gold);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.distance-card__icon {
    width: 44px;
    height: 44px;
    background: var(--clr-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--duration-base) var(--ease-out);
    color: var(--clr-gold);
}

.distance-card:hover .distance-card__icon {
    background: var(--clr-gold-pale);
}

.distance-card__info { flex: 1; }

.distance-card__name {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--clr-navy);
    margin-bottom: 2px;
}

.distance-card__time {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--clr-gold);
    letter-spacing: 0.04em;
}

.distance-card__detail {
    font-size: 11px;
    color: var(--clr-text-light);
    margin-top: 3px;
}

/* ══════════════════════════════════════════════════════
   STAGES & PRICING
═══════════════════════════════════════════════════════ */

.stages {
    padding-block: var(--space-30);
    background: var(--clr-warm);
}

.stages__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.stages__heading {
    font-size: clamp(34px, 3.5vw, 52px);
    color: var(--clr-navy);
    margin-top: var(--space-3);
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

/* Stage card */
.stage-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform  var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.stage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clr-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.stage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

.stage-card__bg-num {
    font-family: var(--font-display);
    font-size: 100px;
    font-weight: 300;
    color: var(--clr-border);
    line-height: 1;
    position: absolute;
    top: 16px;
    right: 20px;
    transition: color var(--duration-base) var(--ease-out);
    pointer-events: none;
    user-select: none;
}

.stage-card:hover .stage-card__bg-num {
    color: rgba(200, 169, 106, 0.10);
}

.stage-card__eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--space-3);
}

.stage-card__name {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    color: var(--clr-navy);
    line-height: var(--lh-snug);
    margin-bottom: var(--space-6);
}

.stage-card__price {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 500;
    color: var(--clr-gold);
    line-height: 1;
}

.stage-card__price-label {
    font-size: 11px;
    color: var(--clr-text-light);
    margin-bottom: var(--space-6);
    margin-top: var(--space-1);
}

.stage-card__details {
    list-style: none;
    border-top: 1px solid var(--clr-border);
    padding-top: var(--space-5);
    flex: 1;
}

.stage-card__details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--clr-border);
    color: var(--clr-text-mid);
}

.stage-card__details li:last-child { border-bottom: none; }

.stage-card__details strong {
    color: var(--clr-text-dark);
    font-weight: 500;
}

.stage-card__status--available { color: var(--clr-available); font-weight: 600; }
.stage-card__status--sold      { color: var(--clr-sold);      font-weight: 600; }
.stage-card__status--reserved  { color: var(--clr-reserved);  font-weight: 600; }

.stage-card__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--clr-gold);
    padding-bottom: 2px;
    transition: color var(--duration-fast) var(--ease-out);
    align-self: flex-start;
}

.stage-card__cta:hover { color: var(--clr-gold); }

/* Summary card — navy background */
.stage-card--summary {
    background: var(--clr-navy);
    border-color: var(--clr-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
}

.stage-card--summary .stage-card__big-num {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 300;
    color: var(--clr-gold);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.stage-card--summary .stage-card__big-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: var(--space-6);
}

.stage-card--summary p {
    font-size: var(--text-sm);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.5);
    max-width: 220px;
    margin-bottom: var(--space-8);
}

/* ══════════════════════════════════════════════════════
   BUYER PROFILES
═══════════════════════════════════════════════════════ */

.buyers {
    padding-block: var(--space-30);
    background: var(--clr-white);
}

.buyers__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.buyers__heading {
    font-size: clamp(34px, 3.5vw, 52px);
    color: var(--clr-navy);
    margin-top: var(--space-3);
}

.buyers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

/* Buyer card with colour-flood hover */
.buyer-card {
    background: var(--clr-warm);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: transform var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out);
}

.buyer-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--clr-navy);
    transform: translateY(102%);
    transition: transform 0.55s var(--ease-in-out);
    z-index: 0;
}

.buyer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.buyer-card:hover::after {
    transform: translateY(0);
}

/* All children sit above the flood layer */
.buyer-card > * { position: relative; z-index: 1; }

.buyer-card__icon {
    width: 64px;
    height: 64px;
    background: var(--clr-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-7);
    color: var(--clr-gold);
    transition: background var(--duration-slow) var(--ease-out);
}

.buyer-card:hover .buyer-card__icon {
    background: rgba(200, 169, 106, 0.15);
}

.buyer-card__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    color: var(--clr-navy);
    margin-bottom: var(--space-4);
    transition: color var(--duration-base) var(--ease-out);
}

.buyer-card:hover .buyer-card__title { color: var(--clr-white); }

.buyer-card__desc {
    font-size: var(--text-sm);
    line-height: var(--lh-relaxed);
    color: var(--clr-text-mid);
    margin-bottom: var(--space-6);
    transition: color var(--duration-base) var(--ease-out);
}

.buyer-card:hover .buyer-card__desc { color: rgba(255, 255, 255, 0.65); }

.buyer-card__benefits {
    list-style: none;
}

.buyer-card__benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    padding: 8px 0;
    border-bottom: 1px solid var(--clr-border);
    color: var(--clr-text-dark);
    transition:
        color        var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out);
}

.buyer-card:hover .buyer-card__benefits li {
    color: rgba(255, 255, 255, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.buyer-card__benefits li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--clr-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════
   BUILDER SECTION
═══════════════════════════════════════════════════════ */

.builder {
    padding-block: 0;
    background: var(--clr-navy);
    position: relative;
    overflow: hidden;
}

/* Decorative rings */
.builder::before,
.builder::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.builder::before {
    width: 700px;
    height: 700px;
    top: -280px;
    right: -200px;
    border: 1px solid rgba(200, 169, 106, 0.08);
}

.builder::after {
    width: 460px;
    height: 460px;
    top: -150px;
    right: -80px;
    border: 1px solid rgba(200, 169, 106, 0.05);
}

.builder__grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
    min-height: 720px;
}

.builder__content {
    padding: var(--space-30) var(--space-10) var(--space-30) var(--container-gutter);
}

.builder__heading {
    font-size: clamp(34px, 3.5vw, 52px);
    color: var(--clr-white);
    line-height: var(--lh-snug);
    margin-bottom: var(--space-3);
}

.builder__heading em {
    font-style: italic;
    color: var(--clr-gold);
}

.builder__body {
    font-size: var(--text-base);
    line-height: var(--lh-loose);
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: var(--space-8);
}

.builder__logo-box {
    display: inline-flex;
    /* align-items: center; */
    margin-bottom: var(--space-8);
}

.builder__logo-box img {
    height: 100px;
    width: auto;
}

.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.inclusion-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: background var(--duration-fast) var(--ease-out),
                border-color var(--duration-fast) var(--ease-out);
}

.inclusion-item:hover {
    background: rgba(200, 169, 106, 0.07);
    border-color: rgba(200, 169, 106, 0.2);
}

.inclusion-item svg {
    color: var(--clr-gold);
    flex-shrink: 0;
}

.inclusion-item span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.72);
}

/* Builder image */
.builder__image-wrap {
    position: relative;
}

.builder__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.builder__image-badge {
    position: absolute;
    bottom: 40px;
    left: -20px;
    background: var(--clr-gold);
    padding: 22px 28px;
    min-width: 150px;
}

.builder__image-badge-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 500;
    color: var(--clr-navy);
    line-height: 1;
}

.builder__image-badge-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: rgba(11, 29, 58, 0.65);
    margin-top: var(--space-1);
}

/* ══════════════════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════════════════ */

.video-section {
    padding-block: var(--space-30);
    background: var(--clr-warm);
}

.video-section__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.video-section__heading {
    font-size: clamp(34px, 3.5vw, 52px);
    color: var(--clr-navy);
    margin-top: var(--space-3);
}

.video-wrap {
    width: 100%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background: var(--clr-navy-dark);
    box-shadow: var(--shadow-xl);
}

.video-wrap video {
    width: 100%;
    height: auto;
    display: block;
}

.video-wrap__poster {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.video-wrap__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrap__poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 29, 58, 0.38);
}

.video-wrap__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--clr-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: var(--clr-navy);
    transition:
        background   var(--duration-base) var(--ease-out),
        transform    var(--duration-base) var(--ease-spring),
        box-shadow   var(--duration-base) var(--ease-out);
    animation: floatPulse 3.5s var(--ease-out) infinite;
}

.video-wrap__play:hover {
    background: var(--clr-gold-light);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 12px rgba(200, 169, 106, 0.18);
}

@keyframes floatPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 169, 106, 0.3); }
    50%       { box-shadow: 0 0 0 16px rgba(200, 169, 106, 0); }
}

.video-wrap__play svg {
    margin-left: 5px;
}

.video-wrap__caption {
    text-align: center;
    margin-top: var(--space-5);
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--clr-text-light);
}

/* Video note box */
.video-note {
    max-width: 980px;
    margin: var(--space-6) auto 0;
    padding: 20px 28px;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-left: 3px solid var(--clr-gold);
    font-size: var(--text-sm);
    color: var(--clr-text-mid);
    line-height: var(--lh-relaxed);
}

.video-note strong { color: var(--clr-navy); }
.video-note code   { font-family: monospace; background: var(--clr-warm); padding: 1px 6px; font-size: 12px; }

/* ══════════════════════════════════════════════════════
   TEAM & PROCESS
═══════════════════════════════════════════════════════ */

.team {
    padding-block: var(--space-30);
    background: var(--clr-navy-dark);
    position: relative;
    overflow: hidden;
}

/* Subtle dot-grid background texture */
.team::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(200, 169, 106, 0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.team .container {
    position: relative;
}

.team__header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.team__heading {
    font-size: clamp(34px, 3.5vw, 52px);
    color: var(--clr-white);
    margin-top: var(--space-3);
}

.team__heading em {
    color: var(--clr-gold-light);
}

.team__lead {
    font-size: var(--text-sm);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.50);
    max-width: 520px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: var(--space-16);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    max-width: 860px;
    margin-inline: auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 169, 106, 0.18);
    padding: 36px 32px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform       var(--duration-base) var(--ease-out),
        box-shadow      var(--duration-base) var(--ease-out),
        border-color    var(--duration-base) var(--ease-out),
        background      var(--duration-base) var(--ease-out);
}

/* Left gold accent bar */
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--clr-gold), var(--clr-gold-light));
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.team-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(200, 169, 106, 0.40);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.30);
}

.team-card:hover::before {
    opacity: 1;
}

/* Logo area */
.team-card__logo-wrap {
    height: 52px;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-6);
}

.team-card__logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

/* Text wordmark for RSS Lawyers */
.team-card__wordmark {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--clr-gold-light);
    letter-spacing: -0.02em;
}

.team-card__role {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: var(--clr-gold);
    margin-bottom: var(--space-2);
    display: block;
}

.team-card__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--clr-white);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.team-card__desc {
    font-size: var(--text-sm);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.55);
    flex: 1;
    margin-bottom: var(--space-6);
}

.team-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
    margin-top: auto;
}

.team-card__link:hover {
    color: var(--clr-gold);
}

/* ══════════════════════════════════════════════════════
   PROCESS STEPS — VERTICAL TIMELINE
═══════════════════════════════════════════════════════ */

.process {
    background: var(--clr-warm);
}

.process__header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-16);
}

.process__heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    color: var(--clr-navy);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-5);
}

.process__heading em {
    font-style: italic;
    color: var(--clr-gold);
}

.process__lead {
    font-size: var(--text-sm);
    color: var(--clr-text-mid);
    line-height: var(--lh-relaxed);
    max-width: 480px;
    margin-inline: auto;
}

/* ── Track: holds all steps + the background line ─── */

.process__track {
    position: relative;
    max-width: 780px;
    margin-inline: auto;
}

/* The single continuous gold line running from step 1 to step 5 */
.process__track::before {
    content: '';
    position: absolute;
    top: 27px;
    bottom: 27px;
    left: 27px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--clr-gold)              0%,
        rgba(200, 169, 106, 0.55)   40%,
        rgba(200, 169, 106, 0.25)   80%,
        rgba(200, 169, 106, 0.08)  100%
    );
    pointer-events: none;
}

/* ── Individual step ─────────────────────────────────── */

.process__step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 40px;
    padding-bottom: 36px;
    align-items: flex-start;
}

.process__step:last-child {
    padding-bottom: 0;
}

/* ── Left column: circle + connector ─────────────────── */

.process__timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.process__circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-gold);
    background: var(--clr-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition:
        background   var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        box-shadow   var(--duration-base) var(--ease-out);
}

.process__circle span {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--clr-navy);
    transition: color var(--duration-base) var(--ease-out);
}

.process__connector {
    flex: 1;
    width: 1px;
    background: transparent;
    min-height: 24px;
}

.process__step--final .process__timeline {
    height: auto;
}

/* ── Circle hover / state ────────────────────────────── */

.process__step:hover .process__circle {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
    box-shadow: 0 0 0 7px rgba(200, 169, 106, 0.12);
}

.process__step:hover .process__circle span {
    color: var(--clr-navy);
}

.process__step--final .process__circle {
    background: var(--clr-navy);
    border-color: var(--clr-navy);
}

.process__step--final .process__circle span {
    color: var(--clr-gold);
}

.process__step--final:hover .process__circle {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
}

.process__step--final:hover .process__circle span {
    color: var(--clr-navy);
}

/* ── Right column: content card ─────────────────────── */

.process__card {
    background: var(--clr-white);
    border: 1px solid rgba(11, 29, 58, 0.07);
    border-left: 3px solid var(--clr-gold);
    padding: 28px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(11, 29, 58, 0.05);
    transition:
        box-shadow var(--duration-base) var(--ease-out),
        transform  var(--duration-base) var(--ease-out);
}

.process__card::after {
    content: attr(data-num);
    position: absolute;
    top: -16px;
    right: -8px;
    font-family: var(--font-display);
    font-size: 120px;
    line-height: 1;
    color: var(--clr-navy);
    opacity: 0.03;
    pointer-events: none;
    user-select: none;
    transition: opacity var(--duration-base) var(--ease-out);
}

.process__step:hover .process__card {
    box-shadow: 0 8px 40px rgba(11, 29, 58, 0.10);
    transform: translateX(5px);
}

.process__step:hover .process__card::after {
    opacity: 0.055;
}

.process__step--final .process__card {
    background: var(--clr-navy);
    border-left-color: var(--clr-gold);
}

.process__step--final .process__card::after {
    color: var(--clr-gold);
    opacity: 0.10;
}

.process__title {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.4vw, 21px);
    font-weight: 600;
    color: var(--clr-navy);
    margin-bottom: var(--space-3);
    line-height: 1.25;
}

.process__step--final .process__title {
    color: var(--clr-white);
}

.process__desc {
    font-size: var(--text-sm);
    color: var(--clr-text-mid);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-5);
}

.process__step--final .process__desc {
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 0;
}

.process__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: var(--ls-caps);
    text-transform: uppercase;
    color: var(--clr-navy);
    text-decoration: none;
    transition: gap var(--duration-fast) var(--ease-out),
                color var(--duration-fast) var(--ease-out);
}

.process__cta:hover {
    gap: 10px;
    color: var(--clr-gold);
}

.process__tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--clr-text-mid);
    padding: 5px 14px;
    border: 1px solid rgba(11, 29, 58, 0.15);
    border-radius: 100px;
}

.process__tag--gold {
    color: var(--clr-gold);
    border-color: rgba(200, 169, 106, 0.35);
    background: rgba(200, 169, 106, 0.08);
}

/* ── Scroll animation states (driven by howworks.js) ─── */

/* hw-init: instant hide, no transition yet — prevents visible flash on load */
.process__track.hw-init .process__step {
    opacity: 0;
    transform: translateY(30px);
}

/* hw-ready added after 2 frames — now transitions are safe to enable */
.process__track.hw-init.hw-ready .process__step {
    transition:
        opacity   0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Fully in viewport */
.process__track.hw-init .process__step.hw-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrolled past the top — dimmed but still readable */
.process__track.hw-init .process__step.hw-past {
    opacity: 0.30;
    transform: translateY(-8px);
}

/* ══════════════════════════════════════════════════════
   PRE-FOOTER CTA SECTION
═══════════════════════════════════════════════════════ */

.pre-footer-cta {
    position: relative;
    z-index: 1;
    padding-block: 160px;
    overflow: hidden;
}

.pre-footer-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pre-footer-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pre-footer-cta__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7, 18, 42, 0.90) 0%,
        rgba(11, 29, 58, 0.68) 60%,
        rgba(11, 29, 58, 0.35) 100%
    );
}

.pre-footer-cta .container { position: relative; z-index: 1; }

.pre-footer-cta__content { max-width: 680px; }

.pre-footer-cta__heading {
    font-size: clamp(48px, 5.5vw, 78px);
    color: var(--clr-white);
    line-height: var(--lh-tight);
    margin-bottom: var(--space-5);
}

.pre-footer-cta__heading em {
    font-style: italic;
    color: var(--clr-gold);
}

.pre-footer-cta__text {
    font-size: var(--text-md);
    line-height: var(--lh-relaxed);
    color: rgba(255, 255, 255, 0.68);
    max-width: 520px;
    margin-bottom: var(--space-10);
}

.pre-footer-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}
