:root {
  color: #fff;
  background: #171715;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f4ead9; }
main { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-content: center;
  gap: 10px;
  text-align: center;
  background: #171715;
  animation: leave 1s ease 1.9s forwards;
}

.loader svg { width: 132px; margin: auto; }
.loader path {
  fill: none;
  stroke: #e4c18a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw 1.5s ease forwards;
}
.loader strong { letter-spacing: .28em; }
.loader span { color: #b8955d; font-size: .8rem; letter-spacing: .2em; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(242, 181, 92, .42), transparent 22%),
    linear-gradient(180deg, #23231f 0%, #7c6044 54%, #d5b17d 100%);
}

#mountain { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun { position: absolute; top: 11%; width: 190px; height: 190px; border-radius: 50%; background: #ffcf8b; filter: blur(12px); box-shadow: 0 0 100px #ffcf8b; }
.mist { position: absolute; width: 70vw; height: 18vh; border-radius: 999px; background: rgba(255, 244, 224, .18); filter: blur(28px); animation: drift 18s linear infinite; }
.mist-a { top: 43%; left: -20vw; }
.mist-b { top: 55%; right: -24vw; animation-duration: 24s; animation-direction: reverse; }
.birds { position: absolute; top: 24%; left: 8%; color: #1d1b17; opacity: .45; letter-spacing: 1.8rem; animation: birds 19s linear infinite; }

.brand { position: relative; z-index: 2; max-width: 920px; text-align: center; text-shadow: 0 18px 60px #000; animation: rise 1.2s ease .5s both; }
.eyebrow { letter-spacing: .28em; text-transform: uppercase; font-size: .78rem; color: #e9d1aa; }
.brand h1 { margin: 18px 0; font-size: clamp(3.4rem, 9vw, 8.6rem); line-height: .88; font-weight: 900; }
.brand p { max-width: 680px; margin: 0 auto 28px; color: #f8ead3; font-size: 1.16rem; }
.brand a { display: inline-flex; padding: 15px 24px; border: 1px solid #fff6; border-radius: 999px; color: #1d1b17; background: #fff; text-decoration: none; font-weight: 800; }

.story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #fff2; }
.story article { min-height: 310px; padding: 34px; background: #211f1b; }
.story b { color: #b8955d; }
.story h2 { font-size: clamp(1.4rem, 2.3vw, 2.5rem); }

.collection { padding: 96px 6vw 120px; color: #201d18; background: #f4ead9; }
.collection .eyebrow { color: #7c6044; }
.collection h2 { margin: 8px 0 34px; font-size: clamp(2.4rem, 6vw, 5rem); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; min-height: 430px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 24px; border-radius: 30px; color: #fff; background: #332c22; box-shadow: 0 20px 70px #0002; transition: .35s transform, .35s box-shadow; }
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, #000c), var(--image) center/cover; filter: saturate(.8); transition: .35s transform, .35s filter; }
.card:hover { transform: translateY(-12px); box-shadow: 0 34px 90px #3a2a1480; }
.card:hover::before { transform: scale(1.08); filter: blur(2px) saturate(.9); }
.card h3, .card p { position: relative; margin: 0; }
.card h3 { font-size: 1.6rem; }
.card p { margin-top: 8px; color: #f0d19d; font-weight: 800; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes leave { to { opacity: 0; visibility: hidden; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes drift { to { transform: translateX(120vw); } }
@keyframes birds { to { transform: translateX(92vw) translateY(-10vh); } }

@media (max-width: 850px) {
  .story, .grid { grid-template-columns: 1fr; }
  .hero { padding: 20px; }
  .brand h1 { font-size: 3.2rem; }
}
