/* Havstock site chrome: header (nav) + footer. Shared by the homepage and every blog page.
   Edit here, not in index.html. Loaded before each page's own styles. */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 6px; font: 500 15px "Geist", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 150ms, color 150ms, border-color 150ms; }
.btn.fill-light { background: #ffffff; color: #0a0a0a; }
.btn.fill-light:hover { background: #d4d4d4; }
.btn.line-light { border-color: #404040; color: #ffffff; background: transparent; }
.btn.line-light:hover { border-color: #ffffff; }
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; color: #d4d4d4; }
.nav-links span { cursor: default; }
.nav .btn { height: 40px; font-size: 14px; }
.nav-links a { text-decoration: none; color: #d4d4d4; }
.nav-links a:hover { color: #fff; }
.logo-word { font-weight: 600; letter-spacing: -0.03em; font-size: 20px; color: #fff; }
.ft { background: #000; color: #a3a3a3; padding: 72px 0 32px; border-top: 1px solid #1a1a1a; }
.footer-watermark { padding: 0 24px; text-align: center; overflow: hidden; }
.footer-wordmark { display: block; max-width: 1280px; margin: 40px auto 0; font-family: "Geist", sans-serif; font-weight: 500; font-size: clamp(44px, 16vw, 240px); line-height: 1; letter-spacing: -0.06em; white-space: nowrap; background: linear-gradient(to bottom, #454545 0%, #0a0a0a 62%, #000000 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; user-select: none; }
.footer-wordmark sup { font-size: 0.4em; vertical-align: super; }
.ft { padding-bottom: 0 !important; }
.ft { padding: 32px 0 0 !important; border-top: 1px solid #1a1a1a; }
.ft-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #737373; }
.ft-line nav { display: flex; gap: 24px; flex-wrap: wrap; }
.ft-line a { color: #a3a3a3; text-decoration: none; }
.ft-line a:hover { color: #fff; }
html body .nav { position: fixed; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, transform .35s ease; }
html body .nav.scrolled { background: rgba(10,10,10,0.55); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-bottom-color: rgba(255,255,255,0.08); }
html body .nav.on-light { background: rgba(255,255,255,0.6); border-bottom-color: rgba(0,0,0,0.06); }
html body .nav.on-light .logo-word { color: #0a0a0a; }
html body .nav.on-light img { box-shadow: 0 0 0 1px #e5e5e5; }
html body .nav.on-light .btn.fill-light { background: #0a0a0a; color: #fff; }
html body .nav .btn, html body .nav .logo-word { transition: background .3s, color .3s; }
html body .nav.hide { transform: translateY(-100%); }
html body .nav.on-light .nav-links a { color: #525252; }
html body .nav.on-light .nav-links a:hover { color: #0a0a0a; }
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  html body .nav .btn { height: 44px; padding: 0 18px; }
  html body .nav .wrap { height: 68px; }
  html body .ft-line { gap: 12px; }
  html body .ft-line nav { gap: 4px 20px; }
  html body .ft-line nav a { display: inline-block; padding: 8px 0; }
  html body .footer-wordmark { margin-top: 24px; }
  html body .ft-line { flex-direction: column-reverse; align-items: center; gap: 20px; text-align: center; }
  html body .ft-line nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
}
