/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.6;
  letter-spacing: .06em;
  scroll-behavior: smooth;
}

body {
  color: #c6cddb;
  font-family: "Trebuchet MS", Verdana, "Verdana Ref", "Segoe UI", Candara, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
  /* Dot grid + noise background (pure CSS) */
  background-color: #1a2634;
  background-image:
    /* Subtle noise texture */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.06'/%3E%3C/svg%3E"),
    /* Vignette spotlight effect */
    radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%),
    /* Dot grid pattern */
    radial-gradient(#2a3a4d 2px, transparent 2px),
    radial-gradient(#253449 2px, transparent 2px);
  background-size:
    auto,
    100% 100%,
    40px 40px,
    40px 40px;
  background-position:
    0 0,
    0 0,
    0 0,
    20px 20px;
}

a {
  color: #c6cddb;
  text-decoration: none;
  border: none;
  transition-property: color;
  transition-duration: .4s;
  transition-timing-function: ease-out;
}

a:hover {
  color: #fff;
}

.feather {
  display: inline-block;
  vertical-align: -.125em;
  width: 1em;
  height: 1em;
}

/* Spotlight/Home styles */
#spotlight {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  max-width: 93%;
  margin: auto;
  font-size: 1.5rem;
  padding: 3em 0 2em;
}

#home-center {
  display: flex;
  flex-direction: column;
  width: 100%;
}

#home-title {
  margin: 0;
  text-align: center;
  /* Custom styles from custom.css */
  color: #ccc;
  font-family: 'Andada', 'Trebuchet MS', serif;
  text-shadow: rgba(0,0,0,0.5) 2px 2px 1px;
  font-size: 64px;
  line-height: 1em;
}

#home-subtitle {
  text-align: center;
  line-height: normal;
  font-size: .7em;
  font-style: italic;
  opacity: .9;
  /* Custom styles from custom.css */
  color: #8295A8;
  font-family: 'Dynalight', cursive;
  text-shadow: rgba(0,0,0,0.5) 2px 2px 1px;
  font-size: 42px;
  line-height: 44px;
  max-width: 280px;
  margin: 0.5em auto 2em;
  white-space: normal;
}

#home-subtitle br {
  display: block !important;
  content: "" !important;
  line-height: 0 !important;
}

#profile-photo {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 2em;
  object-fit: cover;
  opacity: 0.9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid #c6cddb;
}

#home-social {
  font-size: 1.4em;
  text-align: center;
  opacity: .8;
  margin-bottom: 1em;
}

#home-social a {
  margin: 0 .2em;
}

#home-nav {
  opacity: .8;
}

#home-nav a {
  display: block;
  text-align: center;
  margin-top: .5em;
}

.work-section,
.art-section,
.misc-section {
  margin: 1.5em auto 1em;
  max-width: 500px;
  font-size: 0.6em;
  opacity: 0.85;
}

.work-section h3,
.art-section h3,
.misc-section h3 {
  text-align: center;
  margin: 0 0 1em 0;
  font-size: 1.3em;
  color: #c6cddb;
  opacity: 0.8;
  text-shadow: rgba(0,0,0,0.5) 1px 1px 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.work-section ul,
.art-section ul,
.misc-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.work-section li,
.art-section li,
.misc-section li {
  margin: 0.8em 0;
  line-height: 1.6;
}

.work-section a,
.art-section a,
.misc-section a {
  color: #c6cddb;
  text-decoration: underline;
  text-decoration-color: rgba(198, 205, 219, 0.3);
  transition: all 0.3s ease;
}

.work-section a:hover,
.art-section a:hover,
.misc-section a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.work-note,
.art-note,
.misc-note {
  color: #8295A8;
  font-style: italic;
  font-size: 0.95em;
}

.section-icon {
  display: inline-flex;
  font-size: 1.4em;
  cursor: help;
  margin-right: 0.22em;
}

.section-icon svg {
  width: 1em;
  height: 1em;
}

#home-footer {
  text-align: center;
  font-size: .6em;
  line-height: normal;
  opacity: .6;
  /* Custom styles from custom.css */
  color: #6e737b;
  margin: 0.75em 0 0.5em 0;
  padding: 1em 0;
}

#home-footer p {
  margin-top: 0;
}

/* Animations */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation-name: fadeIn;
}

/* Mobile adjustments - prevent scrolling on small screens */
@media (max-height: 800px) {
  #spotlight {
    font-size: 1.3rem;
  }

  #home-title {
    font-size: 52px;
  }

  #home-subtitle {
    font-size: 36px;
    line-height: 38px;
  }
}

@media (max-height: 700px) {
  #spotlight {
    font-size: 1.2rem;
  }

  #home-title {
    font-size: 44px;
  }

  #home-subtitle {
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 1.2em;
  }

  #home-social {
    font-size: 1.2em;
  }

  #home-footer {
    margin: 0.5em 0 0.75em 0;
  }
}

@media (max-height: 600px) {
  #spotlight {
    font-size: 1rem;
  }

  #home-title {
    font-size: 38px;
  }

  #home-subtitle {
    font-size: 26px;
    line-height: 28px;
    margin-bottom: 1em;
  }

  #home-social {
    font-size: 1.1em;
  }

  #home-footer {
    margin: 0.375em 0 0.5em 0;
  }
}
