*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #ffffff;
    --sand: #dadada;
    --gold: #0079dd;
    --gold-dark: #000531;
    --charcoal: #000531;
    --mid: #3a4d80;
    --light: #dadada;
    --white: #FFFFFF;
    --gap: clamp(3rem, 8vw, 8rem);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 121, 221, 0.18);
    transition: box-shadow .3s;
}

nav.scrolled {
    box-shadow: 0 2px 24px rgba(0, 5, 49, .08);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-cta {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color .25s;
}

.nav-cta:hover {
    color: var(--charcoal);
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(0, 5, 49, .72) 0%, rgb(0 5 49 / 56%) 60%, rgba(0, 121, 221, .25) 100%), url(https://versailles.maisonjerome.fr/images/1.jpg) center / cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 780px;
    animation: fadeUp .9s ease both;
}

.hero-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(0, 121, 221, .25);
    border: 1px solid rgba(255, 255, 255, .55);
    padding: .45rem 1.2rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.6rem;
}

.hero h1 em {
    font-style: italic;
    color: #4da6ff;
}

.hero-sub {
    font-size: clamp(.9rem, 1.4vw, 1.05rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, .78);
    max-width: 540px;
    margin: 0 auto 2.8rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    transition: background .25s, transform .2s;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border: 1px solid rgba(255, 255, 255, .75);
    transition: border-color .25s, background .25s, transform .2s;
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .08);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 2.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    animation: pulse 2.4s ease-in-out infinite;
}

.hero-scroll span {
    display: block;
    font-size: 0.82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    margin-bottom: .6rem;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .5), transparent);
    margin: 0 auto;
}

/* ── SECTION WRAPPER ── */
section {
    padding: var(--gap) 1.5rem;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
}

/* ── GALLERY ── */
.gallery-section {
    background: var(--white);
}

.section-label {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
}

.section-intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--mid);
    max-width: 560px;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    grid-template-rows: 320px 240px;
    gap: 8px;
}

.gallery-grid .img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--sand);
}

.gallery-grid .img-wrap:first-child {
    grid-row: 1 / 3;
}

.gallery-grid .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease;
}

.gallery-grid .img-wrap:hover img {
    transform: scale(1.04);
}

.img-badge {
    position: absolute;
    bottom: .9rem;
    left: .9rem;
    background: rgba(0, 5, 49, .7);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, .85);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .35rem .75rem;
}

/* ── DESCRIPTION ── */
.desc-section {
    background: var(--cream);
}

.desc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.desc-visual {
    position: relative;
}

.desc-visual img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

.desc-visual::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1px solid rgba(0, 121, 221, .3);
    z-index: -1;
}

.desc-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 2;
    color: var(--mid);
    margin-bottom: 1.4rem;
}

.desc-text p:last-child {
    margin-bottom: 0;
}

/* ── PROJECT ── */
.project-section {
    background: var(--charcoal);
    color: var(--white);
}

.project-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.project-text .section-title {
    color: var(--white);
}

.project-text .section-intro {
    color: rgba(255, 255, 255, .6);
    max-width: 100%;
}

.project-img {
    position: relative;
}

.project-img img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.project-img .img-badge {
    bottom: .9rem;
    right: .9rem;
    left: auto;
}

/* ── KEY POINTS ── */
.points-section {
    background: var(--white);
}

.points-header {
    margin-bottom: 3.5rem;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1px;
    background: var(--sand);
    border: 1px solid var(--sand);
}

.point-item {
    background: var(--white);
    padding: 2rem 1.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: background .2s;
}

.point-item:hover {
    background: #f0f4fa;
}

.point-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.point-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 2;
}

.point-text {
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--charcoal);
}

/* ── PROJECTION ── */
.projection-section {
    background: var(--cream);
}

.projection-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.projection-imgs {
    display: block;
}

.projection-imgs .img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--sand);
}

.projection-imgs .img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform .7s;
}

.projection-imgs .img-wrap:hover img {
    transform: scale(1.04);
}

/* ── JEROME SIGNATURE ── */
.jerome-section {
    background: var(--sand);
    padding: clamp(3rem, 6vw, 5rem) 1.5rem;
}

