/* Work Game Design — shared styles
   Palette taken from the logo: forged-stone grey and furnace orange. */

:root {
  --bg: #e5e2dd;          /* warm stone */
  --bg-alt: #d9d5ce;      /* deeper stone for alternating bands */
  --panel: #f3f1ed;       /* cards */
  --iron: #3b3a38;        /* nav + footer, charcoal not black */
  --iron-text: #ece8e1;
  --iron-mute: #b3aea6;
  --text: #2b2a28;
  --muted: #55524d;
  --dim: #6f6b65;
  --line: #c7c2ba;
  --orange: #f86808;      /* logo orange */
  --orange-hover: #ff7d26;
  --orange-deep: #9a3d02; /* orange for text on light stone (passes AA on every stone surface) */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; }

.wrap { max-width: 1280px; margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 56px;
  gap: 24px;
  background: var(--iron);
  border-bottom: 4px solid var(--orange);
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--iron-text);
  text-decoration: none;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.brand img { width: 52px; height: 52px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--iron-mute);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; border-bottom-color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
  text-decoration: none;
  color: #1f1e1c;
  background: var(--orange);
  border: 2px solid var(--orange);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn--gold, .btn--gold-soft, .btn--purple { background: var(--orange); }
.btn--outline { background: transparent; border-color: var(--iron); color: var(--iron); }
.btn--outline:hover { background: var(--iron); border-color: var(--iron); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.link-underline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.link-underline:hover { color: var(--orange-deep); }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--orange-deep);
  text-transform: uppercase;
}

.footer {
  background: var(--iron);
  border-top: 4px solid var(--orange);
  padding: 30px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--iron-mute);
  font-size: 13px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: var(--iron-text); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { padding: 12px 24px; flex-wrap: wrap; }
  .nav-links { gap: 22px; }
  .footer { padding: 26px 24px; }
}

@media (max-width: 680px) {
  .nav { justify-content: center; }
  .nav-links { gap: 18px; font-size: 14px; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--orange); color: #1f1e1c; font-weight: 700; padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--iron); outline-offset: 3px; }
.nav :focus-visible, .footer :focus-visible { outline-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
