:root {
    --cream: #faf8f4;
    --ink: #2b2620;
    --brown: #5b4a3a;
    --brown-bar: #4a4038;
    --gold: #8a7350;
    --line: #d8d2c6;
    --green: #4caf3a;
    --paper: #ffffff;
    --stone: #eae7e1;
    --stone-dark: #ded9d0;
    --ink: #2a2622;
    --ink-soft: #6b645a;
    --gold: #a9895f;
    --line: #d8d2c6;
    --transition: 620ms cubic-bezier(.16, .84, .44, 1);
}

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

/*---------Fonts-----------*/

@font-face {
    font-family: 'CS Castle';
    src: url('fonts/CSCastle-Regular.woff2') format('woff2'),
        url('fonts/CSCastle-Regular.woff') format('woff'),
        url('fonts/CSCastle-Regular.ttf') format('truetype'),
        url('fonts/CSCastle-Regular.svg#CSCastle-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Orchidea Couture';
    src: url('fonts/OrchideaCouture.woff2') format('woff2'),
        url('fonts/OrchideaCouture.woff') format('woff'),
        url('fonts/OrchideaCouture.ttf') format('truetype'),
        url('fonts/OrchideaCouture.svg#OrchideaCouture') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




html {
    scroll-behavior: smooth;
}

body {
    font-family: 'CS Castle';
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* HEADER */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 5%;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.brand {
    text-align: center;

    img {
        height: 100px;
        width: auto;
    }
}


.menu-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    flex-shrink: 0;
    cursor: pointer;
    right: 40px;
    top: 59px;
}

.menu-icon .dots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 20px;
}

.menu-icon .dots span {
    width: 4px;
    height: 4px;
    background: #333;
    border-radius: 50%;
    display: block;
}

.header-spacer {
    width: 20px;
    flex-shrink: 0;
}


/* ---------- MENU PANEL ---------- */

/* ---------- OVERLAY ---------- */
.overlay-main {
    position: fixed;
    inset: 0;
    background: rgba(20, 17, 14, 0.28);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition);
    z-index: 45;
}

body.menu-open .overlay-main {
    opacity: 1;
    visibility: visible;
}


.menu-toggle {
    position: fixed;
    top: 0;
    right: 0;
    height: 96px;
    width: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 60;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: background var(--transition);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: -6px;
}

/* dot grid icon */
.dots-grid {
    display: grid;
    grid-template-columns: repeat(3, 6px);
    grid-gap: 6px;
}

.dots-grid span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink);
    transition: background 300ms;
}

body.menu-open .dots-grid span {
    background: #e6e7e8
}

/* X icon */
.x-icon {
    position: relative;
    width: 22px;
    height: 22px;
    opacity: 0;
    transform: rotate(-45deg) scale(0.6);
    transition: opacity 400ms, transform 400ms;
    pointer-events: none;
}

.x-icon::before,
.x-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--ink);
}

.x-icon::before {
    transform: rotate(45deg);
}

.x-icon::after {
    transform: rotate(-45deg);
}

.menu-toggle.open-btn {
    z-index: 61;
}

.menu-toggle.close-btn {
    right: 0;
    background: var(--stone);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

body.menu-open .menu-toggle.open-btn .dots-grid {
    opacity: 0;
}

body.menu-open .menu-toggle.close-btn {
    opacity: 1;
    pointer-events: auto;
}

body.menu-open .menu-toggle.close-btn .x-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

nav.panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 88vw;
    background: var(--stone);
    z-index: 50;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    padding: 96px 56px 60px;
}

body.menu-open nav.panel {
    transform: translateX(0);
}

nav.panel::-webkit-scrollbar {
    width: 6px;
}

nav.panel::-webkit-scrollbar-thumb {
    background: var(--stone-dark);
    border-radius: 3px;
}

.nav-top-link {
    display: block;
    font-family: 'CS Castle';
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--ink);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.nav-top-link:hover {
    color: var(--gold);
}

