@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Courier+Prime&display=swap");

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

:root {
  --flesh: #4a3428;
  --rust: #3d2817;
  --decay: #2a1a0f;
  --bone: #5d4a3a;
  --copper: #6b4423;
  --bronze: #8b6f47;
  --glow: #9d7a54;
  --void: #0a0604;
}

body {
  background: var(--void);
  color: var(--bronze);
  font-family: "Share Tech Mono", "Courier New", monospace;
  line-height: 1.5;
  overflow-x: hidden;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(74, 52, 40, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(61, 40, 23, 0.1) 0%,
      transparent 50%
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='5'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

a {
  color: var(--bronze);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 30px;
}

/* Header biomechanical */
header {
  margin-bottom: 80px;
  padding: 40px;
  position: relative;
  border: 1px solid var(--flesh);

  background: linear-gradient(rgba(10, 6, 4, 0.7), rgba(10, 6, 4, 0.85)),
    url("/assets/header.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8),
    inset 0 2px 1px rgba(139, 111, 71, 0.1), 0 10px 50px rgba(0, 0, 0, 0.9);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--copper) 20%,
    var(--bronze) 50%,
    var(--copper) 80%,
    transparent 100%
  );
  opacity: 0.5;
}

header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--flesh) 50%,
    transparent 100%
  );
}

.title {
  font-size: 2.5rem;
  letter-spacing: 8px;
  text-align: center;
  color: var(--glow);
  text-shadow: 0 0 20px rgba(157, 122, 84, 0.3), 0 2px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 20px;
  font-weight: 400;
}

.subtitle {
  text-align: center;
  font-size: 0.75rem;
  color: var(--bone);
  letter-spacing: 4px;
  opacity: 0.6;
}

/* Navigation */
nav {
  margin-bottom: 100px;
  display: flex;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
}

nav a {
  padding: 15px 25px;
  background: linear-gradient(180deg, var(--rust) 0%, var(--decay) 100%);
  color: var(--bronze);
  text-decoration: none;
  border: 1px solid var(--flesh);
  border-right: none;
  font-size: 0.85rem;
  letter-spacing: 2px;
  transition: all 0.2s;
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

nav a:last-child {
  border-right: 1px solid var(--flesh);
}

nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

nav a:hover {
  background: linear-gradient(180deg, var(--flesh) 0%, var(--rust) 100%);
  color: var(--glow);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(107, 68, 35, 0.2);
}

nav a:hover::before {
  opacity: 0.5;
}

nav a.active {
  background: var(--copper);
  color: var(--void);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Sections */
section {
  margin-bottom: 120px;
  padding: 50px;
  background: linear-gradient(
    135deg,
    rgba(42, 26, 15, 0.9) 0%,
    rgba(61, 40, 23, 0.7) 50%,
    rgba(42, 26, 15, 0.9) 100%
  );
  border: 1px solid var(--flesh);
  position: relative;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.8), 0 20px 60px rgba(0, 0, 0, 0.9);
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0.3;
}

section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
}

h2 {
  font-size: 1.5rem;
  color: var(--glow);
  margin-bottom: 40px;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 400;
  position: relative;
  padding-bottom: 20px;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}

h3 {
  font-size: 1.1rem;
  color: var(--bronze);
  margin: 30px 0 15px;
  letter-spacing: 3px;
  font-weight: 400;
}

p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--bone);
  line-height: 1.8;
}

/* Visual blocks - biomechanical */
.visual {
  width: 100%;
  height: 300px;
  margin: 40px 0;
  background: radial-gradient(
      ellipse at 30% 40%,
      var(--flesh) 0%,
      transparent 50%
    ),
    radial-gradient(ellipse at 70% 60%, var(--rust) 0%, transparent 50%),
    var(--decay);
  border: 2px solid var(--copper);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.9),
    inset 0 0 50px rgba(74, 52, 40, 0.3), 0 10px 40px rgba(0, 0, 0, 0.8);
}

.visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
      90deg,
      transparent,
      transparent 50px,
      rgba(107, 68, 35, 0.05) 50px,
      rgba(107, 68, 35, 0.05) 51px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(107, 68, 35, 0.05) 50px,
      rgba(107, 68, 35, 0.05) 51px
    ),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='organic'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23organic)' opacity='0.4'/%3E%3C/svg%3E");
}

.visual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(139, 111, 71, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

/* Catalogue grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.item {
  padding: 30px;
  background: linear-gradient(135deg, var(--decay) 0%, var(--rust) 100%);
  border: 1px solid var(--flesh);
  position: relative;
  transition: all 0.2s;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), 0 5px 20px rgba(0, 0, 0, 0.8);
}

.item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.05) 10px,
    rgba(0, 0, 0, 0.05) 11px
  );
  pointer-events: none;
}

.item:hover {
  border-color: var(--copper);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7),
    0 10px 40px rgba(107, 68, 35, 0.2);
}

.item h3 {
  margin-top: 0;
  font-size: 1rem;
}

.timestamp {
  font-size: 0.7rem;
  color: var(--copper);
  letter-spacing: 2px;
  margin-bottom: 15px;
  opacity: 0.7;
}

/* Entries */
.entry {
  margin-bottom: 50px;
  padding: 35px;
  background: linear-gradient(
    180deg,
    rgba(42, 26, 15, 0.8) 0%,
    rgba(61, 40, 23, 0.6) 100%
  );
  border-left: 3px solid var(--copper);
  border-top: 1px solid var(--flesh);
  border-bottom: 1px solid var(--flesh);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.7);
}

.entry:hover {
  border-left-color: var(--glow);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6), 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Contact */
.link {
  display: inline-block;
  margin: 15px 25px 15px 0;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--rust) 0%, var(--decay) 100%);
  border: 1px solid var(--copper);
  color: var(--bronze);
  text-decoration: none;
  letter-spacing: 2px;
  transition: all 0.2s;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5), 0 5px 20px rgba(0, 0, 0, 0.7);
}

.link:hover {
  background: linear-gradient(180deg, var(--copper) 0%, var(--rust) 100%);
  color: var(--glow);
  border-color: var(--glow);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6),
    0 8px 30px rgba(107, 68, 35, 0.3);
}

/* Footer */
footer {
  margin-top: 100px;
  padding: 60px 30px;
  text-align: center;
  border-top: 1px solid var(--flesh);
  background: linear-gradient(180deg, transparent 0%, var(--decay) 100%);
  color: var(--copper);
  font-size: 0.75rem;
  letter-spacing: 3px;
  opacity: 0.6;
}

.marker {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--copper);
  margin: 0 8px;
  opacity: 0.5;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--bronze);
  animation: pulse 2s ease-in-out infinite;
  margin-left: 3px;
}
