.home-depth-page {
    --box-shell-top: rgba(255,255,255,0.16);
    --box-shell-bottom: rgba(255,255,255,0.08);
    --box-shell: linear-gradient(180deg, var(--box-shell-top) 0%, var(--box-shell-bottom) 100%);
    --box-inner: #2c2c2c;
    --box-gap: 2px;
    --box-glow-rgb: 255,255,255;
    --box-glow-alpha-idle: 0;
    --box-glow-alpha-max: 0.26;
    --box-glow-radius: 240;
    --box-glow-edge-padding: 10;
    margin-top: 0;
    padding: 104px 20px 84px;
    color: rgba(255,255,255,0.94);
}

.depth-frame,
.depth-proof-item,
.depth-process-card,
.depth-testimonial-card,
.depth-inline-strip,
.depth-strip-copy,
.depth-cta-copy {
    --box-glow-x: 50%;
    --box-glow-y: 50%;
    --box-glow-alpha: var(--box-glow-alpha-idle);
    --box-glow-size: 220px;
    --box-glow-edge-padding: 10px;
    isolation: isolate;
}

.depth-frame::after,
.depth-proof-item::after,
.depth-process-card::after,
.depth-testimonial-card::after,
.depth-inline-strip::after,
.depth-strip-copy::after,
.depth-cta-copy::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle var(--box-glow-size) at var(--box-glow-x) var(--box-glow-y), rgba(var(--box-glow-rgb), var(--box-glow-alpha)) 0%, rgba(var(--box-glow-rgb), 0) 72%);
    width: auto;

    overflow: hidden;
}
.depth-hero {
    width: 100vw;
    margin: 0 calc(50% - 50vw) clamp(30px, 6vw, 78px);
}

.depth-hero-banner {
    height: clamp(260px, 56vw, 620px);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
}

.depth-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    /* allow the overlay to shrink/grow but cap it relative to the viewport */
    width: 100%;
    max-width: min(1120px, 100vw);
    box-sizing: border-box;
    z-index: 3;
    margin: 0;
    text-align: left;
    /* expose a CSS variable for the inline (horizontal) padding so children can size against it */
    --overlay-inline-pad: clamp(14px, 3.2vw, 0px);
    padding: clamp(12px, 2vw, 22px) var(--overlay-inline-pad);
    isolation: isolate;
}

.depth-hero-overlay::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 105%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    border-radius: 0;
    border: none;
    background: linear-gradient(180deg, rgba(10,10,10,0.56) 0%, rgba(9,9,9,0.5) 52%, rgba(8,8,8,0.44) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    box-shadow: 0 6px 16px rgba(0,0,0,0.16);
}

.depth-title {
    margin: 0 0 0px;
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(36px, 7.3vw, 78px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.015em;
    color: rgba(255,255,255,0.98);
    white-space: nowrap;
    overflow: visible;
    text-overflow:initial;
    /* text-overflow: clip; */
    display: block;
    box-sizing: border-box;
    /* limit title to overlay content box (use full content width; do not subtract padding) */
    max-width: 100vw;
}

    

.depth-lead {
    margin: 0;
    width: min(960px, 100%);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(15px, 2.2vw, 19px);
    line-height: 1.62;
    color: rgba(255,255,255,0.78);
}

.depth-row {
    width: min(1120px, 100%);
    margin: 0 auto clamp(38px, 7vw, 92px);
    display: grid;
    grid-template-columns: minmax(240px, 400px) 1fr;
    align-items: center;
    gap: clamp(18px, 3.2vw, 42px);
}

.depth-row-reverse {
    grid-template-columns: 1fr minmax(240px, 400px);
}

.depth-row .depth-frame {
    box-shadow: 0 12px 28px rgba(0,0,0,0.34);
}

.depth-proof {
    width: min(1120px, 100%);
    margin: 0 auto clamp(40px, 7vw, 86px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 18px);
}

.depth-proof-item {
    margin: 0;
    padding: clamp(14px, 2vw, 20px);
    border: 0;
    background: var(--box-shell);
    box-shadow: 0 10px 20px rgba(0,0,0,0.24);
}

.depth-proof-item,
.depth-process-card,
.depth-testimonial-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
}

.depth-proof-item::before,
.depth-process-card::before,
.depth-testimonial-card::before {
    content: "";
    position: absolute;
    inset: var(--box-gap);
    pointer-events: none;
    background: var(--box-inner);
    z-index: 1;
}

