/* SAMPO — base.css
   Shared design tokens, typography, and base elements.
   Used by all pages. Do not add page-specific styles here.
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&family=Sora:wght@500;700&display=swap');

:root {
  /* Colors — locked design system */
  --bg: #0B0B0F;
  --surface: #141418;
  --surface-2: #1C1C22;
  --text: #F5F5F7;
  --text-dim: #A0A0A8;
  --text-muted: #6B6B74;
  --gold: #C2A14A;
  --blue: #3B82F6;
  --green: #22C55E;
  --orange: #F97316;
  --border: rgba(245, 245, 247, 0.08);
  --border-strong: rgba(245, 245, 247, 0.15);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 760px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 500;
}

p {
  color: var(--text);
  margin-bottom: var(--space-sm);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #D4B085;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

li {
  margin-bottom: 0.4rem;
  color: var(--text);
}

strong {
  color: var(--text);
  font-weight: 600;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(11, 11, 15, 0.85);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text) !important;
  text-decoration: none;
}

.site-logo span:first-child {
  color: #F5F5F7 !important;
}
.site-logo span:last-child {
  color: #C2A14A !important;
}

.site-logo:hover {
  color: var(--text) !important;
}

.site-logo:hover span {
  color: #D4B085 !important;
}

.site-nav {
  display: flex;
  gap: var(--space-md);
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--text-dim);
  font-weight: 400;
}

.site-nav a:hover {
  color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  margin-top: var(--space-2xl);
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-dim);
  font-weight: 400;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Utility */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
