/* --------------------------------------------------
   ISERA — HOW IT WORKS
-------------------------------------------------- */

:root {
    --ivory: #f7f4ee;
    --warm-white: #fcfaf6;
    --navy: #17243a;
    --gold: #a58a58;
    --soft-gold: #c2ad82;
    --line: rgba(23, 36, 58, 0.16);

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    background: var(--ivory);
    color: var(--navy);

    font-family: var(--sans);
    line-height: 1.6;
}


a {
    color: inherit;
}


/* HEADER */

.works-header {
    min-height: 76px;
    padding: 0 5vw;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}


.works-logo {
    font-family: var(--serif);
    font-size: 1.45rem;
    letter-spacing: 0.18em;

    text-decoration: none;
}


.works-nav {
    display: flex;
    gap: 1.5rem;
}


.works-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;

    text-decoration: none;
    text-transform: uppercase;
}


.works-nav a:hover,
.works-nav a[aria-current="page"] {
    color: var(--gold);
}


/* HERO */

.works-hero {
    padding: 4.5rem 8vw 2.5rem;
}


.works-hero-inner {
    width: min(100%, 1000px);
}


.works-eyebrow,
.section-eyebrow,
.step-label {
    margin: 0 0 1.1rem;

    color: var(--gold);

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.18em;
}


.works-hero h1 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 400;

    line-height: 1;
    letter-spacing: -0.04em;
}


/* HOUSE VISUAL */

.rhythm-visual {
    padding: 1rem 8vw 3rem;
}


.rhythm-visual-inner {
    width: min(100%, 1000px);
    margin: 0 auto;

    display: flex;
    justify-content: center;
}


.rhythm-house-image {
    width: 100%;
    max-width: 900px;
    height: auto;

    display: block;
}


/* FIVE STEPS */

.five-steps {
    padding: 2rem 6vw 5rem;
}


.steps-inner {
    position: relative;

    width: min(100%, 1200px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}


.steps-line {
    position: absolute;

    top: 7px;
    left: 8%;
    right: 8%;

    height: 1px;

    background: var(--gold);
    opacity: 0.65;
}


.step {
    position: relative;

    padding-top: 2.3rem;
}


.step-marker {
    position: absolute;

    top: 0;
    left: 0;

    width: 15px;
    height: 15px;

    background: var(--ivory);
    border: 2px solid var(--gold);
    border-radius: 50%;

    z-index: 2;
}


.step-label {
    margin-bottom: 0.8rem;
}


.step h2 {
    margin: 0 0 0.8rem;

    font-family: var(--serif);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 400;

    line-height: 1.1;
}


.step > p:not(.step-label) {
    margin: 0;

    font-size: 0.92rem;
    line-height: 1.55;
}


/* UNDERSTANDING THE RHYTHM */

.understanding {
    padding: 5rem 8vw;

    background: var(--navy);
    color: var(--warm-white);
}


.understanding-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}


.understanding .section-eyebrow {
    color: var(--soft-gold);
}


.understanding h2 {
    max-width: 850px;
    margin: 0 0 4rem;

    font-family: var(--serif);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 400;

    line-height: 1.08;
}


/* DAILY RHYTHM LINE */

.daily-rhythm {
    position: relative;

    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 1.5rem;

    padding-top: 2rem;
}


.daily-rhythm::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 3%;
    right: 3%;

    height: 1px;

    background: var(--soft-gold);
}


.rhythm-item {
    position: relative;
}


.rhythm-dot {
    position: absolute;

    top: -2rem;
    left: 0;

    width: 14px;
    height: 14px;

    border: 2px solid var(--soft-gold);
    border-radius: 50%;

    background: var(--navy);
}


.rhythm-item p {
    margin: 0;

    font-family: var(--serif);
    font-size: 1.15rem;
}


.understanding-closing {
    max-width: 750px;
    margin: 4rem 0 0;

    padding-top: 2.5rem;

    border-top: 1px solid rgba(255,255,255,0.18);

    font-family: var(--serif);
    font-size: clamp(1.4rem, 2vw, 1.9rem);

    line-height: 1.35;
}


