/* ========================================
   NIHILISTER BOT WEBSITE - SHARED STYLES
   Dark Gothic / Heretic Church Aesthetic
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --void-soil: #0c0a07;
  --surface: #17130f;
  --surface-2: #211b15;
  --bramble: #372d23;
  --bone: #ddd2c0;
  --bone-dim: #9b8f7c;
  --thorn: #8a3324;
  --thorn-bright: #c14f32;
  --moss: #5c6b3f;
  --moss-bright: #85994f;
  --gold: #c9a84c;
  --gold-dim: #8a7340;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  --shadow-glow-thorn: 0 0 30px rgba(138,51,36,0.15);
  --shadow-glow-moss: 0 0 30px rgba(92,107,63,0.15);

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--bone);
  background: var(--void-soil);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Throne background image with dark overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/bg-throne.png') center top / cover no-repeat;
  opacity: 0.15;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(138,51,36,0.10), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(92,107,63,0.06), transparent),
    rgba(12, 10, 7, 0.85);
  z-index: -1;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--thorn-bright);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

ul, ol {
  list-style: none;
}

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

code, pre {
  font-family: var(--font-mono);
}

/* ---------- Typography ---------- */
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
}

.font-body {
  font-family: var(--font-body);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-bone {
  color: var(--bone);
}

.text-bone-dim {
  color: var(--bone-dim);
}

.text-thorn {
  color: var(--thorn-bright);
}

.text-moss {
  color: var(--moss-bright);
}

.text-gold {
  color: var(--gold);
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-compact {
  padding: 48px 0;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  background: rgba(23, 19, 15, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bramble);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nav__brand:hover .nav__avatar {
  border-color: var(--thorn);
  box-shadow: 0 0 12px rgba(138,51,36,0.3);
}

.nav__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bone);
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--bone-dim);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link:hover {
  color: var(--bone);
  background: rgba(221,210,192,0.05);
}

.nav__link--active {
  color: var(--thorn-bright);
}

.nav__link--external {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link--external svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bone);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav--open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav--open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav--open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 10, 7, 0.98);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}

.nav--open .nav__mobile {
  display: flex;
}

.nav__mobile .nav__link {
  font-size: 1.1rem;
  padding: 12px 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--thorn);
  color: #fff;
  box-shadow: 0 4px 16px rgba(138,51,36,0.3);
}

.btn--primary:hover {
  background: var(--thorn-bright);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(138,51,36,0.4);
}

.btn--secondary {
  background: var(--moss);
  color: #fff;
  box-shadow: 0 4px 16px rgba(92,107,63,0.3);
}

.btn--secondary:hover {
  background: var(--moss-bright);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(92,107,63,0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1.5px solid var(--bramble);
}

.btn--ghost:hover {
  border-color: var(--bone-dim);
  color: var(--bone);
  background: rgba(221,210,192,0.05);
}

.btn--sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-base);
}

.card:hover {
  background: var(--surface-2);
  border-color: rgba(138,51,36,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-thorn);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(138,51,36,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bone);
  margin-bottom: 8px;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--bone-dim);
  line-height: 1.5;
}

/* Feature card (horizontal) */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: rgba(138,51,36,0.3);
  box-shadow: var(--shadow-glow-thorn);
}

.feature-card--reverse {
  direction: rtl;
}

.feature-card--reverse > * {
  direction: ltr;
}

.feature-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.feature-card__content {
  padding: 40px;
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card__desc {
  color: var(--bone-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Command card */
.command-card {
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.command-card:hover {
  border-color: rgba(138,51,36,0.4);
  background: var(--surface-2);
}

.command-card--expanded {
  border-color: rgba(138,51,36,0.5);
  box-shadow: var(--shadow-glow-thorn);
}

.command-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.command-card__name {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--bone);
}

.command-card__prefix {
  color: var(--bone-dim);
}

.command-card__category {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--moss-bright);
  background: rgba(92,107,63,0.15);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.command-card__desc {
  font-size: 0.85rem;
  color: var(--bone-dim);
  margin-top: 6px;
}

.command-card__body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bramble);
  display: none;
}

.command-card--expanded .command-card__body {
  display: block;
}

.command-card__body-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bone-dim);
  margin-bottom: 6px;
  margin-top: 12px;
}

.command-card__body-label:first-child {
  margin-top: 0;
}

.command-card__usage {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: rgba(0,0,0,0.3);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--gold);
}

.command-card__aliases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.command-card__alias {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: rgba(221,210,192,0.06);
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--bone-dim);
}

.command-card__perms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.command-card__perm {
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(138,51,36,0.15);
  color: var(--thorn-bright);
  padding: 3px 10px;
  border-radius: 100px;
}

.command-card__example {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--moss-bright);
  background: rgba(92,107,63,0.08);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.command-card__custom-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
}

/* ---------- Module Card ---------- */
.module-card {
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.module-card:hover {
  background: var(--surface-2);
  border-color: rgba(138,51,36,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-thorn);
}

.module-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.module-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bone);
  margin-bottom: 6px;
}