.section {
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

.section-head h3 {
    margin: 0;
    ffont-family: 'CS Castle';
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    transition: color 250ms;
}

.section-head:hover h3 {
    color: var(--gold);
}

.chevron {
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--ink-soft);
    border-bottom: 1px solid var(--ink-soft);
    transform: rotate(45deg);
    transition: transform 400ms ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.section.open .chevron {
    transform: rotate(-135deg);
}

.sub-list {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition);
}

.section.open .sub-list {
    grid-template-rows: 1fr;
}

.sub-list-inner {
    overflow: hidden;
}

.sub-list ul {
    list-style: none;
    margin: 0;
    padding: 0 0 18px;
    font-family: 'CS Castle';
}

.sub-list li a {
    display: block;
    padding: 7px 0 7px 4px;
    font-size: 1.02rem;
    color: var(--ink-soft);
    letter-spacing: 0.2px;
    transition: color 220ms, padding-left 220ms;
    border-left: 1px solid transparent;
}

.sub-list li a:hover {
    color: var(--ink);
    padding-left: 12px;
    border-left-color: var(--gold);
}

.contact-link {
    display: block;
    padding: 20px 0 4px;
    font-family: 'CS Castle';
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.contact-link:hover {
    color: var(--gold);
}

@media (max-width:600px) {
    nav.panel {
        padding: 88px 30px 50px;
        width: 100%;
        max-width: 100%;
    }

    header {
        justify-content: flex-start;
    }

    header.site-head {
        height: 80px;
    }

    .menu-toggle {
        height: 80px;
        width: 80px;
    }

    .hero {
        height: calc(100vh - 80px);
    }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}




/* HERO */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full screen */
    overflow: hidden;

    img {
        width: 100%;
    }

    video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
    }
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.play-btn::after {
    content: "";
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #2b2620;
    margin-left: 5px;
}

.hero-caption {
    position: absolute;
    left: 6%;
    bottom: 8%;
    color: #fff;

    font-weight: 500;
    font-size: clamp(28px, 4.5vw, 58px);
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

/* BADGE / SEAL */
.badge-section {
    text-align: center;
    padding: 40px 0;

    img {
        height: 100px;
        width: auto;
        margin: 0 auto 20px auto;
    }
}

.badge-tagline {

    font-size: 17px;
    letter-spacing: 2px;
    color: #000;
    font-style: normal;
}

/* TWO COLUMN FEATURE */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.feature-panel {
    position: relative;
    aspect-ratio: 960/910;
    overflow: hidden;
    cursor: pointer;
}

.feature-panel img {
    transition: transform .6s ease;
}

.feature-panel:hover img {
    transform: scale(1.05);
}

.feature-panel .overlay {
    position: absolute;
    l eft: 8%;
    bottom: 9%;
    color: #fff;
    width: 100%;
    text-align: center;
}

.feature-panel .overlay h3 {

    font-weight: 500;
    font-size: 56px;
    letter-spacing: 1px;
}

.feature-panel .overlay p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: .9;
}

.feature-panel.center-label .overlay {
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    text-align: center;
}

.feature-panel.center-label .overlay h3 {
    color: var(--ink);
    font-style: normal;
    letter-spacing: 2px;
    text-shadow: none;
}

/* FLOURISH DIVIDER */
.flourish {
    text-align: center;
    padding: 34px 0;

    img {
        width: auto;
        height: 100px;
        margin: 0 auto;
    }
}


/* BROWN BAR */
.brown-bar {
    background: var(--brown-bar);
    color: #FFF;
    text-align: center;
    padding: 20px 5%;
    font-size: 18px;
    letter-spacing: 1px;
}

/* EXPERIENCE HERO */
.experience {
    position: relative;
    aspect-ratio: 1920/1170;
    overflow: hidden;

    img {
        width: 100%;
    }
}

