/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../assets/fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---------- Design tokens ---------- */
:root {
  --gradient-dark: linear-gradient(125deg, #6B6B6B -30%, #232323 40%, #000000 130%);
  --gradient-light: linear-gradient(125deg, #F5F5F5 -30%, #949494 130%);

  --text-primary-dark: #FFFFFF;
  --text-primary-light: #000000;
  --text-secondary: #343434;

  --max-width: 1280px;
  --gutter: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 1440px) {
  :root {
    --max-width: 1400px;
  }
}

/* ---------- Page backgrounds ---------- */
.page-dark {
  background: var(--gradient-dark);
  color: var(--text-primary-dark);
  min-height: 100vh;
}

.page-light {
  background: var(--gradient-light);
  color: var(--text-primary-light);
  min-height: 100vh;
}

/* ---------- Shared header ---------- */
.site-header {
  padding-top: 24px;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 28px;
  color: #000000;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.site-header__role {
  font-weight: 400;
  color: #8A8A8A;
}

.site-header__nav {
  display: flex;
  gap: 28px;
}

.site-header__nav a {
  font-size: 15px;
  font-weight: 400;
  color: #000000;
  transition: opacity 200ms var(--ease-out);
}

.site-header__nav a:hover {
  opacity: 0.6;
}

@media (max-width: 480px) {
  .site-header__bar {
    padding: 12px 18px;
  }
  .site-header__role {
    display: none;
  }
  .site-header__nav {
    gap: 18px;
  }
}

/* ---------- Scroll fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