/* PRIVACY */

.quiet-section {
    padding: 5rem 8vw;

    background: var(--warm-white);
}


.quiet-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}


.quiet-grid {
    margin-top: 2.5rem;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 0;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}


.quiet-item {
    min-height: 160px;
    padding: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid var(--line);
}


.quiet-item:first-child {
    padding-left: 0;
}


.quiet-item:last-child {
    border-right: 0;
}


.quiet-symbol {
    margin-bottom: 0.8rem;

    color: var(--gold);

    font-size: 1.8rem;
}


.quiet-item p {
    margin: 0;

    font-family: var(--serif);
    font-size: 1.4rem;
}


/* BENEFITS */

.benefits-section {
    padding: 5rem 8vw;
}


.benefits-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}


.benefits-inner h2 {
    margin: 0 0 3rem;

    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 400;

    line-height: 1.05;
}


.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 0 3rem;
}


.benefit {
    padding: 1.5rem 0;

    border-top: 1px solid var(--line);

    font-family: var(--serif);
    font-size: 1.35rem;
}


.benefit:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
}


/* MEMBERSHIP */

.membership-section {
    padding: 5rem 8vw;

    background: var(--warm-white);
}


.membership-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}


.membership-inner h2 {
    max-width: 750px;
    margin: 0 0 3rem;

    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.3rem);
    font-weight: 400;

    line-height: 1.1;
}


.membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;
}


.membership-grid p {
    margin: 0;

    padding-top: 1.5rem;

    border-top: 1px solid var(--line);
}


/* CLOSING */

.works-closing {
    padding: 5.5rem 8vw;

    background: var(--navy);
    color: var(--warm-white);

    text-align: center;
}


.works-closing-inner {
    width: min(100%, 850px);
    margin: 0 auto;
}


.works-closing h2 {
    margin: 0;

    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 400;

    line-height: 1;
}


.works-closing p {
    max-width: 680px;
    margin: 1.75rem auto 0;

    font-size: 1rem;
}


.works-closing .closing-line {
    margin-top: 2.75rem;

    color: var(--soft-gold);

    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.5vw, 2.1rem);
}


/* FOOTER */

.works-footer {
    padding: 1.75rem 5vw;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid var(--line);

    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.works-footer p {
    margin: 0;
}


.works-footer nav {
    display: flex;
    gap: 1.5rem;
}


.works-footer a {
    text-decoration: none;
}


/* TABLET */

@media (max-width: 900px) {

    .steps-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .steps-line {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;

        width: 1px;
        height: auto;
    }


    .step {
        padding: 0 0 3rem 3rem;
    }


    .step-marker {
        left: 0;
    }


    .daily-rhythm {
        grid-template-columns: 1fr;
        gap: 2rem;

        padding-left: 2.5rem;
    }


    .daily-rhythm::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;

        width: 1px;
        height: auto;
    }


    .rhythm-dot {
        top: 5px;
        left: -2.5rem;
    }


    .quiet-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }


    .quiet-item,
    .quiet-item:first-child {
        min-height: auto;
        padding: 1.5rem 0;

        border-right: 0;
        border-bottom: 1px solid var(--line);
    }


    .quiet-item:last-child {
        border-bottom: 0;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .works-header {
        padding: 0 1.25rem;
    }


    .works-logo {
        font-size: 1.2rem;
    }


    .works-nav {
        gap: 0.75rem;
    }


    .works-nav a {
        font-size: 0.58rem;
    }


    .works-hero {
        padding: 3.5rem 1.5rem 2rem;
    }


    .rhythm-visual {
        padding: 0 1.5rem 3rem;
    }


    .five-steps {
        padding: 2rem 1.5rem 4rem;
    }


    .understanding,
    .quiet-section,
    .benefits-section,
    .membership-section,
    .works-closing {
        padding: 4rem 1.5rem;
    }


    .benefits-grid {
        grid-template-columns: 1fr;
    }


    .benefit {
        border-bottom: 0;
    }


    .benefit:last-child {
        border-bottom: 1px solid var(--line);
    }


    .works-footer {
        padding: 1.75rem 1.5rem;
    }

}