:root {
  --silver-soft: rgba(224, 228, 239, 0.85);
  --muted: rgba(224, 228, 239, 0.6);
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  background:
    linear-gradient(180deg, rgba(3, 5, 11, 0.7), rgba(5, 7, 18, 0.95)),
    url("https://images.unsplash.com/photo-1431744516192-10c4e3b2151f?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--silver-soft);
}

.page {
  min-height: 100vh;
  padding: 2rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 1rem;
  position: relative;
}

.field-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  background: rgba(2, 3, 10, 0.85);
  border: 1px solid rgba(224, 228, 239, 0.25);
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 9rem;
  display: none;
  z-index: 5;
  box-shadow: 0 20px 40px rgba(2, 3, 10, 0.6);
}

.field-dropdown:hover .dropdown-menu,
.field-dropdown:focus-within .dropdown-menu {
  display: flex;
}

.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
}

.dropdown-menu .nav-link {
  color: var(--silver-soft);
  padding: 0.25rem 0;
  letter-spacing: 0.2em;
}

.fields-section {
  margin-top: 3rem;
}

.fields-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.field-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--silver-soft);
  background: rgba(2, 3, 10, 0.55);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-height: 150px;
}

.field-card:hover,
.field-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
}

.field-card__label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.75);
}

.field-card__desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.4;
}

.hero {
  margin-top: 3rem;
}

.quote-block {
  margin-top: 2rem;
  font-style: italic;
  color: var(--muted);
}

.oversoul-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 20% 20%, rgba(199, 160, 180, 0.15), transparent 45%),
    linear-gradient(180deg, rgba(2, 3, 10, 0.9), rgba(5, 5, 12, 0.65));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.oversoul-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2.5s ease;
  z-index: -1;
}

.oversoul-layer--one {
  background-image: url("oversoul-bg.jpg");
}

.oversoul-layer--two {
  background-image: url("oversoul-bg-2.jpg");
}

.oversoul-layer.active {
  opacity: 1;
}

.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  position: relative;
  z-index: 1;
  margin: 0;
}

.return-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background-color: rgba(5, 7, 18, 0.85);
  border: 1px solid rgba(224, 228, 239, 0.5);
  color: var(--silver-soft);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.75rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.return-pill:hover,
.return-pill:focus-visible {
  background-color: rgba(224, 228, 239, 0.18);
  transform: translateY(-2px);
}

.field-detail {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--silver-soft);
}

.field-detail__card {
  background: rgba(3, 5, 12, 0.8);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 720px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65);
}

.field-detail__card h1 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.field-detail__card p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.76);
}

.page--morphic {
  background:
    linear-gradient(180deg, rgba(3, 4, 12, 0.85), rgba(8, 8, 16, 0.95)),
    url("home-bg.jpg");
  background-size: cover;
  background-position: center;
}

.page--descended {
  background:
    linear-gradient(180deg, rgba(5, 4, 10, 0.85), rgba(12, 8, 18, 0.95)),
    url("temple-hall.jpg");
  background-size: cover;
  background-position: center;
}

.page--digital {
  background:
    linear-gradient(180deg, rgba(4, 5, 14, 0.88), rgba(6, 8, 20, 0.95)),
    url("eveningdawn-bg.jpg");
  background-size: cover;
  background-position: center;
}

@media (max-width: 600px) {
  .fields-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

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