/* Unearthself Design System */
:root {
  --coal: #161718;
  --shale: #423530;
  --sandstone: #C99A4A;
  --ember: #F2684C;
  --ember-soft: #FC7D6D;
  --fossil: #F8F0ED;
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 0.4s;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--coal);
  background: var(--fossil);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
}
h1 { font-size: clamp(3.5rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { max-width: 65ch; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--shale); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-2xl) 0; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--space-md);
  background: rgba(248, 240, 237, 0.88);
  backdrop-filter: blur(12px);
}
.nav.scrolled { background: rgba(248, 240, 237, 0.96); }
.nav__logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
  color: var(--coal); letter-spacing: 0.02em;
}
.nav__mark {
  width: 28px; height: 28px; flex-shrink: 0;
}
.nav__links { display: flex; gap: 1.75rem; align-items: center; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--shale); }
.nav__cta {
  padding: 0.5rem 1.1rem; background: var(--ember); color: white !important;
  border-radius: 2px; font-size: 0.85rem; font-weight: 600;
}
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: white; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(22,23,24,0.28), rgba(40,18,6,0.55)),
    url('https://raw.githubusercontent.com/fortblocks/unearthself/main/assets:images:hero-badlands-dusk.jpg') center/cover no-repeat;
}
.hero__content { position: relative; z-index: 1; padding: var(--space-xl) var(--space-md); max-width: 900px; }
.hero h1 {
  color: white; margin-bottom: var(--space-md); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500; text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero__tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: rgba(248,240,237,0.92);
  margin-bottom: var(--space-lg); max-width: 32ch; margin-left: auto; margin-right: auto;
}
.hero__cta {
  display: inline-flex; padding: 0.9rem 1.8rem; background: var(--ember); color: white;
  font-weight: 600; border-radius: 2px;
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1.5px solid rgba(248,240,237,0.5); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 8px; background: rgba(248,240,237,0.7); border-radius: 2px;
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}
.philosophy { padding: var(--space-2xl) 0; text-align: center; }
.philosophy p { font-size: 1.35rem; color: var(--shale); max-width: 42ch; margin: 0 auto; }
.work { background: var(--coal); color: var(--fossil); padding: var(--space-3xl) 0; }
.work__header { text-align: center; margin-bottom: var(--space-xl); }
.work__header .lead { margin: 0 auto; text-align: center; color: rgba(248,240,237,0.75); }
.work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.work__card {
  text-align: center; padding: var(--space-lg) var(--space-md);
  border: 1px solid rgba(248,240,237,0.1); border-radius: 4px;
}
.work__rune { width: 48px; height: 48px; margin: 0 auto var(--space-md); color: var(--sandstone); }
.work__card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--fossil); }
.work__card p { font-size: 0.95rem; color: rgba(248,240,237,0.7); margin: 0 auto; }
.experiences { padding: var(--space-3xl) 0; background: var(--fossil); }
.experiences__header { text-align: center; margin-bottom: var(--space-xl); }
.experiences__header .lead { margin: 0 auto; text-align: center; }
.experiences__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.exp-card {
  background: white; border-radius: 4px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(22,23,24,0.06);
}
.exp-card:hover { transform: translateY(-4px); }
.exp-card__image { aspect-ratio: 4/3; background: var(--shale); overflow: hidden; }
.exp-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.78) contrast(1.05) brightness(0.93);
}
.exp-card__body { padding: var(--space-md); }
.exp-card__body h3 { font-size: 1.5rem; margin-bottom: 0.35rem; color: var(--coal); }
.exp-card__body p { font-size: 0.95rem; color: var(--shale); margin-bottom: var(--space-md); }
.exp-card__link { font-size: 0.85rem; font-weight: 600; color: var(--ember); }
.community { padding: var(--space-2xl) 0; background: var(--coal); color: var(--fossil); text-align: center; }
.community .lead { margin: 0 auto var(--space-lg); color: rgba(248,240,237,0.75); }
.community__stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); text-align: left; margin-bottom: var(--space-lg); }
.story { padding: var(--space-md); border: 1px solid rgba(248,240,237,0.12); border-radius: 4px; }
.story p { font-size: 0.95rem; color: rgba(248,240,237,0.85); margin-bottom: 0.75rem; }
.story cite { font-size: 0.8rem; font-style: normal; color: var(--sandstone); font-weight: 500; }
.invite {
  padding: var(--space-3xl) 0; text-align: center;
  background: linear-gradient(to bottom, rgba(22,23,24,0.5), rgba(40,20,8,0.7)), #423530;
  color: white;
}
.invite h2 { color: white; margin-bottom: var(--space-md); }
.invite p { color: rgba(248,240,237,0.9); margin: 0 auto var(--space-lg); max-width: 36ch; }
.invite__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; padding: 0.9rem 1.8rem;
  font-size: 0.95rem; font-weight: 600; border-radius: 2px;
}
.btn--primary { background: var(--ember); color: white; }
.btn--ghost { background: transparent; color: white; border: 1.5px solid rgba(248,240,237,0.5); }
.footer { background: var(--coal); color: rgba(248,240,237,0.7); padding: var(--space-xl) 0 var(--space-lg); font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
.footer__brand { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--fossil); margin-bottom: 0.75rem; display: flex; align-items: center; }
.footer h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fossil); margin-bottom: 1rem; }
.footer a { color: rgba(248,240,237,0.65); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-md); border-top: 1px solid rgba(248,240,237,0.1);
  font-size: 0.8rem; color: rgba(248,240,237,0.45);
}
@media (max-width: 900px) {
  .work__grid, .experiences__grid, .community__stories { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}