/* ═══════════════════════════════════════════════════════════════
   style.css — Interra Design
   Desktop: unchanged
   Mobile (≤768px): fully fixed — deck cards contained, no overflow,
                    label/counter centred, proper section spacing
═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --gold: #b89a6a;
    --dark: #0e0e0e;
    --stone: #18140f;
    --cream: #f2e8da;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
    cursor: none;
    color: var(--cream);
}

/* ── Cursor ── */
#cur {
    width: 9px;
    height: 9px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

#cuf {
    width: 34px;
    height: 34px;
    border: 1.2px solid rgba(184, 154, 106, .55);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
}

@media(hover:none) {

    #cur,
    #cuf {
        display: none;
    }

    body {
        cursor: auto;
    }
}

/* ── Noise ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9001;
    opacity: .18;
}

/* ── Loader ── */
#loadWrap {
    position: fixed;
    inset: 0;
    background: var(--stone);
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity .85s cubic-bezier(.76, 0, .24, 1);
}

.ll {
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    letter-spacing: .55em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 300;
}

.lt {
    width: 200px;
    height: 1px;
    background: rgba(255, 255, 255, .08);
}

.lf {
    height: 100%;
    background: var(--gold);
    width: 0;
    transition: width .1s linear;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#heroTrack {
    height: 400vh;
    position: relative;
}

#heroScene {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: url('http://interradesign.in/assets/images/background-image.webp');
    background-repeat: round;
}

/* Arch */
.archWrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 106vw;
    height: 82vh;
    pointer-events: none;
    z-index: 2;
}

.arch {
    position: absolute;
    inset: 0;
    border-radius: 50% 50% 0 0 / 22% 22% 0 0;
    overflow: hidden;
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 1.5s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.arch.o {
    transform: scaleY(1);
}

.arch-stone {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.arch-stone::before {
    content: '';
    position: absolute;
    inset: 0%;
    width: 100%;
    height: 100%;
    /*background-image: url("../assets/images/background.webp");*/
    background-size: cover;
    opacity: .95;
    mix-blend-mode: screen;
    background-repeat: no-repeat;
}

.arch-stone::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='1000'%3E%3Cfilter id='v'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.01 0.045' numOctaves='7' seed='60' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.22  0 0 0 0 0.18  0 0 0 0 0.16  0 0 0 12 -6'/%3E%3C/filter%3E%3Crect width='1000' height='1000' filter='url(%23v)' opacity='0.5'/%3E%3C/svg%3E");*/
    background-size: 1000px 1000px;
    mix-blend-mode: screen;
    opacity: .38;
}

.arch-light {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 65% 45% at 38% 18%, rgba(65, 50, 38, .28) 0%, transparent 62%),
        radial-gradient(ellipse 45% 35% at 72% 58%, rgba(48, 36, 24, .18) 0%, transparent 55%),
        linear-gradient(to bottom, transparent 42%, rgba(8, 6, 4, .6) 100%);
    pointer-events: none;
}

/* ── NAV ── */
nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 clamp(24px, 4vw, 56px);
    height: clamp(96px, 10vh, 136px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nL {
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.7s, transform 0.7s;
    flex-shrink: 0;
    cursor: none;
}

.nL.v {
    opacity: 1;
    transform: translateY(0);
}

.nLogo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nLogoImg {
    width: auto;
    height: clamp(70px, 10vh, 80px);
    object-fit: contain;
    display: block;
}

.nBrand {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nBrandName {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(11px, 1.1vw, 15px);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.nBrandTag {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(9px, 0.85vw, 12px);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1;
}

.nR {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.7s 0.15s, transform 0.7s 0.15s;
}

.nR.v {
    opacity: 1;
    transform: translateY(0);
}

.nLinks {
    display: flex;
    align-items: center;
    gap: 0;
}

.nPill {
    display: flex;
    align-items: center;
    padding: 10px 26px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: none;
    transition: background 0.3s, border-color 0.3s;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    margin: 0 6px;
}

.nPill span {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(8px, 0.75vw, 11px);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    position: relative;
    z-index: 1;
    white-space: nowrap;
    transition: color 0.3s;
}

.nPill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(102%);
    transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
    border-radius: 50px;
}

.nPill:hover::before {
    transform: translateY(0);
}

.nPill:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.nDivider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.nHamPill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 20px;
    min-width: 72px;
    height: 44px;
    border-radius: 50px;
    background: rgba(220, 192, 148, 0.85);
    border: 1px solid rgba(220, 192, 148, 0.6);
    backdrop-filter: blur(8px);
    cursor: none;
    flex-shrink: 0;
    transition: background 0.3s;
}

.nHamPill:hover {
    background: rgba(220, 192, 148, 1);
}

.nHamLine {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(60, 40, 20, 0.75);
    border-radius: 2px;
    transition: opacity 0.3s;
}

.nHamLine--short {
    width: 14px;
}

.mobileMenuBtn2 {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(14, 14, 14, .28);
    background: rgba(184, 154, 106, .18);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobileMenuBtn2 b {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--dark);
}

.mobileMenu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--stone);
    z-index: 9980;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    transition: opacity 0.4s;
}

