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

html {
  font-size: 18px;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #2E2E36;
}

/* Page Transitions */
body {
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.loaded {
  opacity: 1;
}

body.transitioning {
  opacity: 0;
}

/* Fixed Background */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(to top, rgba(67, 66, 89, 0.27), rgba(67, 66, 89, 0.27)),
    url('/images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Site Wrapper */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Main Content Area */
.site-main {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

.site-main .inner {
  background-color: rgba(46, 46, 54, 0.85);
  border-radius: 0;
  padding: 3rem;
}

/* Home Page */
.site-main.home .inner {
  background-color: transparent;
  padding: 0;
}

.headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.site-main h1 {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.tagline em {
  font-style: italic;
}

/* Navigation Buttons */
.home-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.home-nav.secondary {
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  min-width: 120px;
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Inner Pages */
.site-main.page .inner {
  text-align: left;
}

.back-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: all 0.25s ease;
}

.back-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

.page-image {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto 2rem auto;
}

.site-main.page h1 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* Content Styles */
.content {
  font-size: 1rem;
  line-height: 1.75;
  text-align: justify;
}

.content p {
  margin-bottom: 1.25rem;
}

.content p:last-child {
  margin-bottom: 0;
}

.content strong {
  font-weight: 600;
}

.content em {
  font-style: italic;
}

.content a {
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.25s ease;
}

.content a:hover {
  opacity: 0.7;
}

.content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 2rem 0;
}

/* Contact Form */
.contact-form {
  margin-top: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.15);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-form button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s ease;
}

.social-links a:hover {
  color: #ffffff;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Now Page Specific */
.now-updated {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
  
  .site-wrapper {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 3rem;
  }
  
  .site-main .inner {
    padding: 2rem 1.5rem;
  }
  
  .site-main h1 {
    font-size: 2rem;
  }
  
  .headshot {
    width: 100px;
    height: 100px;
  }
  
  .btn {
    min-width: 100px;
    padding: 0.5rem 1rem;
  }
  
  .content {
    text-align: left;
  }
}

/* Footer */
/* Footer */
.site-footer {
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: rgba(255, 255, 255, 0.8);
}