.jerome-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.jerome-divider {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 2.4rem;
}

.jerome-divider::before,
.jerome-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 121, 221, .35);
}

.jerome-divider span {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
    white-space: nowrap;
}

.jerome-text {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.95;
    color: var(--mid);
}

/* ── CTA FINAL ── */
.cta-section {
    background:
        linear-gradient(to right, rgba(0, 5, 49, .92) 0%, rgba(0, 5, 49, .78) 100%),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&auto=format&fit=crop&q=80') center/cover no-repeat;
    text-align: center;
    padding: clamp(5rem, 10vw, 10rem) 1.5rem;
}

.cta-section .section-label {
    color: rgba(0, 121, 221, .85);
}

.cta-section .section-title {
    color: var(--white);
}

.cta-sub {
    font-size: clamp(.9rem, 1.2vw, 1.05rem);
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, .65);
    max-width: 500px;
    margin: 0 auto 3rem;
}

/* ── FOOTER ── */
footer {
    background: var(--charcoal);
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

footer .brand span {
    color: var(--gold);
}

footer .fine {
    font-size: 0.82rem;
    font-weight: 300;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .65);
}

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 5, 49, .6);
    backdrop-filter: blur(8px);
    place-items: center;
}

.modal-overlay.open {
    display: grid;
}

.modal-box {
    background: var(--white);
    padding: clamp(2rem, 5vw, 3.5rem);
    width: min(500px, 92vw);
    animation: fadeUp .35s ease both;
}

.modal-box h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 300;
    margin-bottom: .5rem;
}

.modal-box .modal-sub {
    font-size: .85rem;
    font-weight: 300;
    color: var(--mid);
    margin-bottom: 2rem;
}

.modal-close {
    float: right;
    margin-top: -3rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--light);
    transition: color .2s;
}

.modal-close:hover {
    color: var(--charcoal);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: .45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: 'Jost', sans-serif;
    font-size: .9rem;
    font-weight: 300;
    color: var(--charcoal);
    background: var(--cream);
    border: 1px solid var(--sand);
    padding: .75rem 1rem;
    outline: none;
    transition: border-color .2s;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.modal-submit {
    width: 100%;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 1rem;
    margin-top: .5rem;
    transition: background .25s;
}

.modal-submit:hover {
    background: var(--gold-dark);
}

.success-msg {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-msg .check {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-msg h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: .5rem;
}

.success-msg p {
    font-size: .9rem;
    font-weight: 300;
    color: var(--mid);
}

/* ── VIDEO ── */
.video-section {
    background: var(--white);
}

.video-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: center;
}

.video-text .section-intro {
    max-width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--charcoal);
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .video-layout {
        grid-template-columns: 1fr;
    }
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 5, 49, .92);
    backdrop-filter: blur(10px);
    place-items: center;
    cursor: zoom-out;
}

.lightbox.open {
    display: grid;
}

.lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 90svh;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
    animation: fadeUp .25s ease both;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 1.4rem;
    right: 1.8rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-caption {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    white-space: nowrap;
}

.img-wrap img,
.desc-visual img,
.project-img img {
    cursor: zoom-in;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: .5;
    }

    50% {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-d1 {
    transition-delay: .1s;
}

.reveal-d2 {
    transition-delay: .2s;
}

.reveal-d3 {
    transition-delay: .3s;
}

.reveal-d4 {
    transition-delay: .4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 320px 200px 200px;
    }

    .gallery-grid .img-wrap:first-child {
        grid-row: auto;
    }

    .desc-layout,
    .project-inner,
    .projection-layout {
        grid-template-columns: 1fr;
    }

    .desc-visual::before {
        display: none;
    }

    nav {
        padding: 1.2rem 1.5rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
	.nav-brand {
		margin:auto;
	}
	
    .points-grid {
        grid-template-columns: 1fr;
    }

    .projection-imgs {
        grid-template-columns: 1fr;
    }

    .projection-imgs .img-wrap:first-child {
        grid-column: auto;
    }
	
	.btn-header, .hero-scroll {
		display:none;

}