.mobileMenu.open {
    opacity: 1;
}

.mobileMenu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 2vw, 40px);
    letter-spacing: 0.1em;
    color: var(--cream);
    text-decoration: none;
    font-style: italic;
    font-weight: 300;
    transition: color 0.3s;
}

.mobileMenu a:hover {
    color: var(--gold);
}

.mobileMenuClose {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(242, 232, 218, .3);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cream);
    font-size: 20px;
}

/* Tablet nav */
@media (min-width: 769px) and (max-width: 1024px) {
    nav {
        padding: 0 28px;
    }

    .nPill {
        padding: 9px 16px;
        margin: 0 4px;
    }

    .nPill span {
        font-size: 8px;
        letter-spacing: 0.16em;
    }
}

@media (max-width: 769px) {
.mbl-nPill{
    background:#fff;
}
}

.mbl-nPill{
    background:#fff;
}
/* Hero headline */
.hl {
    position: absolute;
    top: 8vh;
    left: 0;
    right: 0;
    padding: 0 4%;
    text-align: center;
    z-index: 30;
    pointer-events: none;
}

.hl h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(38px, 14vw, 80px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -.01em;
    text-shadow: 0 3px 32px rgba(0, 0, 0, .55), 0 1px 8px rgba(0, 0, 0, .35);
}

.wl {
    display: block;
    overflow: hidden;
}

.wl span {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .6s;
}

.wl span.up {
    transform: translateY(0);
    opacity: 1;
}

.tgl {
    position: absolute;
    top: 40%;
    left: 6%;
    transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.4vw, 18px);
    color: rgba(255, 255, 255, .82);
    font-style: italic;
    font-weight: 300;
    letter-spacing: .04em;
    line-height: 1.7;
    opacity: 0;
    transition: opacity .9s .2s;
    z-index: 30;
    pointer-events: none;
}

.tgl.v {
    opacity: 1;
}

/* Cards */
.cL {
    position: absolute;
    inset: 0;
    z-index: 18;
    pointer-events: none;
}

.card {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    background: #2a2218;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
    pointer-events: all;
    will-change: transform, opacity;
    opacity: 0;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.33, 1, .68, 1), filter .5s;
    filter: brightness(.88) saturate(.9);
}

.card:hover img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1.05);
}

#c1 {
    right: calc(53% + 195px);
    top: 44vh;
    width: 250px;
    height: 160px;
}

#c2 {
    right: calc(53% + 196px);
    top: calc(51vh + 140px);
    width: 251px;
    height: 18vh;
}

#c3 {
    left: 54%;
    top: 43vh;
    width: 410px;
    height: 320px;
    transform: translateX(-50%);
    z-index: 20;
}

#c4 {
    display:none;
    left: 54%;
    top: calc(43vh + 332px);
    width: 250px;
    height: 118px;
    transform: translateX(-50%);
}

#c5 {
    left: calc(56% + 195px);
    top: 43vh;
    width: 250px;
    height:160px;
}

#c6 {
   left: calc(56% + 196px);
    top: 67vh;
    width: 257px;
    height:160px;
}

@media(min-width:769px) and (max-width:1024px) {
    #c1 {
        right: calc(50% + 155px);
        top: 51vh;
        width: 180px;
        height: 145px;
    }

    #c2 {
        right: calc(50% + 155px);
        top: calc(51vh + 155px);
        width: 180px;
        height: 135px;
    }

    #c3 {
        width: 335px;
        height: 268px;
        top: 46vh;
    }

    #c4 {
        width: 205px;
        height: 106px;
        top: calc(46vh + 280px);
    }

    #c5 {
        left: calc(50% + 155px);
        top: 46vh;
        width: 180px;
        height: 155px;
    }

    #c6 {
        left: calc(50% + 155px);
        top: calc(46vh + 167px);
        width: 180px;
        height: 135px;
    }
}

.c3-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, transparent 52%);
    pointer-events: none;
}