.depth-proof-item > *,
.depth-process-card > *,
.depth-testimonial-card > * {
    position: relative;
    z-index: 2;
}

.depth-proof-value {
    margin: 0 0 6px;
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(24px, 4vw, 40px);
    line-height: 0.95;
    color: rgba(var(--accent-rgb), 1);
}

.depth-proof-label {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.45;
    color: rgba(255,255,255,0.72);
}

.depth-strip-section {
    position: relative;
    z-index: 6;
    overflow: visible;
    width: 100vw;
    margin: clamp(64px, 8vw, 124px) calc(50% - 50vw) clamp(78px, 10vw, 140px);
    transform: none;
    will-change: auto;
}

.depth-inline-strip {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    height: auto;
    padding: 1px;
    display: block;
    background: var(--box-shell);
    border: 0;
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(0,0,0,0.30);
    overflow: hidden;
}

.depth-inline-strip::before {
    content: "";
    position: absolute;
    inset: var(--box-gap) 0;
    pointer-events: none;
    z-index: 1;
    background: var(--box-inner);
}

.depth-strip-image-frame {
    position: relative;
    inset: auto;
    z-index: 2;
    margin: 0;
    width: 100%;
    aspect-ratio: 21 / 8;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
}

.depth-strip-image-frame::after {
    display: none;
}

.depth-strip-image-frame::before {
    display: none;
}

.depth-media-clip {
    position: absolute;
    inset: var(--box-gap);
    border-radius: inherit;
    overflow: hidden;
    z-index: 2;
}

.depth-strip-image-frame .depth-media-clip {
    inset: var(--box-gap) 0;
    border-radius: 0;
}

.depth-strip-copy {
    position: absolute;
    left: clamp(14px, 3.2vw, 34px);
    right: auto;
    bottom: clamp(14px, 3.2vw, 34px);
    z-index: 3;
    width: min(780px, calc(100% - clamp(28px, 6.4vw, 68px)));
    min-width: 0;
    padding: clamp(14px, 2.3vw, 24px);
    border-radius: 8px;
    border: 0;
    background: var(--box-shell);
    overflow: hidden;
}

.depth-strip-copy::before {
    content: "";
    position: absolute;
    inset: var(--box-gap);
    border-radius: inherit;
    background: rgba(38,38,38,0.92);
    pointer-events: none;
    z-index: 1;
}

.depth-strip-copy::after {
    inset: 0;
    padding: var(--box-gap);
    z-index: 2;
    background: radial-gradient(circle var(--box-glow-size) at var(--box-glow-x) var(--box-glow-y), rgba(var(--box-glow-rgb), var(--box-glow-alpha)) 0%, rgba(var(--box-glow-rgb), 0) 72%);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.depth-strip-copy > * {
    position: relative;
    z-index: 3;
}

.depth-strip-copy .depth-number {
    color: rgba(var(--accent-rgb), 0.74);
}

.depth-strip-copy h2 {
    margin: 0 0 8px;
    max-width: min(100%, 24ch);
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(24px, 3.9vw, 44px);
    font-weight: 500;
    line-height: 0.98;
    color: rgba(255,255,255,0.96);
}

.depth-strip-copy p {
    margin: 0;
    max-width: min(100%, 60ch);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
    overflow-wrap: break-word;
    color: rgba(255,255,255,0.8);
}

.depth-strip-points {
    margin: 10px 0 0;
    padding-left: 18px;
    max-width: min(100%, 56ch);
    display: grid;
    gap: 5px;
}

.depth-strip-points li {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(13px, 1.35vw, 16px);
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
}

.depth-strip-points li::marker {
    color: rgba(var(--accent-rgb), 0.82);
}

.depth-strip-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.depth-strip-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(16,16,16,0.56);
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 13px;
    letter-spacing: 0.01em;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.depth-strip-actions a:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.34);
}

.depth-process,
.depth-featured,
.depth-testimonials {
    width: min(1120px, 100%);
    margin: 0 auto clamp(48px, 8vw, 96px);
}

.depth-process {
    margin-bottom: clamp(42px, 6vw, 74px);
}

.depth-featured {
    margin-bottom: clamp(50px, 7vw, 88px);
}

/* Secret game styles moved to css/secret-game.css */

.depth-process-header,
.depth-featured-header,
.depth-testimonials-header {
    margin-bottom: clamp(12px, 2vw, 20px);
}

.depth-process-header .depth-number,
.depth-featured-header .depth-number,
.depth-testimonials-header .depth-number {
    color: rgba(var(--accent-rgb), 0.74);
}

