/* ============================================================
   INDRUS — chrome: buttons, header, navigation, footer
   ============================================================ */

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  font-family: var(--f-body); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  border-radius: 1px;
  cursor: pointer; white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease),
              background 0.45s var(--ease), transform 0.4s var(--ease);
}
.btn > * { position: relative; z-index: 2; }

/* primary — brass fill, ink text, a slow light sweep on hover */
.btn-primary { background: var(--brass); color: var(--ink); border-color: var(--brass); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.85s var(--ease);
}
.btn-primary:hover { background: var(--brass-hi); border-color: var(--brass-hi); }
.btn-primary:hover::before { transform: translateX(130%); }

/* ghost — hairline outline, brass fill wipes up on hover */
.btn-ghost { background: transparent; color: var(--ivory); border-color: var(--hair-strong); }
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--brass);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--brass); }
.btn-ghost:hover::before { transform: scaleY(1); }

/* line — bare underlined text link */
.btn-line {
  position: relative; background: transparent; color: var(--ivory);
  border: 0; padding: 14px 2px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
}
.btn-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px;
  height: 1px; background: var(--brass);
  transform: scaleX(0.18); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.btn-line:hover { color: var(--brass); }
.btn-line:hover::after { transform: scaleX(1); }

.btn:active { transform: translateY(1px); }

/* arrow link */
.arrow-link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 6px 0;
  color: var(--ivory); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  transition: color 0.35s var(--ease);
}
.arrow-link .arrow {
  width: 30px; height: 1px; background: currentColor;
  position: relative; transition: width 0.4s var(--ease);
}
.arrow-link .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.arrow-link:hover { color: var(--brass); }
.arrow-link:hover .arrow { width: 50px; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100; padding: 20px 0;
  background: linear-gradient(180deg, rgba(11,9,8,0.94) 0%, rgba(11,9,8,0.42) 58%, rgba(11,9,8,0) 100%);
  transition: background 0.45s var(--ease), padding 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(11,9,8,0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--hair);
  padding: 13px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* wordmark */
.wordmark {
  display: inline-flex; align-items: center;
  transition: opacity 0.3s var(--ease);
}
.wordmark:hover { opacity: 0.82; }
.wordmark img { height: 38px; width: auto; display: block; }
@media (max-width: 480px) { .wordmark img { height: 33px; } }

/* nav links */
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory); font-weight: 600; position: relative; padding: 7px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a.active { color: var(--brass); }
.nav-links a:hover { color: var(--brass); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.42s var(--ease);
}
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.wa-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--hair-strong); border-radius: 50%;
  color: var(--ivory);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease),
              background 0.35s var(--ease), transform 0.35s var(--ease);
}
.wa-icon:hover {
  border-color: var(--brass); color: var(--brass);
  background: var(--glow); transform: translateY(-2px);
}
.wa-icon svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--hair-strong); border-radius: 50%;
  align-items: center; justify-content: center;
  transition: border-color 0.35s var(--ease);
}
.nav-toggle:hover { border-color: var(--brass); }
.nav-toggle .bars { display: block; width: 15px; height: 8px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--ivory); transition: transform 0.35s var(--ease);
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { bottom: 0; }

/* ---------- MOBILE DRAWER ---------- */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--ink); z-index: 90;
  padding: 104px var(--gutter) 36px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  display: none;
  flex-direction: column; gap: 0;
  visibility: hidden;
  counter-reset: m;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateY(0); visibility: visible; }
@media (max-width: 980px) {
  .mobile-drawer { display: flex; }
}
.mobile-drawer > a {
  position: relative;
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 0;
  font-family: var(--f-display); font-size: clamp(30px, 9vw, 40px); font-weight: 400;
  border-bottom: 1px solid var(--hair);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.mobile-drawer > a::before {
  counter-increment: m;
  content: counter(m, decimal-leading-zero);
  font-family: var(--f-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--brass);
  transform: translateY(-0.4em);
}
.mobile-drawer.open > a { opacity: 1; transform: translateY(0); }
.mobile-drawer.open > a:nth-child(1) { transition-delay: 0.10s; }
.mobile-drawer.open > a:nth-child(2) { transition-delay: 0.16s; }
.mobile-drawer.open > a:nth-child(3) { transition-delay: 0.22s; }
.mobile-drawer.open > a:nth-child(4) { transition-delay: 0.28s; }
.mobile-drawer.open > a:nth-child(5) { transition-delay: 0.34s; }
.mobile-drawer.open > a:nth-child(6) { transition-delay: 0.40s; }
.mobile-drawer.open > a:nth-child(7) { transition-delay: 0.46s; }
.mobile-drawer > a:hover { color: var(--brass); }
.mobile-drawer .drawer-foot {
  margin-top: auto; padding-top: 36px;
  display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transition: opacity 0.5s var(--ease) 0.52s;
}
.mobile-drawer.open .drawer-foot { opacity: 1; }
.mobile-drawer .drawer-foot .btn { justify-content: center; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .btn-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--hair);
  padding: clamp(60px, 7vw, 100px) 0 36px;
  color: var(--ivory-2);
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute;
  left: 50%; bottom: -40%; transform: translateX(-50%);
  width: 120%; height: 80%;
  background: radial-gradient(ellipse at center, var(--glow-2) 0%, transparent 68%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 72px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer-mark { margin-bottom: 24px; }
.footer-mark img { height: 46px; width: auto; display: block; }
.footer-col h5 {
  font-family: var(--f-body); font-size: 10px; letter-spacing: 0.26em;
  text-transform: uppercase; font-weight: 600; color: var(--ivory-mute);
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px; color: var(--ivory-2);
  position: relative; width: fit-content;
  display: inline-block; padding: 5px 0;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer-col a::before {
  content: ""; position: absolute; left: -14px; top: 50%;
  width: 7px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer-col a:hover { color: var(--brass); padding-left: 14px; }
.footer-col a:hover::before { transform: scaleX(1); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px; border-top: 1px solid var(--hair);
  font-size: 12px; color: var(--ivory-dim); letter-spacing: 0.04em;
}
.footer-base .quiet-link {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory-dim); transition: color 0.3s var(--ease);
}
.footer-base .quiet-link:hover { color: var(--brass); }
@media (max-width: 520px) {
  .footer-base { flex-direction: column; gap: 14px; align-items: flex-start; }
}