.c3-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14px, 1.8vw, 22px);
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, .92);
    letter-spacing: .04em;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s, transform .4s;
}

.c3-counter {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(10px, 1.1vw, 14px);
    color: rgba(255, 255, 255, .5);
    font-weight: 300;
    letter-spacing: .08em;
    opacity: 0;
    transition: opacity .4s;
}

#c3:hover .c3-title,
#c3.fs-mode .c3-title {
    opacity: 1;
    transform: translateY(0);
}

#c3:hover .c3-counter,
#c3.fs-mode .c3-counter {
    opacity: 1;
}

.c3-nav {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    display: flex;
    gap: 12px;
    z-index: 5;
    pointer-events: all;
    opacity: 0;
    transition: opacity .3s;
}

#c3:hover .c3-nav,
#c3.fs-mode .c3-nav {
    opacity: 1;
}

.c3-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    border: 1.5px solid rgba(255, 255, 255, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: background .3s, border-color .3s, transform .2s;
    backdrop-filter: blur(6px);
}

.c3-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.08);
}

.c3-btn svg {
    width: 15px;
    height: 15px;
    stroke: #fff;
    stroke-width: 1.8;
    fill: none;
}

@media(hover:none) {
    .c3-nav {
        opacity: 1 !important;
    }

    .c3-title {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .c3-counter {
        opacity: 1 !important;
    }

    .c3-btn {
        cursor: pointer;
    }
}

/* ═══════════════════════════════════════════
   SECTION 2
═══════════════════════════════════════════ */
#s2 {
    position: relative;
    background-image: url("../assets/images/hero.webp");
    background-size: contain;
    z-index: 3;
    padding: 120px 0 140px;
    overflow: hidden;
}

.s2inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(24px, 6vw, 60px);
    position: relative;
    z-index: 1;
}

.s2h {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 7.5vw, 96px);
    font-weight: 700;
    color: #3a3228;
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: 72px;
}

.s2h .row {
    display: block;
    overflow: hidden;
}

.s2h .row span {
    display: block;
    transform: translateY(100%);
    opacity: 0;
}

.s2h .row:nth-child(2) {
    padding-left: clamp(24px, 10vw, 140px);
}

.s2sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 300;
    color: #3a3228;
    line-height: 1.35;
    margin-bottom: 48px;
    max-width: 420px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .9s, transform .9s;
}

.s2sub.v {
    opacity: 1;
    transform: translateY(0);
}

.s2rule {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .8s, transform .8s;
}

.s2rule.v {
    opacity: 1;
    transform: translateX(0);
}

.s2rule-line {
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(184, 154, 106, .2));
    flex: 1;
    max-width: 120px;
}

.s2rule-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.s2body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 48px;
    align-items: start;
}

.s2num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(52px, 6vw, 76px);
    font-weight: 400;
    color: #3a3228;
    line-height: 1;
    letter-spacing: -.03em;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s, transform 1s;
}

.s2num.v {
    opacity: 1;
    transform: translateY(0);
}

.s2num-label {
    font-size: 8px;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-top: 6px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.s2copy {
    padding-top: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .9s .15s, transform .9s .15s;
}

.s2copy.v {
    opacity: 1;
    transform: translateY(0);
}

.s2copy p {
    font-size: 13px;
    line-height: 1.85;
    color: #3a3228;
    font-weight: 300;
    letter-spacing: .01em;
    max-width: 460px;
}

.s2copy p strong {
    font-weight: 500;
    color: var(--cream);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
}

.s2footer {
    margin-top: 80px;
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s .3s, transform .8s .3s;
    flex-wrap: wrap;
}

.s2footer.v {
    opacity: 1;
    transform: translateY(0);
}

.s2ft {
    font-size: 15px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(242, 232, 218, .25);
    white-space: nowrap;
}

.s2fl {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(242, 232, 218, .1), transparent);
    min-width: 30px;
}

.s2fa {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: .12em;
    color: #1a1918fa;
    font-style: italic;
    cursor: none;
    border-bottom: 1px solid rgba(184, 154, 106, .3);
    padding-bottom: 2px;
    white-space: nowrap;
    transition: color .3s, border-color .3s;
    text-decoration: none;
}

.s2fa:hover {
    color: #1a1410;
    border-color: #1a1410;
}

@media(max-width:600px) {
    .s2body {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }
}

/* ═══════════════════════════════════════════
   SECTION 3 — CURATED WORKS
═══════════════════════════════════════════ */
#s3Track {
    height: 800vh;
    position: relative;
}