.experience-title {
    position: absolute;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--ink);

    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: 6px;
}


/* ATELIER LABEL */
.atelier-label-wrap {
    text-align: center;
    padding: 60px 0 30px;
}

.atelier-label {
    display: inline-block;
    background: #1c1a17;
    color: #fff;
    letter-spacing: 5px;
    font-size: 30px;
    padding: 9px 10px;
}

.atelier-panel {
    margin-bottom: 60px;
}

.atelier-panel .overlay.script {
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    text-align: center;
    width: 100%;
    position: absolute;
    margin: 0 auto;
}

.atelier-panel {
    position: relative;
}

.atelier-panel .overlay.script h3 {
    font-family: 'Orchidea Couture';
    font-size: 80pt;
    font-weight: normal;
    text-align: center;
    color: #FFF;
}

/* THREE COLUMN */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 40px;
    gap: 15px;
    margin-bottom: 40px;
}

.tri-panel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.tri-panel img {
    transition: transform .6s ease;
}

.tri-panel:hover img {
    transform: scale(1.05);
}

.tri-panel .overlay {
    position: absolute;
    left: 8%;
    bottom: 8%;
    color: #fff;
}

.tri-panel .overlay h3 {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 300;
    font-size: 40pt;
    line-height: 1.1;
    color: #000;
}

.tri-panel.script-overlay .overlay h3 {
    font-family: 'Orchidea Couture';
    color: var(--green);
    font-size: 90px;
    top: 12%;
    bottom: auto;
}

/* FOOTER */
footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 0 5%;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 24px;
    border-right: 1px solid var(--line);
}

.footer-cta:last-child {
    border-right: none;
}

.footer-cta.join {
    border: 1px solid var(--ink);
    margin: 14px;
    border-radius: 10px;
}

.footer-cta h4 {
    font-family: 'CS Castle';
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.footer-cta p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 13px;
    color: #6b6459;
    max-width: 320px;
}

.footer-cta .arrow {
    font-size: 30px;
    color: #000;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 44px 0 30px;
}

.footer-signup p {
    font-size: 22px;
    margin-bottom: 18px;
}

.signup-row {
    display: flex;
    border: 1px solid var(--ink);
    max-width: 340px;
}

.signup-row input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 14px;
    outline: none;
}

.signup-row button {
    background: var(--brown-bar);
    color: #fff;
    border: none;
    padding: 0 20px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
}

.footer-main h5 {
    font-family: 'CS Castle';
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.footer-main ul {
    list-style: none;
    font-family: 'Lato', Arial, sans-serif;
}

.footer-main li {
    font-size: 13.5px;
    color: #5a5347;
    margin-bottom: 9px;
}

.footer-main li:hover {
    color: #000;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 26px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: #7a7266;
}

.footer-bottom .socials {
    display: flex;
    gap: 18px;
}

.email {
    font-size: 16px;
    margin-top: 25px;
    font-family: 'Lato', Arial, sans-serif;

    a {
        text-decoration: underline;

        &:hover {
            text-decoration: none;
        }
    }
}

@media (max-width:820px) {

    .footer-top,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: block;

        .socials {
            display: block;
        }

        span {
            display: block;
            margin-bottom: 8px;
        }
    }

    .footer-cta {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .three-col {
        grid-template-columns: 1fr;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .experience-title {
        letter-spacing: 3px;
    }

    nav.panel {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        max-width: 100%;
    }
}


/*----------Collection------------*/

.collection-top-filter {
    h1 {
        text-align: center;
        padding: 60px 0;
        font-size: 60px;
        font-family: 'CS Castle';
        text-transform: uppercase;
        font-weight: normal;
    }

    .filters {
        font-family: 'CS Castle';
        font-weight: normal;

        button {
            font-family: 'CS Castle';
            font-size: 20px;
        }
    }
}



/* ---------- Filter nav ---------- */
.filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 4px;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.filters li {
    position: relative;
}

.filters button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
    padding: 10px 22px;
    position: relative;
    transition: color .35s ease;
}

.filters li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: var(--rule);
}

