/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; border: none; }

html, body {
  width: 100%;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { min-height: 100vh; }

a { color: inherit; }

/* ---------- Header (shared) ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  z-index: 10;
}

.site-header.solid {
  position: relative;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo { display: flex; align-items: center; }
.logo img { height: 40px; margin-right: 15px; display: block; }
.logo-link { display: block; line-height: 0; }

.login, .connect {
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: background-color 0.3s, color 0.3s;
  border: 1px solid transparent;
}

.login:hover, .connect:hover { background-color: #fff; color: #000; }

.login { margin-right: 20px; }

/* ---------- Hero (homepage, unmolested) ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(#555, #111);
}

.hero canvas {
  background: radial-gradient(#FFF, #DDD);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; left: 0;
}

.centered-container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  width: 100%;
}

.centered-text {
  font-size: clamp(5rem, 10vw, 10rem);
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 4px 4px 8px rgba(0,0,0,0.5);
  letter-spacing: 25px;
}

.centered-subtext {
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #fff;
  margin-top: -8px;
  text-align: center;
  text-shadow: 4px 4px 8px rgba(0,0,0,0.5);
  letter-spacing: 5px;
}

/* ---------- About content (inside hero, below FLUX) ---------- */
.hero-about {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 580px;
  text-align: center;
  z-index: 10;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-about p + p { margin-top: 1em; }

.hero-about a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s;
}

.hero-about a:hover { border-bottom-color: #fff; }

/* ---------- Subpage content ---------- */
.page {
  min-height: calc(100vh - 60px);
  padding: 80px 24px 120px;
  display: flex;
  justify-content: center;
}

.page-inner {
  max-width: 740px;
  width: 100%;
}

.page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
  color: #fff;
}

.page .subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.page .last-updated {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page h2 {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 48px 0 16px;
  color: #fff;
}

.page h2:first-of-type { margin-top: 0; }

.page h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  margin: 28px 0 12px;
}

.page p {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1em;
}

.page p strong, .page li strong { font-weight: 600; color: #fff; }
.page p em, .page li em { font-style: italic; color: rgba(255,255,255,0.95); }

.page code {
  font-family: "SF Mono", Monaco, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 3px;
  color: #fff;
}

.page ul, .page ol {
  margin: 1em 0 1.5em 1.5em;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

.page li { margin-bottom: 0.5em; }

.page a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.page a:hover { border-bottom-color: #fff; }

.page address {
  font-style: normal;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
}

/* Contact page specifics */
.contact-block {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.12);
}

.contact-block h2 {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  margin: 0 0 12px;
  color: rgba(255,255,255,0.5);
}

.contact-block h2:not(:first-of-type) { margin-top: 32px; }

.contact-block a, .contact-block address {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.contact-block a { border-bottom: 1px solid rgba(255,255,255,0.3); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 24px 32px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}

.footer-identity { font-weight: 300; }
.footer-identity .company-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copyright {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .centered-text { letter-spacing: 15px; }
  .centered-subtext { letter-spacing: 3px; }
  .hero-about { font-size: 0.875rem; top: 70%; }
  .page { padding: 48px 20px 80px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { text-align: left; }
  .login, .connect { padding: 8px 12px; font-size: 0.875rem; letter-spacing: 2px; }
  .login { margin-right: 0; }
  .site-header { padding: 16px; }
  .logo img { height: 32px; margin-right: 10px; }
}

@media (max-height: 700px) {
  .hero-about { top: 72%; font-size: 0.9rem; line-height: 1.6; }
}
