/* ==========================================================================
   layout.css — top nav, footer, hero scaffold
   ========================================================================== */

/* ============== NAV ============== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem var(--pad-x);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--ink);
}
.nav-logo .dot {
  width: 8px; height: 8px;
  background: var(--hot);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--hot);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  counter-reset: nav-item;
}
.nav-links a {
  color: var(--ink-2);
  position: relative;
}
.nav-links a:hover { color: var(--hot); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--hot);
}
.nav-links a::before {
  content: counter(nav-item, decimal-leading-zero) ".";
  counter-increment: nav-item;
  color: var(--ink-3);
  margin-right: 0.4rem;
}

.nav-meta { color: var(--ink-3); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-meta  { display: none; }
}

/* ============== HERO scaffold ============== */
.hero {
  min-height: 90vh;
  padding: 7rem 0 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-top .hot { color: var(--hot); margin-top: 0.4rem; }

.hero-title { margin-top: auto; margin-bottom: auto; }
.hero-title .line { overflow: hidden; display: block; }
.hero-title h1 {
  font-size: clamp(3.5rem, 12vw, 12rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero-title h1 .accent {
  color: var(--hot);
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}
.hero-title h1 .outline {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}

.hero-sub {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-sub p {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--ink-2);
  max-width: 38em;
  font-weight: 300;
  margin: 0;
}
.hero-sub p strong { color: var(--ink); font-weight: 500; }
.hero-sub .stamp {
  text-align: right;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.9;
}
.hero-sub .stamp .val { color: var(--hot); }

@media (max-width: 720px) {
  .hero { min-height: 80vh; padding: 6rem 0 3rem; }
  .hero-top { flex-direction: column; gap: 1rem; }
  .hero-sub { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-sub .stamp { text-align: left; }
}

/* ============== FOOTER ============== */
.site-footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}
.footer-brand h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}
.footer-brand h2 .serif { color: var(--hot); }
.footer-brand p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28em;
  margin: 0;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { color: var(--ink-2); font-size: 0.9rem; }
.footer-col a:hover { color: var(--hot); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blink { color: var(--hot); animation: blink 1.5s steps(2) infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
