<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Logo reveal</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Anton&family=Barlow:wght@400;600&display=swap">
<style>
:root { --bg:#0E0204; --amber:#FFA51F; --blush:#F7E6DA; --ink:#22060A; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--blush); font-family: Barlow, sans-serif; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stage { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); position: relative; }
.mark { width: min(72vw, 520px); overflow: hidden; clip-path: inset(0 100% 0 0);
animation: reveal 3.6s cubic-bezier(.16,1,.3,1) infinite; }
.mark svg { width: 100%; height: auto; display: block; }
.rule { position: absolute; left: 14%; right: 14%; top: 50%; height: 1px; background: var(--amber);
transform: scaleX(0); transform-origin: left; animation: rule 3.6s cubic-bezier(.16,1,.3,1) infinite; }
@keyframes reveal {
0%,8% { clip-path: inset(0 100% 0 0); }
42%,70% { clip-path: inset(0 0 0 0); }
92%,100% { clip-path: inset(0 0 0 100%); }
}
@keyframes rule {
0%,6% { transform: scaleX(0); opacity: 1; }
28% { transform: scaleX(1); opacity: 1; }
50%,100% { transform: scaleX(1); opacity: 0; }
}
</style>
</head>
<body>
<!-- Swap the word in the SVG for your house name. Anton, all caps. -->
<div class="stage">
<div class="rule" aria-hidden="true"></div>
<div class="mark">
<svg viewBox="0 0 800 140" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Maison">
<text x="0" y="112" font-family="Anton, sans-serif" font-size="140" fill="#FFA51F">MAISON</text>
</svg>
</div>
</div>
</body>
</html>