#s3Scene {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #ede0cf 0%, #e5d5be 40%, #dcc8ad 100%);
}

.s3TitleWrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.s3Title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(64px, 14vw, 196px);
    font-weight: 700;
    color: #1a1410;
    line-height: 1;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.18em;
    white-space: nowrap;
    user-select: none;
    will-change: transform, opacity;
}

.s3TWord {
    display: inline-block;
    will-change: transform;
}

.s3CardsLayer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}

.s3CardsRow {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.s3Card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #2a2218;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .22), 0 2px 8px rgba(0, 0, 0, .12);
    will-change: transform, opacity;
    flex-shrink: 0;
    pointer-events: all;
    cursor: none;
}

.s3Card:nth-child(1) {
    width: 200px;
    height: 270px;
}

.s3Card:nth-child(2) {
    width: 200px;
    height: 290px;
}

.s3Card:nth-child(3) {
    width: 200px;
    height: 290px;
}

.s3Card:nth-child(4) {
    width: 200px;
    height: 270px;
}

.s3Card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.92) saturate(.88);
    transition: filter .5s, transform .7s cubic-bezier(.33, 1, .68, 1);
}

.s3Card:hover img {
    filter: brightness(1.02) saturate(1.05);
    transform: scale(1.04);
}

@media(min-width:769px) and (max-width:1100px) {
    .s3Card:nth-child(1) {
        width: 160px;
        height: 218px;
    }

    .s3Card:nth-child(2) {
        width: 160px;
        height: 235px;
    }

    .s3Card:nth-child(3) {
        width: 160px;
        height: 235px;
    }

    .s3Card:nth-child(4) {
        width: 160px;
        height: 218px;
    }

    .s3CardsRow {
        gap: 12px;
    }
}

/* Detail panel */
.s3Detail {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 clamp(28px, 5vw, 64px);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.s3Detail.active {
    opacity: 1;
    pointer-events: all;
}

.s3dLeft {
    padding-right: clamp(20px, 3vw, 48px);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.7s 0.1s, transform 0.7s 0.1s;
}

.s3Detail.active .s3dLeft {
    opacity: 1;
    transform: translateX(0);
}

.s3dStatement {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(11px, 1.15vw, 15px);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #1a1410;
    line-height: 1.55;
    margin-bottom: 36px;
}

.s3dSub {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(13px, 1.4vw, 18px);
    font-style: italic;
    font-weight: 300;
    color: rgba(26, 20, 16, 0.6);
    line-height: 1.65;
}

.s3DeckWrap {
    position: relative;
    width: 350px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.s3ShadowCard {
    position: absolute;
    width: 340px;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2218;
    will-change: transform, opacity;
}

.s3ShadowCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) saturate(0.6);
}

.s3Shadow--b2 {
    height: 480px;
    top: calc(50% - 340px);
    left: 50%;
    transform: translateX(-50%) translateY(-28px) scaleX(0.88);
    z-index: 1;
}

.s3Shadow--b1 {
    height: 490px;
    top: calc(50% - 320px);
    left: 50%;
    transform: translateX(-50%) translateY(-14px) scaleX(0.94);
    z-index: 2;
}

.s3MainCard {
    position: relative;
    width: 350px;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    background: #2a2218;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 3;
    will-change: transform, opacity;
}

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

.s3CardLabel {
    position: absolute;
    right: calc(100% - -60px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14px, 1.6vw, 20px);
    font-style: italic;
    font-weight: 300;
    color: rgba(26, 20, 16, 0.75);
    letter-spacing: 0.04em;
    text-align: right;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.4s;
}

.s3Detail.active .s3CardLabel {
    opacity: 1;
}

