/* ── Fonts ── */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/space-mono-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/space-mono-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/syne-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/syne-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/syne-800.ttf') format('truetype');
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #111111;
  --white: #f7f5f0;
  --lime: #2563ff;
  --mid: #8a8880;
  --light-border: #d8d5ce;
}

html, body {
  height: 100%;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* ── Background grid texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Top bar ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 28px;
  border-bottom: 2px solid var(--black);
  animation: fadeDown 0.5s ease both;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.topbar-right {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── Logo ── */
.logo-wrap {
  padding: 72px 0 60px;
  animation: fadeUp 0.6s 0.15s ease both;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.box-mark {
  width: 56px;
  height: 56px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: white;
}

.box-mark::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: -5px;
  bottom: -5px;
  background: var(--lime);
  z-index: -1;
  transition: transform 0.3s ease;
}

.box-mark:hover {
  transform: translate(-2px, -2px);
}

.box-mark:hover::after {
  transform: translate(4px, 4px);
}

.box-mark svg {
  width: 26px;
  height: 26px;
}

.logo-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-name em {
  font-style: normal;
  position: relative;
}

.logo-name em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--lime);
  opacity: 0.35;
  z-index: -1;
}

.logo-divider {
  width: 100%;
  height: 2px;
  background: var(--black);
  margin: 12px 0 8px;
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── Hero section ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 100px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
}

.hero-headline .highlight {
  display: inline-block;
  background: var(--lime);
  color: #ffffff;
  padding: 0 6px;
  line-height: 1.15;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #555;
  letter-spacing: 0.01em;
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 2px solid var(--black);
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  animation: fadeUp 0.6s 0.45s ease both;
}

footer .copy {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

footer .links {
  display: flex;
  gap: 28px;
}

footer .links a {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

footer .links a:hover {
  color: var(--black);
}

/* ── Decorative corner mark ── */
.corner-mark {
  position: fixed;
  bottom: 80px;
  right: 48px;
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.corner-mark svg {
  width: 200px;
  height: 200px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .page { padding: 0 20px; }
  .logo-wrap { padding: 48px 0 40px; }
  .logo { max-width: 100%; }
  .logo-top { flex-wrap: nowrap; gap: 10px; }
  .logo-name { font-size: clamp(2rem, 12vw, 2.8rem); }
  .logo-sub { font-size: 0.55rem; letter-spacing: 0.16em; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .infostrip { grid-template-columns: 1fr; }
  .info-cell { border-right: none; border-bottom: 1px solid var(--light-border); }
  .info-cell:last-child { border-bottom: none; }
  footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
  footer .links { flex-wrap: wrap; justify-content: center; }
  .corner-mark { display: none; }
}

@media (max-width: 400px) {
  .box-mark { width: 44px; height: 44px; }
  .box-mark svg { width: 20px; height: 20px; }
  .logo-name { font-size: clamp(1.8rem, 11vw, 2.2rem); }
}