.depth-process-header h2,
.depth-featured-header h2,
.depth-testimonials-header h2 {
    margin: 0;
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(26px, 4.2vw, 44px);
    font-weight: 500;
    line-height: 1;
    color: rgba(255,255,255,0.96);
}

.depth-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 18px);
}

.depth-process-card {
    padding: clamp(16px, 2.2vw, 24px);
    border: 0;
    background: var(--box-shell);
    box-shadow: 0 10px 20px rgba(0,0,0,0.24);
}

.depth-process-card h3 {
    margin: 0 0 8px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 600;
    color: rgba(255,255,255,0.94);
}


/* Mobile: reduce hero tagline size and allow wrapping for narrow viewports */
@media (max-width: 520px) {
    .depth-hero-overlay {
        padding: clamp(8px, 3vw, 14px);
        max-width: calc(100vw);
    }

    .depth-title {
        font-size: clamp(14px, 6.6vw, 28px);
        line-height: 1.02;
        /* keep single-line behavior so JS can scale the title to fit */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

    .depth-lead {
        font-size: clamp(13px, 3.2vw, 16px);
    }
}
.depth-step-number {
    color: rgba(var(--accent-rgb), 0.74);
}

.depth-process-card p {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.6;
    color: rgba(255,255,255,0.76);
}

.depth-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 20px);
}

.depth-feature-card a {
    display: block;
    text-decoration: none;
}

.depth-feature-frame {
    height: clamp(180px, 24vw, 280px);
    margin-bottom: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.34);
}

.depth-feature-copy h3 {
    margin: 0 0 6px;
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 500;
    line-height: 1.05;
    color: rgba(255,255,255,0.94);
}

.depth-feature-copy p {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.55;
    color: rgba(255,255,255,0.74);
}

.depth-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 18px);
}

.depth-testimonial-card {
    margin: 0;
    padding: clamp(16px, 2.4vw, 26px);
    border: 0;
    background: var(--box-shell);
    box-shadow: 0 10px 20px rgba(0,0,0,0.24);
}

.depth-testimonial-card p {
    margin: 0 0 10px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.45vw, 17px);
    line-height: 1.62;
    color: rgba(255,255,255,0.82);
}

.depth-testimonial-card cite {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-style: normal;
    font-size: clamp(12px, 1.2vw, 14px);
    letter-spacing: 0.01em;
    color: rgba(var(--accent-rgb), 0.74);
}

.depth-copy {
    position: relative;
    z-index: 2;
    padding: clamp(8px, 1.4vw, 14px) 0 clamp(16px, 2.4vw, 24px);
}

.depth-copy::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(120px, 34vw, 230px);
    height: 1px;
    background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.85) 0%, rgba(var(--accent-rgb), 0.52) 58%, rgba(var(--accent-rgb), 0) 100%);
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.22);
}

.depth-number {
    margin: 0 0 10px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.56);
}

.depth-copy .depth-number {
    color: rgba(var(--accent-rgb), 0.74);
}

.depth-copy h2 {
    margin: 0 0 12px;
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(26px, 4.1vw, 46px);
    font-weight: 500;
    line-height: 1.02;
    color: rgba(255,255,255,0.96);
}

.depth-copy p {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 1.65vw, 18px);
    line-height: 1.65;
    color: rgba(255,255,255,0.76);
}

.depth-frame {
    position: relative;
    margin: 0;
    height: clamp(260px, 42vw, 540px);
    border-radius: 6px;
    overflow: hidden;
    border: 0;
    background: var(--box-shell);
}

.depth-frame.depth-hero-banner {
    height: clamp(312px, 67.2vw, 744px);
    border-radius: 0;
}

.depth-frame::before {
    content: "";
    position: absolute;
    inset: var(--box-gap);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
    background: var(--box-inner);
}

.depth-frame.depth-hero-banner::before {
    border-radius: 0;
}

.depth-frame.depth-hero-banner .depth-media-clip {
    inset: var(--box-gap) 0 0 0;
    border-radius: 0;
}

.depth-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    /* Use `--bg-pos-y` (set by JS) combined with `--depth-offset` for parallax */
    background-position: center calc(var(--bg-pos-y, 50%) + var(--depth-offset, 0px));
    background-repeat: no-repeat;
    transform: scale(1.06);
    transform-origin: center center;
    will-change: background-position, transform;
}

.depth-hero-banner .depth-media {
    z-index: 0;
    opacity: 0;
    transition: opacity 420ms ease;
}