.s3CounterWrap {
    position: absolute;
    left: calc(100% - -60px);
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.s3Ring {
    position: absolute;
    inset: 0;
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.s3RingBg {
    fill: none;
    stroke: rgba(26, 20, 16, 0.12);
    stroke-width: 1.2;
}

.s3RingProg {
    fill: none;
    stroke: rgba(26, 20, 16, 0.55);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: 160.2;
    transition: stroke-dashoffset 0.6s cubic-bezier(.16, 1, .3, 1);
}

.s3CounterNums {
    position: relative;
    z-index: 1;
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    color: rgba(26, 20, 16, 0.75);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.s3CountSlash {
    font-size: 14px;
    opacity: 0.5;
    margin: 0 1px;
}

.s3dRight {
    padding-left: clamp(20px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.7s 0.2s, transform 0.7s 0.2s;
}

.s3Detail.active .s3dRight {
    opacity: 1;
    transform: translateX(0);
}

.s3dDesc {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(9px, 0.95vw, 12px);
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(26, 20, 16, 0.55);
    line-height: 1.9;
    margin-bottom: 22px;
}

.s3dRule {
    width: min(320px, 100%);
    height: 1px;
    background: rgba(26, 20, 16, 0.15);
    margin-bottom: 28px;
}

.s3CtaBtn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-weight: 500;
    color: #1a1410;
    text-decoration: none;
    cursor: none;
    padding: 14px 20px 14px 24px;
    border: 1px solid rgba(26, 20, 16, 0.2);
    position: relative;
    overflow: hidden;
    transition: color 0.35s;
    background: rgba(242, 232, 218, 0.5);
    backdrop-filter: blur(8px);
}

.s3CtaBtn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #1a1410;
    transform: translateX(-102%);
    transition: transform 0.38s cubic-bezier(.76, 0, .24, 1);
}

.s3CtaBtn:hover {
    color: #f2e8da;
}

.s3CtaBtn:hover::before {
    transform: translateX(0);
}

.s3CtaBtn span:first-child {
    position: relative;
    z-index: 1;
}

.s3CtaDot {
    position: relative;
    z-index: 1;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.s3ScrollHint {
    position: absolute;
    right: clamp(20px, 4vw, 48px);
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: rgba(26, 20, 16, 0.22);
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    z-index: 40;
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
}

.s3ScrollHint.show {
    opacity: 1;
}

/* ═══════════════════════════════════════════
   SECTION 4
═══════════════════════════════════════════ */
#s4 {
    background: linear-gradient(180deg, #ede0cf 0%, #e8d8c0 100%);
    padding: clamp(80px, 12vh, 140px) 0;
    overflow: hidden;
}

.s4Inner {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 clamp(28px, 6vw, 72px);
}

.s4QuoteBlock {
    margin-bottom: clamp(72px, 10vh, 120px);
}

.s4Q1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.4vw, 30px);
    font-weight: 300;
    color: #3a3228;
    line-height: 1.55;
    margin-bottom: 40px;
    max-width: 680px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s, transform 0.9s;
}

.s4Q1.v {
    opacity: 1;
    transform: translateY(0);
}

.s4Q2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2.4vw, 30px);
    font-weight: 300;
    color: #3a3228;
    line-height: 1.55;
    max-width: 560px;
    margin-left: auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s 0.18s, transform 0.9s 0.18s;
}

.s4Q2.v {
    opacity: 1;
    transform: translateY(0);
}

.s4WorksHead {
    text-align: center;
    margin-bottom: clamp(48px, 7vh, 80px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.s4WorksHead.v {
    opacity: 1;
    transform: translateY(0);
}

.s4WorksTitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 112px);
    font-weight: 700;
    color: #2a2218;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.s4WorksSub {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 3vw, 40px);
    font-style: italic;
    font-weight: 300;
    color: #5a4e42;
    letter-spacing: 0.02em;
}

.s4Grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
}

.s4Card {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s, transform 0.8s;
}

.s4Card.v {
    opacity: 1;
    transform: translateY(0);
}

.s4Card--mid .s4CardImg img {
    height: 240px;
}

.s4CardImg {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #2a2218;
}

.s4CardImg img {
    width: 100%;
    height: 196px;
    object-fit: cover;
    display: block;
    filter: brightness(0.95) saturate(0.9);
    transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), filter 0.5s;
}

.s4Card:hover .s4CardImg img {
    transform: scale(1.04);
    filter: brightness(1.02) saturate(1.05);
}

.s4CardTag {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #8a7a68;
    font-weight: 400;
    margin-bottom: 10px;
}

.s4CardName {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 1.6vw, 21px);
    font-style: italic;
    font-weight: 400;
    color: #2a2218;
    line-height: 1.3;
    margin-bottom: 14px;
}

.s4CardDesc {
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #6a5e52;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

@media (min-width: 769px) and (max-width: 960px) {
    .s4Grid {
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════
   SECTION 5
═══════════════════════════════════════════ */
#s5 {
    background: linear-gradient(180deg, #e8d8c0 0%, #e2cfb8 100%);
    padding: clamp(80px, 12vh, 140px) 0 clamp(100px, 15vh, 180px);
    position: relative;
    overflow: hidden;
}

#s5::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -10%;
    width: 120%;
    height: 1px;
    background: rgba(184, 154, 106, 0.18);
    transform: rotate(-8deg);
    pointer-events: none;
}

#s5::after {
    content: '';
    position: absolute;
    top: 55%;
    left: -10%;
    width: 120%;
    height: 1px;
    background: rgba(184, 154, 106, 0.12);
    transform: rotate(-4deg);
    pointer-events: none;
}

.s5Inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(28px, 6vw, 72px);
}

