:root{--bg:#0B0A0A;--surface:#141212;--line:#2B2625;--text:#F3EEE8;--muted:#A9A099;--red:#B3122E;--red-text:#E5506A;--chip:rgba(11,10,10,.55)}
:root[data-palette="ivory"]{--bg:#F6F2EC;--surface:#FFFFFF;--line:#E3DBD1;--text:#151212;--muted:#6B625C;--red:#A10F28;--red-text:#A10F28}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Jost,system-ui,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:1280px;margin:0 auto;padding:0 40px}
.up{text-transform:uppercase;letter-spacing:.14em}
.serif{font-family:'Bodoni Moda',serif}
.muted{color:var(--muted)}
.logo{display:block;background:currentColor;-webkit-mask:url(img/eternelle-logo.png) center/contain no-repeat;mask:url(img/eternelle-logo.png) center/contain no-repeat;aspect-ratio:979/198}
.photo{position:relative;display:block;background:#2a1418 center/cover no-repeat;overflow:hidden}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;padding:0 26px;border-radius:999px;font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;border:1px solid transparent;cursor:pointer;transition:filter .15s,border-color .15s;font-family:inherit}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{filter:brightness(1.1)}
.btn-line{border-color:var(--line);color:var(--text)}
.btn-line:hover{border-color:var(--text)}
.btn-light{border-color:rgba(243,238,232,.6);color:#F3EEE8}
.btn-light:hover{border-color:#F3EEE8}
:focus-visible{outline:2px solid var(--red-text);outline-offset:3px}

/* Header */
.site-header{position:sticky;top:0;z-index:20;background:var(--bg);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:40px;height:84px}
.site-header .logo{width:150px;color:var(--text)}
.nav{display:flex;gap:28px;font-size:12px;font-weight:500}
.nav a:hover,.nav a[aria-current="page"]{color:var(--red-text)}
.header-end{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:12px;font-weight:500}
.menu-button{display:none;margin-left:auto;width:44px;height:44px;align-items:center;justify-content:center;background:none;border:0;color:var(--text);cursor:pointer}

/* Home */
.hero{position:relative;height:min(780px,calc(100vh - 84px));min-height:560px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;color:#F3EEE8}
.hero .photo{position:absolute;inset:0}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,10,10,.15) 0%,rgba(11,10,10,.45) 55%,rgba(11,10,10,.78) 100%)}
.hero-inner{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:22px;padding:0 24px}
.hero .logo{width:min(560px,80vw);color:#F3EEE8}
/* Tagline is the Canva export in The Seasons (vector shapes, no font file) */
.hero .line{margin:0;line-height:0}
.hero .line img{display:block;width:min(420px,78vw);height:auto}
.hero .kicker{margin:0;font-size:13px;letter-spacing:.3em}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:8px}
section.block{padding-top:112px}
.h2{margin:0;font-weight:500;font-size:30px;letter-spacing:.08em;text-transform:uppercase}
.row-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:28px}
.row-head a{font-size:12px;color:var(--red-text)}
.welcome{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:72px;align-items:center}
.welcome-text{display:flex;flex-direction:column;gap:22px;max-width:500px}
.welcome-text h2{margin:0;font-family:'Bodoni Moda',serif;font-weight:400;font-size:46px;line-height:1.12}
.welcome-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.welcome-photos .photo{height:440px}
.welcome-photos .photo+.photo{margin-top:64px}
.eyebrow{margin:0;font-size:12px;color:var(--red-text)}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.card{display:flex;flex-direction:column;gap:14px}
.card .frame{display:block;overflow:hidden}
.card .photo{height:420px;transition:transform .5s ease}
/* cards are not links any more, so no hover zoom */
.card .name{font-size:13px;font-weight:500}
.occasion{position:relative;display:block;overflow:hidden}
.occasion .photo{height:300px;transition:transform .5s ease}
.occasion:hover .photo{transform:scale(1.03)}
.occasion span{position:absolute;left:20px;top:20px;font-size:15px;font-weight:500;letter-spacing:.16em;color:#F3EEE8;text-shadow:0 1px 12px rgba(0,0,0,.5)}
.custom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.custom .photo{height:520px}
.custom-text{display:flex;flex-direction:column;gap:22px;max-width:460px}
.custom-text h2{margin:0;font-weight:500;font-size:40px;line-height:1.08;letter-spacing:.05em;text-transform:uppercase}
.lookbook{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.lookbook .photo{height:320px}
.contact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:40px;background:var(--surface);border:1px solid var(--line)}
.contact p{margin:0}
.contact .label{margin-bottom:6px;font-size:12px;color:var(--muted)}
.contact .value{font-size:20px}
.site-footer{margin-top:112px;border-top:1px solid var(--line)}
.site-footer .wrap{display:flex;justify-content:space-between;gap:40px;flex-wrap:wrap;padding-top:48px;padding-bottom:56px}
.site-footer .logo{width:150px;color:var(--text)}
.footer-nav{display:flex;gap:56px;font-size:12px}
.footer-nav span{display:flex;flex-direction:column;gap:10px}

/* Catalogue */
.page-title{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap;padding-top:56px}
.page-title h1,.page-title .title{margin:0;font-weight:500;font-size:56px;letter-spacing:.05em;line-height:1;text-transform:uppercase}
.page-title p{margin:0;max-width:320px;font-size:14px;color:var(--muted)}
.banner{margin-top:40px;height:440px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:36px}
.chip{height:38px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--muted);font:inherit;font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.chip:hover{color:var(--text);border-color:var(--text)}
.chip[aria-pressed="true"]{background:var(--red);border-color:var(--red);color:#fff}
.catalogue{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 24px;margin-top:36px;padding-bottom:40px}
.catalogue .photo{height:340px}
.catalogue .occ{font-size:12px;color:var(--muted);margin-top:-8px}

/* Bouquet */
.crumbs{padding-top:28px;margin-bottom:28px;font-size:11px;color:var(--muted)}
.crumbs .here{color:var(--text)}
.product{display:flex;gap:56px;flex-wrap:wrap;align-items:flex-start}
.gallery{flex:1 1 520px;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gallery .main{grid-column:1/-1;height:640px}
.gallery .thumb{height:150px;background-size:190%}
.details{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:30px}
.details h1{margin:0;font-weight:500;font-size:44px;letter-spacing:.05em;line-height:1.05;text-transform:uppercase}
.list{border-top:1px solid var(--line)}
.list p{margin:0;padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px}
.list .k{font-size:12px;text-transform:uppercase;letter-spacing:.14em}
.list .v{color:var(--muted);font-size:14px;text-align:right}
.related .photo{height:320px}

/* Palette switch for presenting */
.palette-switch{position:fixed;left:16px;bottom:16px;z-index:30;display:flex;border:1px solid var(--line);border-radius:999px;background:var(--bg);padding:3px;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.palette-switch button{height:30px;padding:0 14px;border:0;border-radius:999px;background:transparent;color:var(--muted);font:inherit;font-size:11px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.palette-switch button[aria-pressed="true"]{background:var(--text);color:var(--bg)}

/* Opening animation */
.intro{position:fixed;inset:0;z-index:50;background:#0B0A0A;color:#F3EEE8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;cursor:pointer;animation:intro-lift 1s cubic-bezier(.76,0,.24,1) 2.8s forwards}
.intro .logo{width:min(520px,62vw);clip-path:inset(0 100% 0 0);animation:intro-reveal 1.4s cubic-bezier(.65,0,.35,1) .35s forwards}
.intro .skip{position:absolute;bottom:24px;font-size:10px;letter-spacing:.2em;text-transform:uppercase;opacity:0;animation:intro-hint .6s ease 1s forwards}
.intro.gone{display:none}
body.playing .hero .photo{transform:scale(1.08);animation:hero-settle 1.8s cubic-bezier(.22,1,.36,1) 2.9s forwards}
body.playing .hero-inner>*{opacity:0;transform:translateY(10px);animation:hero-in .9s ease forwards}
body.playing .hero-inner>*:nth-child(1){animation-delay:3.15s}
body.playing .hero-inner>*:nth-child(2){animation-delay:3.3s}
body.playing .hero-inner>*:nth-child(3){animation-delay:3.45s}
body.playing .hero-inner>*:nth-child(4){animation-delay:3.6s}
@keyframes intro-reveal{to{clip-path:inset(0 0 0 0)}}
@keyframes intro-rule{to{width:160px}}
@keyframes intro-fade{to{opacity:.85}}
@keyframes intro-hint{to{opacity:.4}}
@keyframes intro-lift{to{transform:translateY(-100%)}}
@keyframes hero-settle{to{transform:scale(1)}}
@keyframes hero-in{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
 .intro{animation:intro-out .5s ease 1.2s forwards}.intro .logo{clip-path:none;animation:none} body.playing .hero .photo,body.playing .hero-inner>*{animation:none;transform:none;opacity:1}
 .card .photo,.occasion .photo{transition:none}
}
@keyframes intro-out{to{opacity:0;visibility:hidden}}

/* Tablet and phone */
@media (max-width:1000px){
 .wrap{padding:0 24px}
 .grid4,.catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}
 .welcome,.custom{grid-template-columns:1fr;gap:40px}
 .lookbook{grid-template-columns:repeat(3,minmax(0,1fr))}
 .lookbook .photo:nth-child(n+4){display:none}
}
@media (max-width:760px){
 .wrap{padding:0 16px}
 .site-header .wrap{height:64px;gap:16px}
 .site-header .logo{width:112px}
 .menu-button{display:flex}
 .nav,.header-end{display:none}
 .site-header.open .nav{display:flex;position:absolute;top:64px;left:0;right:0;flex-direction:column;gap:0;background:var(--bg);border-bottom:1px solid var(--line);padding:8px 16px 16px}
 .site-header.open .nav a{padding:12px 0;font-size:13px}
 .hero{height:calc(100svh - 64px);min-height:520px;align-items:flex-end;padding-bottom:40px}
 .hero .line{font-size:19px}
 .hero .kicker{font-size:10px}
 .hero .actions{width:100%;flex-direction:column}
 .hero .actions .btn{width:100%}
 section.block{padding-top:56px}
 .h2{font-size:20px}
 .welcome-text h2{font-size:28px}
 .welcome-photos .photo{height:220px}.welcome-photos .photo+.photo{margin-top:36px}
 .grid4{gap:24px 12px}
 .card .photo{height:230px}
 .card .name{font-size:11px}
 .occasion .photo{height:170px}
 .occasion span{left:12px;top:12px;font-size:12px}
 .custom .photo{height:260px}
 .custom-text h2{font-size:26px}
 .lookbook{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lookbook .photo{height:180px}.lookbook .photo:nth-child(n+4){display:block}.lookbook .photo:nth-child(5){display:none}
 .contact{grid-template-columns:1fr;padding:24px}
 .footer-nav{gap:32px}
 .page-title{padding-top:32px}
 .page-title h1,.page-title .title{font-size:34px}
 .banner{height:220px;margin-top:24px}
 .catalogue{gap:28px 12px}
 .catalogue .photo{height:230px}
 .gallery .main{height:440px}
 .gallery .thumb{height:80px}
 .details h1{font-size:30px}
 .related .photo{height:230px}
 .palette-switch{left:auto;right:12px;bottom:12px}
}

/* Home as one page (Figma, 23 Nov) */
.home-bouquets{scroll-margin-top:84px;padding-bottom:40px}
.home-bouquets .page-title{padding-top:72px}

/* Coming-soon pop-up: tap anywhere to close */
.popup{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(5,4,4,.78);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);opacity:0;transition:opacity .3s ease;cursor:pointer;outline:none}
.popup[hidden]{display:none}
.popup.open{opacity:1}
.popup-card{display:flex;flex-direction:column;align-items:center;gap:14px;width:min(100%,calc((100vh - 80px) * .8),760px);transform:translateY(12px) scale(.98);transition:transform .4s cubic-bezier(.22,1,.36,1)}
.popup.open .popup-card{transform:none}
.popup-card img{display:block;width:100%;height:auto;box-shadow:0 24px 80px rgba(0,0,0,.6)}
.popup-hint{margin:0;font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:rgba(243,238,232,.7)}
@media (prefers-reduced-motion:reduce){.popup,.popup-card{transition:none}}

.page-title{padding-top:72px}


/* Hero keeps the Figma frame's shape (1440 x 780) on tablets and computers, so the whole photo shows at any window size */
@media (min-width:761px){
 .hero{height:auto;min-height:0;aspect-ratio:1440/780}
}

/* Collection name: Canva script export (vector shapes) */
.page-title .title-script{line-height:0}
.page-title .title-script img{display:block;width:min(520px,86vw);height:auto}

/* Womens man collection: large photos, 2 x 2 on computers, one per row on phones */
.home-bouquets .catalogue{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px;padding-bottom:64px}
.home-bouquets .catalogue .photo{height:auto;aspect-ratio:4/5}
@media (max-width:760px){
 .home-bouquets .catalogue{grid-template-columns:1fr;gap:16px;margin-top:28px;padding-bottom:40px}
 .home-bouquets .catalogue .photo{height:auto;aspect-ratio:4/5}
}

/* Contact section */
.home-bouquets.wrap,.home-bouquets.wrap .catalogue{padding-bottom:0}
.contact-section{scroll-margin-top:84px;padding-top:112px}
.reach-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px}
.reach{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;min-height:190px;padding:32px;border:1px solid var(--line);background:var(--surface);color:var(--text);transition:border-color .25s ease,background .25s ease}
.reach:hover{border-color:var(--red);background:#1A1415}
.reach:focus-visible{outline:2px solid var(--text);outline-offset:3px}
.reach>span{display:flex;flex-direction:column;justify-content:space-between;align-self:stretch;gap:24px;min-width:0}
.reach-name{font-size:30px;line-height:1.1}
.reach-sub{font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.reach svg{flex:none;color:var(--red-text)}
@media (max-width:760px){
 .contact-section{scroll-margin-top:64px;padding-top:72px}
 .reach-grid{grid-template-columns:1fr;gap:12px;margin-top:20px}
 .reach{min-height:132px;padding:22px}
 .reach-name{font-size:24px}
}