.depth-hero-banner .depth-media.is-active {
    opacity: 1;
}

.depth-cta {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.depth-frame-wide {
    height: clamp(340px, 58vw, 620px);
}

.depth-cta-copy {
    position: absolute;
    left: clamp(14px, 3vw, 34px);
    right: clamp(14px, 3vw, 34px);
    bottom: clamp(14px, 3vw, 34px);
    z-index: 3;
    margin: 0;
    padding: clamp(16px, 3vw, 28px);
    border-radius: 6px;
    border: 0;
    background: var(--box-shell);
    overflow: hidden;
}

.depth-cta-copy::before {
    content: "";
    position: absolute;
    inset: var(--box-gap);
    border-radius: inherit;
    background: rgba(38,38,38,0.9);
    pointer-events: none;
    z-index: 1;
}

.depth-cta-copy > * {
    position: relative;
    z-index: 2;
}

.depth-cta-copy h2 {
    margin: 0;
    font-family: "Bodoni Moda SC", serif;
    font-size: clamp(24px, 4.2vw, 44px);
    font-weight: 500;
    line-height: 1.02;
    color: rgba(255,255,255,0.98);
}

.depth-cta-copy p {
    margin: 10px 0 14px;
    max-width: 700px;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: rgba(255,255,255,0.8);
    line-height: 1.58;
}

.depth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.depth-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(16,16,16,0.56);
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
    letter-spacing: 0.01em;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.depth-actions a:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.34);
}

.hero-cycle-timer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 4;
    pointer-events: none;
    background: rgba(var(--accent-rgb), 0.06);
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 18%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.82) 82%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.82) 18%, rgba(0,0,0,1) 50%, rgba(0,0,0,0.82) 82%, rgba(0,0,0,0) 100%);
}

