/* Awkronos shared site styles.
   Used by index.html and projects/index.html — the two public brand pages.
   Tokens follow the locked brand palette: off-white-warm background,
   zinc text scale, single accent for interactive affordances. */

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

:root {
  --bg: #FAFAF8;
  --bg-warm: #F5F3EE;
  --bg-card: #FFFFFF;
  --text: #18181B;
  --text-secondary: #52525B;
  --text-tertiary: #71717A;
  --border: rgba(0,0,0,0.06);
  --accent: #0F766E;
  --accent-light: rgba(15,118,110,0.08);
  --accent-lighter: rgba(15,118,110,0.04);
  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { font-size: 18px; scroll-behavior: smooth; scroll-padding-top: 80px; }

section[id] { scroll-margin-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent-light); color: var(--text); }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--text);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: top 144ms var(--ease);
}

.skip-link:focus-visible { top: 0.75rem; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(250,250,248,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 2rem;
  height: 56px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 0.5rem;
}

.nav-logo svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }

.nav-links a {
  font-size: 0.8rem; color: var(--text-secondary); font-weight: 500;
  transition: color 144ms var(--ease);
}

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

.nav-cta {
  font-size: 0.8rem !important; font-weight: 500 !important;
  color: #fff !important; background: var(--text);
  padding: 0.4rem 1rem; border-radius: 6px;
  transition: transform 144ms var(--ease), opacity 144ms var(--ease);
}

.nav-cta:hover { transform: translateY(-1px); opacity: 0.9; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 500;
  color: #fff; background: var(--text);
  padding: 0.65rem 1.3rem; border-radius: 8px;
  transition: transform 144ms var(--ease), opacity 144ms var(--ease);
}

.btn-primary:hover { transform: translateY(-1px); opacity: 0.9; }

.btn-primary svg { width: 14px; height: 14px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text); background: transparent;
  padding: 0.65rem 1.3rem; border-radius: 8px;
  border: 1px solid var(--border);
  transition: background 144ms var(--ease), border-color 144ms var(--ease);
}

.btn-secondary:hover {
  background: var(--accent-lighter);
  border-color: var(--accent);
}

.btn-secondary svg { width: 14px; height: 14px; }

/* ---- FOOTER ---- */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left { font-size: 0.78rem; color: var(--text-tertiary); }

.footer-links { display: flex; gap: 1.5rem; list-style: none; }

.footer-links a {
  font-size: 0.78rem; color: var(--text-tertiary);
  transition: color 144ms var(--ease);
}

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

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 1rem; }
}