.filters button:hover {
    color: var(--ink);
}

.filters button.is-active {
    color: var(--ink);
}

/* the "stitched thread" underline — signature motif */
.filters .thread {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 2px;
    height: 6px;
    pointer-events: none;
}

.filters .thread svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.filters .thread path {
    fill: none;
    stroke: var(--thread);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 4 3.5;
    stroke-dashoffset: 60;
    opacity: 0;
    transition: stroke-dashoffset .5s ease, opacity .25s ease;
}

.filters button.is-active+.thread path {
    stroke-dashoffset: 0;
    opacity: 1;
}

.count {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 22px 0 0;
}

.count span {
    color: var(--berry);
    font-weight: 600;
}

/* ---------- Grid ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin: 46px auto 0;
    max-width: 1600px;
    padding: 0 2px 80px;
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 20px 28px;
    }
}

.swatch {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    background: #eee;
    /* filtering animation state */
    transition: opacity .45s ease, transform .45s ease;
}

.swatch .cloth {
    position: absolute;
    inset: 0;
    transform: scale(1);
    transition: transform .6s ease;
    background-size: 100% 100% !important;
}

.swatch:hover .cloth {
    transform: scale(1.08);
}

.swatch .grain {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    opacity: .5;

}

.swatch .fold {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 30% 20%, rgba(255, 255, 255, .35), transparent 60%),
        radial-gradient(ellipse 60% 70% at 75% 80%, rgba(0, 0, 0, .22), transparent 65%),
        linear-gradient(125deg, rgba(255, 255, 255, .15) 0%, transparent 35%, rgba(0, 0, 0, .12) 70%);
}

.swatch .label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 22px 18px;
    background: linear-gradient(to top, rgba(20, 18, 14, .55), transparent);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}

.swatch:hover .label {
    opacity: 1;
    transform: translateY(0);
}

.swatch .label .name {
    font-size: 19px;
    letter-spacing: .01em;
}

.swatch .label .cat {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .85;
}

/* filter states applied by jQuery */
.swatch.is-hidden {
    opacity: 0;
    transform: scale(.94);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px 100px;
    color: var(--ink-soft);
    font-size: 14px;
    display: none;
}

.empty-state.is-visible {
    display: block;
}



/*-------------The House--------------*/

/* ===== Founder section ===== */
.founder {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%),
        linear-gradient(135deg, #f1ebdf 0%, #e9e0d0 45%, #e3d9c6 100%);
    padding: 0;
    font-family: 'CS Castle' !important;

    .eyebrow {
        font-size: 22px;
    }

}

.founder-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: stretch;
    min-height: 100vh;
    background: url(house-hero-bg.jpg) 50% 0 no-repeat;
    background-size: cover;
}

.founder-text {
    padding: 90px 60px 90px 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.founder-text-inner {
    position: relative;
    padding-right: 44px;
    border-right: 1px solid rgba(124, 99, 31, 0.45);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scrollbar-color: #4e3c22 transparent;
}

.founder-text-inner::-webkit-scrollbar {
    width: 5px;
}

.founder-text-inner::-webkit-scrollbar-track {
    background: transparent;
}

.founder-text-inner::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 6px;
}

.founder-text-inner::-webkit-scrollbar-thumb:hover {
    background: var(--gold-deep);
}

.founder-text h1 {
    font-size: 50px;
    margin: 8px 0 2px;
    font-weight: normal;
    color: #58524a;
    line-height: 1.05;
}

.founder-text .role {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #58524a;
    margin-bottom: 30px;
    display: block;
}

.founder-text p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    color: #58524a;
    margin: 0 0 12px;
    line-height: 1.7;
}