.hero-cycle-timer-fill {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(var(--hero-cycle-progress, 0));
    background: rgba(var(--accent-rgb), 0.42);
    box-shadow: 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.hero-carousel-controls {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    line-height: 0;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(12,12,12,0.36);
    appearance: none;
    -webkit-appearance: none;
    color: rgba(255,255,255,0.92);
    font-size: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hero-carousel-icon {
    display: block;
    width: 14px;
    height: 14px;
    overflow: visible;
    pointer-events: none;
}

.hero-carousel-icon path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-carousel-prev {
    left: clamp(10px, 2.2vw, 24px);
}

.hero-carousel-next {
    right: clamp(10px, 2.2vw, 24px);
}

.hero-carousel-control:hover,
.hero-carousel-control:focus-visible {
    background: rgba(22,22,22,0.55);
    border-color: rgba(255,255,255,0.34);
    color: rgba(255,255,255,0.98);
    outline: none;
}

@media (max-width: 980px) {
    .home-depth-page {
        --box-glow-alpha-max: 0.24;
        --box-glow-radius: 208;
        --box-glow-edge-padding: 9;
    }

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

    .depth-row,
    .depth-row-reverse {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .depth-process-grid,
    .depth-featured-grid,
    .depth-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .depth-strip-image-frame {
        aspect-ratio: 16 / 9;
    }

    .depth-strip-copy {
        width: min(680px, calc(100% - 32px));
    }

    .depth-row-reverse .depth-copy {
        order: 1;
    }

    .depth-row-reverse .depth-frame {
        order: 2;
    }

    .depth-frame {
        height: clamp(250px, 56vw, 460px);
    }

    .depth-frame.depth-hero-banner {
        height: clamp(300px, 66vw, 620px);
    }

    .depth-frame-wide {
        height: clamp(310px, 68vw, 560px);
    }
}

@media (max-width: 640px) {
    .home-depth-page {
        --box-glow-alpha-max: 0.2;
        --box-glow-radius: 176;
        --box-glow-edge-padding: 8;
          /* ensure spacer controls vertical offset on small screens; remove extra top padding */
          padding-top: 0;
        padding-bottom: 66px;
    }

    .mobile-hero-spacer {
        display: block;
        width: 100%;
        height: var(--site-nav-height, 88px);
        pointer-events: none;
    }

    .depth-hero {
        margin-bottom: 28px;
    }

    .depth-frame.depth-hero-banner {
        height: clamp(264px, 81.6vw, 504px);
    }

    .depth-hero-overlay {
        left: 0;
        right: auto;
        bottom: 0;
        max-width: calc(100vw - 20px);
    }

    .depth-row {
        margin-bottom: 38px;
    }

    .depth-proof {
        margin-bottom: 38px;
        grid-template-columns: 1fr;
    }

    .depth-process,
    .depth-featured,
    .depth-testimonials {
        margin-bottom: 44px;
    }

    .depth-process {
        margin-bottom: 38px;
    }

    .depth-featured-grid {
        gap: 32px;
    }

    .depth-inline-strip {
        width: 100%;
        padding: 0;
    }

    .depth-strip-image-frame {
        aspect-ratio: 4 / 3;
        min-height: 0;
    }

    .depth-strip-copy {
        left: 50%;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: min(90vw, 560px);
        padding: 10px 11px;
    }

    .depth-strip-copy .depth-number {
        margin-bottom: 6px;
    }

    .depth-strip-copy h2 {
        margin-bottom: 6px;
        max-width: none;
        font-size: clamp(20px, 7.4vw, 28px);
        line-height: 1.05;
        text-wrap: balance;
    }

    .depth-strip-copy p {
        max-width: none;
        font-size: clamp(12.5px, 3.4vw, 14px);
        line-height: 1.42;
        overflow-wrap: normal;
        word-break: normal;
    }

    .depth-strip-points {
        margin-top: 6px;
        padding-left: 16px;
        max-width: none;
        gap: 3px;
    }

    .depth-strip-points li {
        font-size: clamp(12.5px, 3.4vw, 14px);
        line-height: 1.42;
    }

    .depth-strip-points li:nth-child(3) {
        display: none;
    }

    .depth-strip-actions {
        margin-top: 8px;
        gap: 6px;
    }

    .depth-strip-actions a {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    .depth-actions a {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12.5px;
    }

    .depth-testimonials-header {
        margin-bottom: 10px;
    }

    .depth-testimonial-card {
        padding: 14px;
    }

    .depth-testimonial-card p {
        margin-bottom: 8px;
        font-size: clamp(13px, 3.6vw, 15px);
        line-height: 1.52;
    }

    .depth-testimonial-card cite {
        font-size: clamp(11.5px, 3vw, 13px);
    }

    .depth-testimonials-grid {
        gap: 10px;
    }

    .hero-carousel-control {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 380px) {
    .depth-strip-copy {
        width: min(94vw, 420px);
        padding: 8px 9px;
    }

    .depth-strip-copy h2 {
        font-size: clamp(18px, 7vw, 22px);
    }

    .depth-strip-copy p {
        display: none;
    }

    .depth-strip-points {
        margin-top: 4px;
    }

    .depth-strip-actions {
        margin-top: 6px;
    }

    .depth-strip-actions a,
    .depth-actions a {
        min-height: 34px;
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (min-width: 1520px) {
    .home-depth-page {
        --box-glow-alpha-max: 0.22;
        --box-glow-radius: 280;
        --box-glow-edge-padding: 12;
    }
}

@media (prefers-reduced-motion: reduce) {
    .depth-media {
        transform: none !important;
    }

    .depth-actions a {
        transition: none;
    }

    .hero-cycle-timer {
        display: none;
    }
}

/* Secret overlay (Easter egg) */
.secret-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.66);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 60000; /* higher than .top-bar (50000) so overlay fully covers nav */
}
.secret-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.secret-overlay__panel {
    position: relative;
    background: #0f0f0f;
    color: #fff;
    width: min(75vw, 1100px);
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 48px);
    padding: 56px 24px 24px; /* reserve top area for close control */
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    overflow: auto;
}
.secret-overlay__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
}
.secret-overlay__body {
    margin: 0;
    color: rgba(255,255,255,0.88);
}
.secret-close {
    position: absolute;
    top: 16px;
    right: 12px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    box-sizing: border-box;
    border-radius: 4px;
}

.secret-close:focus-visible {
    outline: 2px solid rgba(255,255,255,0.14);
    outline-offset: 2px;
}
.secret-close:hover {
    background: rgba(255,255,255,0.03);
}

/* Debug link for quick access to secret page (hidden by default) */
#secret-debug-link {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 80000;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

:root.secret-open, html.secret-open, body.secret-open {
    overflow: hidden;
    height: 100%;
}

/* Canvas inside secret panel: fill the panel content box and keep 16:9 via the panel */
.secret-game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    touch-action: none;
}

/* Ensure the canvas isn't stretched by default image styles */
.secret-game-canvas::-moz-focus-inner { border: 0; }

/* Remove visible focus outline from canvas; keep focusability for accessibility but focus goes to close button. */
.secret-game-canvas:focus {
    outline: none;
}
