/* ============================================================
   LEIVANT — reference site chrome (header / menu / footer)
   Exact rebuild of the design supplied for the new homepage.
   ============================================================ */

/* ---------- header ---------- */
.hv-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  background: transparent;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hv-header.is-scrolled { background: rgba(15,18,17,.95); border-bottom-color: rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hv-header__bar {
  width: 100%; max-width: 1280px; margin: 0 auto;
  height: 84px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
@media (min-width:768px) { .hv-header__bar { padding: 0 32px; } }

.hv-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.hv-brand__mark {
  width: 48px; height: 48px; display: block; object-fit: contain;
  transition: transform .3s;
}
.hv-brand:hover .hv-brand__mark { transform: rotate(-6deg); }
.hv-brand__name { display: flex; flex-direction: column; line-height: 1; }
.hv-brand__name strong { font-family: "Barlow Condensed", sans-serif; font-size: 28px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hv-brand__name small { margin-top: 3px; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .72; }

.hv-nav { display: none; align-items: center; gap: 36px; }
@media (min-width:1024px) { .hv-nav { display: flex; } }
.hv-nav a {
  position: relative; padding: 10px 0; color: rgba(255,255,255,.82); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.hv-nav a::after { content:""; position:absolute; left:0; bottom:2px; width:0; height:2px; background:#d4a017; transition:width .3s; }
.hv-nav a:hover::after, .hv-nav a.is-active::after { width:100%; }
.hv-nav a:hover { color:#fff; }
.hv-nav a.is-active { color: #e7bd62; }

.hv-header__actions { display: flex; align-items: center; gap: 8px; }
.hv-phone {
  display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  background: #d4a017; color: #0f1211; border-radius: 3px; text-decoration: none;
  font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; white-space: nowrap;
}
@media (min-width:640px) { .hv-phone { display: inline-flex; } }
.hv-phone:hover { background: #e7bd62; }
.hv-phone svg { width: 14px; height: 14px; }

.hv-menu-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: #fff; border: 0; border-radius: 3px; cursor: pointer;
}
@media (min-width:1024px) { .hv-menu-btn { display: none; } }
.hv-menu-btn:hover { background: rgba(255,255,255,.08); }
.hv-menu-btn svg { width: 22px; height: 22px; }

.hv-progress { position:absolute; left:0; right:0; bottom:0; height:3px; background:#d4a017; transform-origin:left; transform:scaleX(0); }

/* ---------- mobile sheet ---------- */
.hv-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.hv-sheet.is-open { display: block; }
.hv-sheet__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.6); }
.hv-sheet__panel {
  position: absolute; top: 0; left: 0; height: 100%; width: min(360px, 86vw);
  background: #151917; padding: 84px 22px 30px; overflow-y: auto;
  box-shadow: 14px 0 50px rgba(0,0,0,.5);
}
.hv-sheet__close {
  position:absolute; top:18px; right:18px; width:36px; height:36px;
  display:grid; place-items:center; background:transparent; color:#fff; border:1px solid rgba(255,255,255,.14); border-radius:3px; cursor:pointer;
}
.hv-sheet__nav { display:grid; gap:2px; }
.hv-sheet__nav a {
  display:block; padding:14px 10px; color:#eceae5; text-decoration:none;
  font-family:"Barlow Condensed",sans-serif; font-size:26px; font-weight:700; text-transform:uppercase;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.hv-sheet__nav a.is-active { color:#e7bd62; }
.hv-sheet__foot { margin-top:28px; display:grid; gap:12px; font-family:"JetBrains Mono",monospace; font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.hv-sheet__foot a { color:#e7bd62; text-decoration:none; }

/* ---------- footer ---------- */
.hv-footer { background:#0f1211; color:#a8b0a9; border-top:1px solid rgba(255,255,255,.12); overflow:hidden; }
.hv-footer__top {
  width:100%; max-width:1280px; margin:0 auto; padding:80px 20px 40px;
  display:grid; gap:48px;
}
@media (min-width:768px) { .hv-footer__top { padding:80px 32px 40px; grid-template-columns:1.5fr 1fr 1fr; } }
.hv-footer__intro { max-width:380px; font-size:18px; line-height:1.6; color:#eceae5; }
.hv-footer__brela { margin-top:18px; font-family:"JetBrains Mono",monospace; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#e7bd62; }
.hv-footer__logo { margin-top:22px; width:56px; height:56px; object-fit:contain; }
.hv-footer h3 { margin:0 0 16px; font-family:"JetBrains Mono",monospace; font-size:11px; font-weight:400; letter-spacing:.16em; text-transform:uppercase; color:#a8b0a9; }
.hv-footer ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.hv-footer li a { color:#eceae5; text-decoration:none; transition:color .2s; }
.hv-footer li a:hover { color:#e7bd62; }
.hv-footer__word {
  margin:0 auto; max-width:1280px; padding:0 14px;
  font-family:"Barlow Condensed",sans-serif; font-size:22vw; line-height:.75; font-weight:800;
  letter-spacing:-.02em; text-transform:uppercase; text-align:center;
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.18); user-select:none;
}
@media (min-width:768px) { .hv-footer__word { font-size:19vw; } }
@media (min-width:1280px) { .hv-footer__word { font-size:240px; } }
.hv-footer__legal { border-top:1px solid rgba(255,255,255,.12); }
.hv-footer__legal p { width:100%; max-width:1280px; margin:0 auto; padding:24px 20px; font-size:13px; }
@media (min-width:768px) { .hv-footer__legal p { padding:24px 32px; } }

/* The homepage header uses the reference utility classes; extend it here. */
header.fixed.inset-x-0 > div:first-child { height: 84px !important; }
header.fixed.inset-x-0 nav a { letter-spacing: .1em; opacity: .9; }
header.fixed.inset-x-0 nav a:hover { opacity: 1; }