.more-inline {
    text-decoration: none;
    color: var(--ink);
    font-size: 12.5px;
    letter-spacing: .14em;
    font-weight: 600;
    white-space: nowrap;
    /*border-bottom: 1px solid var(--gold);*/
    padding-bottom: 1px;
    margin-left: 6px;
    transition: color .3s ease;
}

.more-inline:hover {
    color: var(--gold-deep);
}

.founder-photo {
    position: relative;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: scale(1.02);
}

/* ===== The House intro / timeline opener ===== */
.house-intro {
    background: var(--paper);
    padding: 90px 0 0;
}

.house-intro .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 40px;
}

.rishab-mark {
    text-align: center;
    margin-bottom: 20px;
}

.rishab-mark .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 6px;
    padding: 10px 22px;
}

.rishab-mark img {
    height: 94px;
    width: auto;
    display: block;
}

.beginning-card {
    background: #dfdcda;
    border-radius: 8px;
    padding: 25px;
}

.beginning-card .t-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 16px;
}

.beginning-card .t-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.beginning-card h3 {
    font-size: 21px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: normal;
}

.beginning-card p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
    color: #000;
    margin: 0;
}

.house-right h2 {
    font-size: 50px;
    margin-bottom: 18px;
    color: #58524a;
    font-weight: 300;
}

.house-right p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 500px;
    font-weight: 300;
}

.house-right {
    padding-top: 6px;
}

/* ===== Timeline ===== */
.t-card-wrap.side-left {
    /*padding-top: 80px;*/
}

.timeline-section {
    background: var(--paper);
    position: relative;
}

.timeline {
    position: relative;

}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: #ccc;
    opacity: .5;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    margin-left: -1px;
    background: #000;
    height: 0%;
    transition: height .1s linear;
}

.t-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 74px 1fr;
    align-items: center;

    &:first-child {
        border: 1px solid red;

        .t-card-wrap.side-left {
            margin-top: 60px;
        }
    }

    &:last-child {
        .t-card-wrap.side-right {
            margin-bottom: 60px;
        }
    }
}

.t-item.prologue {
    grid-template-columns: 1fr 74px 1fr;
}

.t-dot-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.t-dot {
    width: 16px;
    height: 16px;
    background: var(--paper);
    border: 2px solid var(--taupe);
    transform: rotate(45deg);
    transition: all .5s cubic-bezier(.2, 1, .3, 1);
}

.t-item.in .t-dot {
    background: var(--gold);
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 6px rgba(163, 130, 47, .16);
}

.t-card-wrap {
    min-width: 0;
}

.t-item .t-card-wrap.side-left {
    grid-column: 1;
    justify-self: end;
    text-align: right;
}

.t-item .t-card-wrap.side-right {
    grid-column: 3;
    justify-self: start;
    text-align: left;
}

.t-item .t-card-wrap.empty {
    visibility: hidden;
}

/* Year sits beside the card, vertically centered to it — dot (grid-centered on this row) then lines up with both */
.t-card-wrap:has(.t-year) {
    display: flex;
    align-items: center;
    gap: 22px;
}

.t-card-wrap.side-left:has(.t-year) {
    flex-direction: row-reverse;
}

.t-card-wrap.side-right:has(.t-year) {
    flex-direction: row;
}

.t-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: var(--ink);
    margin-bottom: 0;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.t-card {
    background: var(--card-bg);
    max-width: 400px;
    padding: 22px 22px 24px;
    border-radius: 2px;
    box-shadow: var(--shadow);
    display: inline-block;
    text-align: left;
}

.side-right .t-card {
    margin-right: 0;
}

.side-left .t-card {
    margin-left: 0;
}

.t-card h3 {
    font-size: 21px;
    margin-bottom: 14px;
    text-align: center;
}

.t-card .t-img {
    width: 100%;
    height: 170px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #ccc;
}

.t-card .t-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.t-card:hover .t-img img {
    transform: scale(1.06);
}

.t-card p {
    font-size: 14px;
    text-align: center;
    margin: 0;
    color: var(--ink-soft);
}

