/* Labyrinth Trading — one-page institutional presence */

:root {
  --bg: #0a0a0c;
  --bg-raised: #0d0d0f;
  --ink: #e8e6e0;
  --ink-dim: #9a9aa0;
  --ink-faint: #6b6b70;
  --hairline: rgba(232, 230, 224, 0.09);
  --gold: #d4af37;
  --gold-dim: #8a7320;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI",
    "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Subtle repeated mark, purely decorative texture using the official logo */
.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("/assets/mark-96.png");
  background-repeat: repeat;
  background-size: 150px 150px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 40%, black 0%, transparent 75%);
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.5rem, 5vw, 3.5rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.wordmark img {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 3px;
}

.wordmark span {
  white-space: nowrap;
}

.header-meta {
  color: var(--ink-faint);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 6vw, 3.5rem);
}

.hero {
  max-width: 640px;
  text-align: center;
}

.hero-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 2rem;
  border-radius: 6px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hero .tagline {
  margin: 1.1rem 0 0;
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  text-transform: uppercase;
}

.hero .description {
  margin: 2.25rem auto 0;
  max-width: 520px;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.7;
  color: #c7c6c2;
  font-weight: 400;
}

.hero .description + .description {
  margin-top: 1.1rem;
}

.contact {
  margin-top: 3rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--hairline);
}

.contact-label {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.contact a {
  color: var(--ink);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}

.site-footer {
  padding: 2rem clamp(1.5rem, 5vw, 3.5rem) 2.25rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

@media (max-width: 560px) {
  .site-header {
    padding: 1.5rem 1.25rem;
  }

  .header-meta {
    font-size: 0.68rem;
  }

  .site-main {
    padding: 2.5rem 1.5rem;
  }

  .contact {
    margin-top: 2.25rem;
    padding-top: 1.75rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: rise 0.6s ease-out both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
