/* Global styles */
:root {
  --background: #000000;
  --text: #f2f2f2;
  --accent: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 1000;
  background: transparent;
}

.logo {
  font-family: 'EB Garamond', serif;
  font-size: 1.5rem;
  color: var(--text);
  text-transform: lowercase;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(255,255,255,0.15);
}

main {
  padding-top: 80px; /* offset for header */
}

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section h1 {
  font-family: 'EB Garamond', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.section p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Invocation specific styles */
.invocation h1 {
  font-size: 2.5rem;
}

.invocation p {
  font-size: 1.5rem;
}

/* Experiments */
.experiments h1 {
  font-size: 2rem;
  font-weight: normal;
}

/* Archive */
.archive h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-transform: lowercase;
}

.artifact {
  width: 80%;
  max-width: 700px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  color: var(--text);
}

.artifact summary {
  cursor: pointer;
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.artifact summary::-webkit-details-marker {
  display: none;
}

.artifact .quote {
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.artifact-content {
  margin-top: 1rem;
}

.artifact-content .poem {
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.artifact-content audio {
  display: none;
}


.spiral-container {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.spiral-container img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Contact */
.contact h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.contact form {
  width: 80%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.contact label {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.contact input[type="text"],
.contact textarea {
  padding: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

.contact textarea {
  min-height: 100px;
}

.contact input[type="submit"] {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contact input[type="submit"]:hover {
  background: rgba(255,255,255,0.2);
}

/* Details animation: optional subtle arrow rotation */
.artifact[open] summary {
  color: var(--accent);
}