.prologue .t-card-wrap.side-left {
    grid-column: 1;
    justify-self: end;
    text-align: left;
}

.prologue .t-card-wrap.side-right {
    grid-column: 3;
    justify-self: start;
    text-align: left;
}

.prologue .t-dot-col {
    grid-column: 2;
}

.beginning-card {
    text-align: left;
    display: inline-block;
    max-width: 380px;
}

/* ===== Story split sections ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.split.reverse {
    direction: rtl;
}

.split.reverse>* {
    direction: ltr;
}

.split-media {
    position: relative;
    overflow: hidden;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.split-media:hover img {
    transform: scale(1.05);
}

.split-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 70px;
}

.split-text h2 {
    font-size: 46px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-weight: normal;
    color: #58524a;
}

.split-text p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    font-weight: 300;
}



.sustain {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 560px;
}

.sustain-media {
    overflow: hidden;
}

.sustain img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 560px;
}

.sustain-overlay {
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.sustain-overlay h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: #58524a;
    font-weight: normal;
    text-transform: uppercase;
}

.sustain-overlay p {
    font-family: 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
    font-weight: 300;
}



.rule {
    width: 56px;
    height: 1px;
    background: var(--gold);
    margin: 26px auto;
    opacity: .6;
}

/* ===== Responsive ===== */

@media (max-width:600px) {
    .menu-icon {
        width: 20px;
        height: 20px;
        position: absolute;
        flex-shrink: 0;
        cursor: pointer;
        right: 40px;
        top: 31px;
    }

    .brand {
        img {
            height: 65px;
            width: auto;
        }
    }
}

@media (max-width:920px) {
    body {
        overflow-x: hidden!important;
    }

    .nav-links {
        display: none;
    }

    .t-card-wrap {
        .inner-cont {
            background: #FFF;
            padding: 20px;
        }
    }

    .founder-grid {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
    }

    .founder-photo {
        height: 420px;
        order: -1;
    }

    .founder-text {
        padding: 56px 26px;
        height: auto;
        overflow: visible;
    }

    .founder-text-inner {
        max-width: 100%;
        padding-right: 0;
        border-right: none;
        max-height: none;
        overflow-y: visible;
    }

    .wrap {
        padding: 0 22px;
    }

    .timeline {
        padding: 40px 16px 20px;
    }

    .timeline-track,
    .timeline-progress {
        left: 50%;
        margin-left: 0;
        top: 106px;
    }

    .t-year {
        text-align: center;
        width: 100%;
        background: #FFF;
        margin-bottom: 34px;
        margin-top: 30px;
    }

    .t-item,
    .t-item.prologue {
        grid-template-columns: 0px 1fr;
        margin-bottom: 40px;
    }

    .t-dot-col {
        grid-column: 1;
    }

    .t-item .t-card-wrap.side-left,
    .t-item .t-card-wrap.side-right,
    .prologue .t-card-wrap.side-left,
    .prologue .t-card-wrap.side-right {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }

    .beginning-card {
        margin-bottom: 28px;
        max-width: 100%;
    }

    .t-card-wrap:has(.t-year) {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 8px;
    }

    .t-card {
        text-align: left;
        max-width: 100%;
    }

    .t-card h3 {
        text-align: left;
    }

    .t-card p {
        text-align: left;
    }

    .t-item .t-card-wrap.empty {
        display: none;
    }

    .split,
    .split.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .split-media {
        height: 320px;
    }

    .split-text {
        padding: 50px 26px;
    }

    .sustain {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .sustain img {
        min-height: 320px;
        height: 320px;
    }

    .sustain-overlay {
        width: 100%;
        padding: 40px 26px;
    }

    .founder-grid {
        background-size: 100%;
    }

    .founder-photo {
        height: 260px;
        order: -1;
    }
    .founder-text h1{
        font-size: 40px;
    }
    .founder-text .role{
        font-size: 20px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}