/* goldich.me — shared base styles */

:root {
  --bg: #DCD9CF;
  --panel: #D2CEC0;
  --panel-deep: #C6C1B0;
  --ink: #181712;
  --ink-soft: #3A3830;
  --steel: #6B6A62;
  --rust: #8A3B1F;
  --line: rgba(24,23,18,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

::selection { background: var(--rust); color: var(--bg); }
a { color: inherit; text-decoration: none; }
a:focus-visible, .entry:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.display { font-family: 'Archivo', sans-serif; font-stretch: condensed; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* top bar — shared across all pages */
.topbar {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark-small {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.topbar-link {
  font-size: 13px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.topbar-link:hover { color: var(--rust); border-color: var(--rust); }

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--steel);
  letter-spacing: 0.04em;
}

.breadcrumb a { border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.breadcrumb a:hover { color: var(--rust); border-color: var(--rust); }

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
}
