html {
  min-height: 100%;
  background:
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    var(--bg-image) center / cover no-repeat fixed;
}

body {
  margin: 0;
  padding: 0;
  /* removed: min-height 100vh (breaks flow) */
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text-main);
  background: transparent;
}

main {
  flex: 1 0 auto;
  padding: 2.5rem 2rem;
}

.site-header {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1.5rem;
}

.logo {
  font-family: var(--font-logo);
  font-size: 2.45rem;
  line-height: 1.1;
  text-decoration: none;
  color: var(--text-main);
}

.menu {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  border-bottom-color: rgba(255,255,255,0.5);
  opacity: 0.9;
}

.glass {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
}

.section {
  max-width: 1100px;
  margin-bottom: 1.6rem;
}

.site-footer {
  flex-shrink: 0;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 1.1rem 1rem 1.3rem;
}

.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  /* removed: height 100vh (breaks flow) */
  width: 260px;
  padding: 1.5rem 1.2rem;
  background: rgba(10,12,18,0.92);
  backdrop-filter: blur(6px);
  border-left: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  z-index: 1000;
}

.hamburger-menu.open {
  transform: translateX(0);
}

.ham-item {
  color: var(--text-main);
  text-decoration: none;
  padding: 0.2rem 0;
}

.ham-item.tier-1 { padding-left: 0;   font-weight: 500; }
.ham-item.tier-2 { padding-left: 1rem; }
.ham-item.tier-3 { padding-left: 2rem; }

.hamburger-menu {
  z-index: 3000;
}

.breadcrumbs {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}
.breadcrumbs a { color: var(--text-main); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.breadcrumbs-visual {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0.3rem;
}
.breadcrumbs-visual .crumb-sep {
  opacity: 0.5;
}
