/* ============================================
   MEDEINĖ — Global Styles
   Light, minimal, Yeezy-style
============================================ */

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

:root {
  --bg: #f5f5f3;
  --bg-soft: #efedea;
  --bg-card: #f1efec;
  --ink: #111111;
  --ink-soft: #767676;
  --ink-muted: #aaaaaa;
  --ink-ghost: #d4d4d2;
  --line: #e0ddd8;
  --line-soft: #ebe8e3;
  --accent: #111111;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  letter-spacing: inherit;
}

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

::selection {
  background: var(--ink);
  color: var(--bg);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 20px 28px;
  background: var(--bg);
  height: 56px;
}

.site-logo {
  font-size: 11px;
  letter-spacing: 0.35em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.site-nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.site-nav a:hover, .site-nav a.active {
  opacity: 1;
}

.site-actions {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  align-items: center;
}

.site-actions a, .site-actions button {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.site-actions a:hover, .site-actions button:hover {
  opacity: 1;
}

/* ============ MAIN ============ */
main {
  padding-top: 56px;
  min-height: 100vh;
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 80px 28px 28px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 12px;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity 0.25s;
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .site-header {
    padding: 16px 20px;
    grid-template-columns: 1fr auto 1fr;
  }
  .site-nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .site-footer {
    padding: 60px 20px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
  }
}