.s5Title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(72px, 13vw, 180px);
    font-weight: 700;
    color: #2a2218;
    line-height: 1;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: clamp(56px, 8vh, 100px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s, transform 0.9s;
}

.s5Title.v {
    opacity: 1;
    transform: translateY(0);
}

.s5Form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s 0.2s, transform 0.8s 0.2s;
}

.s5Form.v {
    opacity: 1;
    transform: translateY(0);
}

.s5Field {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: end;
    margin-bottom: 44px;
    gap: 0 clamp(16px, 3vw, 40px);
}

.s5Field--right {
    grid-template-columns: 1fr 1fr;
    justify-items: end;
}

.s5Field--right .s5Label {
    text-align: right;
}

.s5Field--right .s5InputWrap {
    width: 100%;
}

.s5Field--textarea {
    grid-template-columns: 180px 1fr;
    align-items: start;
}

.s5Label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 300;
    color: #4a4038;
    line-height: 1.4;
    letter-spacing: 0.02em;
    padding-bottom: 8px;
}

.s5InputWrap {
    border-bottom: 1px solid rgba(42, 34, 24, 0.3);
    position: relative;
    width: 100%;
}

.s5InputWrap::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: #b89a6a;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.s5InputWrap:focus-within::after {
    width: 100%;
}

.s5Input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 1.5vw, 48px);
    font-weight: 400;
    color: #2a2218;
    letter-spacing: -0.01em;
    padding: 4px 0 10px;
    cursor: none;
}

.s5Input::placeholder {
    color: rgba(42, 34, 24, 0.22);
}

.s5Input--ghost {
    font-size: clamp(22px, 3.5vw, 48px);
    color: rgba(42, 34, 24, 0.22);
    font-style: italic;
}

.s5Input--ghost:focus {
    color: #2a2218;
    font-style: normal;
}

.s5Textarea {
    width: 100%;
    min-height: 130px;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(16px, 1.8vw, 22px);
    font-style: italic;
    font-weight: 300;
    color: rgba(42, 34, 24, 0.28);
    line-height: 1.7;
    padding: 8px 0 10px;
    cursor: none;
}

.s5Textarea:focus {
    color: #2a2218;
}

.s5Textarea::placeholder {
    color: rgba(42, 34, 24, 0.22);
}

.s5Submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.s5Btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #2a2218;
    background: #ede0cf;
    border: 1px solid rgba(42, 34, 24, 0.18);
    padding: 16px 32px;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: color 0.35s;
}