.module-card__count {
  font-size: 0.8rem;
  color: var(--bone-dim);
}

/* ---------- Search & Filter ---------- */
.search-bar {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
}

.search-bar__input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--surface);
  border: 1.5px solid var(--bramble);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--bone);
  transition: all var(--transition-base);
}

.search-bar__input::placeholder {
  color: var(--bone-dim);
}

.search-bar__input:focus {
  outline: none;
  border-color: var(--thorn);
  box-shadow: 0 0 0 3px rgba(138,51,36,0.15);
}

.search-bar__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--bone-dim);
  pointer-events: none;
}

/* Category chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.chip {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--surface);
  border: 1.5px solid var(--bramble);
  color: var(--bone-dim);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.chip:hover {
  border-color: var(--bone-dim);
  color: var(--bone);
}

.chip--active {
  background: var(--thorn);
  border-color: var(--thorn);
  color: #fff;
}

.chip--active:hover {
  background: var(--thorn-bright);
  color: #fff;
}

/* ---------- Thorn Divider ---------- */
.thorn-divider {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  color: var(--bramble);
  transition: color var(--transition-base);
}

.thorn-divider svg {
  width: 100%;
  height: 24px;
  display: block;
}

/* ---------- Hero Section ---------- */
.hero {
  padding: 140px 0 80px;
  text-align: center;
}

.hero__avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 32px;
  object-fit: cover;
  border: 3px solid var(--bramble);
  box-shadow: 0 0 60px rgba(138,51,36,0.2);
  animation: avatar-glow 3s ease-in-out infinite alternate;
}

@keyframes avatar-glow {
  from {
    box-shadow: 0 0 40px rgba(138,51,36,0.15);
    border-color: var(--bramble);
  }
  to {
    box-shadow: 0 0 80px rgba(138,51,36,0.35);
    border-color: rgba(138,51,36,0.5);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--bone);
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--bone-dim);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--bone);
  margin-bottom: 12px;
}

.section-header__subtitle {
  font-size: 1rem;
  color: var(--bone-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Donate Cards ---------- */
.donate-card {
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.donate-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.1);
}

.donate-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.donate-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bone);
  margin-bottom: 8px;
}

.donate-card__desc {
  font-size: 0.9rem;
  color: var(--bone-dim);
  margin-bottom: 20px;
}

/* ---------- Reward List ---------- */
.reward-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reward-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
}

.reward-item__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--bramble);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bone);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--bone-dim);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--bone);
}

.footer__bottom {
  border-top: 1px solid var(--bramble);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--bone-dim);
}

.footer__bottom a {
  color: var(--bone-dim);
  text-decoration: underline;
  text-decoration-color: var(--bramble);
}

.footer__bottom a:hover {
  color: var(--gold);
}

/* ---------- Animations ---------- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay utilities */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge--thorn {
  background: rgba(138,51,36,0.2);
  color: var(--thorn-bright);
}

.badge--moss {
  background: rgba(92,107,63,0.2);
  color: var(--moss-bright);
}

.badge--gold {
  background: rgba(201,168,76,0.2);
  color: var(--gold);
}

/* ---------- Version Badge ---------- */
.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(138,51,36,0.15);
  color: var(--thorn-bright);
  border: 1px solid rgba(138,51,36,0.25);
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--bramble);
  border-left: 4px solid var(--thorn);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px;
  margin: 24px 0;
}

.highlight-box__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.highlight-box__text {
  font-size: 0.95rem;
  color: var(--bone-dim);
  line-height: 1.6;
}

/* ---------- Commands Page Header ---------- */
.page-header {
  padding: 120px 0 40px;
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}

.page-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* ---------- Command Grid ---------- */
.command-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.command-grid--empty {
  display: none;
}

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  display: none;
}

.empty-state--visible {
  display: block;
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--bone);
  margin-bottom: 8px;
}

.empty-state__text {
  color: var(--bone-dim);
  font-size: 0.95rem;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--void-soil);
}

::-webkit-scrollbar-thumb {
  background: var(--bramble);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bone-dim);
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(138,51,36,0.4);
  color: var(--bone);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* ---------- Tablet (<= 768px) ---------- */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links--desktop {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero__avatar {
    width: 160px;
    height: 160px;
  }

  .section {
    padding: 60px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

  .feature-card__image {
    height: 220px;
  }

  .feature-card__content {
    padding: 28px;
  }

  .command-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile (<= 480px) ---------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 0 16px;
    height: 56px;
  }

  .hero {
    padding: 100px 0 48px;
  }

  .hero__avatar {
    width: 130px;
    height: 130px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
  }

  .section {
    padding: 48px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-card__content {
    padding: 20px;
  }

  .btn--lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .page-header {
    padding: 100px 0 32px;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Disabled links (coming soon) */
a[href="#"] { pointer-events: none; opacity: 0.45; cursor: default; }