.s5Btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #2a2218;
    transform: translateX(-102%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.s5Btn:hover {
    color: #ede0cf;
}

.s5Btn:hover::before {
    transform: translateX(0);
}

.s5Btn span:first-child {
    position: relative;
    z-index: 1;
}

.s5BtnDot {
    position: relative;
    z-index: 1;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}



/* ═══════════════════════════════════════════════════════════════
   MOBILE — max-width: 768px
   Key fixes:
   1. Section 3 deck: s3DeckWrap becomes static flow, shadow cards
      are positioned INSIDE a fixed-height relative container so
      they never overflow upward into previous sections.
   2. s3CardLabel & s3CounterWrap: removed absolute side-positioning,
      now sit below the deck in normal flow.
   3. All section spacing tightened.
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Kill all transitions & animations */
    *,
    *::before,
    *::after {
        animation: none !important;
        animation-duration: 0s !important;
        transition: none !important;
        transition-duration: 0s !important;
    }

    /* Cursor off */
    #cursorCanvas,
    #cur,
    #cuf {
        display: none !important;
    }

    body {
        cursor: auto;
    }

    /* Loader: instant hide */
    #loadWrap {
        display: none !important;
    }

    /* ── NAV ── */
    nav {
        padding: 0 20px;
        height: 64px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nL {
        opacity: 1 !important;
        transform: none !important;
    }

    .nLogoImg {
        height: 46px;
    }

    .nR {
        display: none !important;
    }

    .mobileMenuBtn2 {
        display: flex !important;
        opacity: 1 !important;
        transform: none !important;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        background: rgba(220, 192, 148, 0.9);
        border: 1px solid rgba(220, 192, 148, 0.6);
        cursor: pointer;
    }

    .mobileMenuBtn2 b {
        background: rgba(60, 40, 20, 0.85);
        width: 20px;
    }

    /* ── HERO ── */
    #heroTrack {
        height: auto;
        position: relative;
    }

    #heroScene {
        position: relative;
        height:550px ;
        /*min-height: 60svh;*/
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding-bottom: 40px;
    }

    .archWrap {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 150vw;
        height: 60vh;
        pointer-events: none;
        z-index: 2;
    }

    .arch {
        transform: scaleY(1) !important;
        border-radius: 50% 50% 0 0 / 20% 20% 0 0;
    }

    .hl {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding: 80px 20px 16px;
        text-align: left;
        z-index: 30;
        pointer-events: none;
    }

    .hl h1 {
        font-size: clamp(32px, 10vw, 52px);
        line-height: 1.05;
    }

    .wl span {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .tgl {
        position: relative;
        top: auto;
        left: auto;
        transform: none !important;
        opacity: 1 !important;
        padding: 0 20px 24px;
        font-size: 14px;
        z-index: 30;
        pointer-events: none;
    }

    .cL {
        position: relative;
        inset: auto;
        z-index: 18;
        pointer-events: none;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #c1,
    #c2,
    #c5,
    #c6 {
        display: none !important;
    }

    .card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        opacity: 1 !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 12px;
    }

    .card img {
        width: 100%;
        height: 210px;
        object-fit: cover;
    }

    #c3 {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        z-index: 20;
    }

    #c3 img {
        height: 230px;
    }

    #c4 {
        width: 55% !important;
        height: auto !important;
        transform: none !important;
        align-self: flex-start;
    }

    #c4 img {
        height: 120px;
    }

    .c3-nav {
        position: absolute;
        bottom: 14px;
        right: 14px;
        left: auto;
        top: auto;
        transform: none;
        opacity: 1 !important;
        gap: 8px;
    }

    .c3-title {
        opacity: 1 !important;
        transform: none !important;
    }

    .c3-counter {
        opacity: 1 !important;
    }

    .c3-btn {
        cursor: pointer;
        width: 36px;
        height: 36px;
    }

    .mqB,
    .sH {
        display: none !important;
    }

    /* ── SECTION 2 ── */
    #s2 {
        padding: 60px 0 72px;
        background-size: cover;
    }

    .s2inner {
        padding: 0 20px;
    }

    .s2h {
        font-size: clamp(32px, 10vw, 56px);
        margin-bottom: 32px;
    }

    .s2h .row:nth-child(2) {
        padding-left: 16px;
    }

    .s2h .row span {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    .s2sub,
    .s2rule,
    .s2num,
    .s2copy,
    .s2footer {
        opacity: 1 !important;
        transform: none !important;
    }

    .s2body {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }

    .s2footer {
        margin-top: 48px;
        display:none;
    }

    /* ══════════════════════════════════════════════
       SECTION 3 — THE BIG FIX
       Problems from screenshot:
       - Shadow cards absolute-positioned escape container, overlap section above
       - Label "e Elder" cut off left, counter cut off right
       Fix: collapse s3Track height, make scene static,
            contain deck in a relative block, put label+counter below deck in flow
    ══════════════════════════════════════════════ */
    #s3Track {
        height: auto;
        position: relative;
    }

    #s3Scene {
        position: relative;
        height: auto;
        min-height: unset;
        padding: 56px 20px 64px;
        overflow: visible;
    }

    /* Title: static, centred */
    .s3TitleWrap {
        position: relative;
        inset: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 32px;
    }

    .s3Title {
        font-size: clamp(40px, 12vw, 60px) !important;
        opacity: 1 !important;
        flex-direction: column;
        gap: 0;
        line-height: 0.95;
        text-align: center;
        white-space: normal;
    }

    .s3TWord {
        transform: none !important;
        display: block;
        text-align: center;
    }

    /* Row cards: horizontal scroll strip */
    .s3CardsLayer {
        position: relative;
        inset: auto;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 36px;
    }

    .s3CardsLayer::-webkit-scrollbar {
        display: none;
    }

    .s3CardsRow {
        display: flex;
        align-items: flex-end;
        gap: 10px;
        padding: 8px 2px;
        width: max-content;
    }

    .s3Card {
        opacity: 1 !important;
        transform: none !important;
        cursor: pointer;
    }

    .s3Card:nth-child(1) {
        width: 110px;
        height: 150px;
    }

    .s3Card:nth-child(2) {
        width: 110px;
        height: 165px;
    }

    .s3Card:nth-child(3) {
        width: 110px;
        height: 165px;
    }

    .s3Card:nth-child(4) {
        width: 110px;
        height: 150px;
    }

    /* Detail panel: single column, normal flow */
    .s3Detail {
        position: relative;
        inset: auto;
        display: flex;
        flex-direction: column;
        gap: 0;
        opacity: 1 !important;
        pointer-events: all !important;
        padding: 0;
    }

    .s3Detail.active,
    .s3Detail {
        opacity: 1 !important;
    }

    .s3dLeft {
        opacity: 1 !important;
        transform: none !important;
        padding-right: 0;
        order: 3;
        margin-top: 24px;
    }

    .s3dStatement {
        display: block;
        font-size: 11px;
        margin-bottom: 16px;
    }

    .s3dSub {
        display: block;
        font-size: 13px;
    }

    /* ── DECK WRAP: key fix ──
       Must be position:relative, overflow:hidden, fixed height
       so shadow cards don't escape. */
    .s3DeckWrap {
        width: 100%;
        height: 380px;
        /* fixed height contains shadow cards */
        margin: 0 auto;
        position: relative;
        /* shadows position inside this */
        overflow: hidden;
        /* CRITICAL: clips any overflow upward */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        /* stack from bottom so card is at bottom */
        padding-bottom: 0;
        order: 1;
    }

    /* Shadow cards: reposition inside the fixed-height container */
    .s3ShadowCard {
        position: absolute;
        width: 200px;
    }

    .s3Shadow--b2 {
        height: 280px;
        top: 20px;
        /* from top of container */
        left: 50%;
        transform: translateX(-50%) scaleX(0.86);
        z-index: 1;
    }

    .s3Shadow--b1 {
        height: 295px;
        top: 30px;
        left: 50%;
        transform: translateX(-50%) scaleX(0.93);
        z-index: 2;
    }

    /* Main card: at bottom of deck container */
    .s3MainCard {
        position: relative;
        /* in flow */
        width: 210px;
        height: 310px;
        opacity: 1 !important;
        transform: none !important;
        margin: auto auto 0;
        z-index: 3;
        flex-shrink: 0;
    }

    /* Label: below deck, centred, in flow — no longer absolute on the side */
    .s3CardLabel {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        opacity: 1 !important;
        text-align: center;
        margin-top: 12px;
        font-size: 15px;
        display: block;
        width: 100%;
        white-space: normal;
        order: 2;
    }

    /* Counter: below label, centred, in flow — no longer absolute on the side */
    .s3CounterWrap {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 8px auto 0;
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .s3dRight {
        opacity: 1 !important;
        transform: none !important;
        padding-left: 0;
        text-align: left;
        align-items: flex-start;
        order: 4;
        margin-top: 28px;
    }

    .s3dRule {
        width: 100%;
        margin-bottom: 20px;
    }

    .s3CtaBtn {
        cursor: pointer;
        font-size: 10px;
        padding: 12px 18px;
    }

    .s3ScrollHint {
        display: none;
    }

    /* ── SECTION 4 ── */
    #s4 {
        padding: 56px 0 64px;
    }

    .s4Inner {
        padding: 0 20px;
    }

    .s4Q1,
    .s4Q2,
    .s4WorksHead,
    .s4Card {
        opacity: 1 !important;
        transform: none !important;
    }

    .s4Q2 {
        margin-left: 0;
    }

    .s4QuoteBlock {
        margin-bottom: 40px;
    }

    .s4Grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .s4WorksHead {
        margin-bottom: 32px;
    }

    /* ── SECTION 5 ── */
    #s5 {
        padding: 56px 0 80px;
    }

    .s5Inner {
        padding: 0 20px;
    }

    .s5Title {
        font-size: clamp(48px, 13vw, 88px);
        opacity: 1 !important;
        transform: none !important;
        margin-bottom: 40px;
    }

    .s5Form {
        opacity: 1 !important;
        transform: none !important;
    }

    .s5Field,
    .s5Field--right,
    .s5Field--textarea {
        grid-template-columns: 1fr;
        gap: 6px 0;
        margin-bottom: 32px;
    }

    .s5Field--right {
        justify-items: unset;
    }

    .s5Field--right .s5Label {
        text-align: left;
    }

    .s5Input,
    .s5Input--ghost {
        font-size: clamp(22px, 7vw, 36px);
        cursor: auto;
    }

    .s5Textarea {
        cursor: auto;
    }

    .s5Btn {
        cursor: pointer;
        width: 100%;
        justify-content: center;
    }

@media (min-width: 769px) {
    .s2footer{
        display:none;
    }
}


