/* ===== Base ===== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #f0f0f0;
  background-color: #141414;
  background-image:
    radial-gradient(circle at 1px 1px, #1e1e1e 1px, transparent 0),
    radial-gradient(circle at 1px 1px, #101010 1px, transparent 0);
  background-size: 8px 8px, 8px 8px;
}

a {
  color: #e15b5b; /* red accent */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.smallcaps {
  letter-spacing: 0.06em;
  text-transform: lowercase;
  font-weight: 600;
}

/* ===== Top bar ===== */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #050505;
  border-bottom: 1px solid #000;
  padding: 4px 12px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.top-bar a {
  color: #f7f7f7;
  opacity: 0.85;
}

.top-bar a:hover {
  opacity: 1;
}

/* ===== Layout ===== */

.site-wrapper {
  max-width: 980px;
  margin: 32px auto 40px;
  padding: 0 12px 40px;
}

.panel {
  background: #262626;
  border: 1px solid #000;
  box-shadow:
    0 0 0 1px #363636 inset,
    0 0 0 1px #000;
  margin-bottom: 10px;
  padding: 8px 12px 10px;
}

.panel-title {
  margin: 0 0 4px;
  padding: 2px 0;
  font-size: 13px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  position: relative;
}

/* Red → black → green accent bar */
.panel-title::after {
  content: "";
  display: block;
  margin-top: 3px;
  height: 2px;
  background: linear-gradient(to right, #e33b3b, #050505, #2a9a52);
  opacity: 0.9;
}

.panel-body {
  font-size: 13px;
}

.label {
  font-weight: 600;
  text-transform: lowercase;
}

/* ===== Hero ===== */

.hero-image {
  width: 100%;
  height: 190px;
  background: #111 url("hero-placeholder.png") center/cover no-repeat;
  border: 1px solid #000;
  margin: 6px 0 8px;
  image-rendering: pixelated;
}

.hero-text {
  font-size: 12px;
  color: #e2e2e2;
}

/* ===== Grid ===== */

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.col-half {
  flex: 1 1 320px;
  min-width: 0;
}

.col-third {
  flex: 1 1 260px;
  min-width: 0;
}

/* ===== Guestbook ===== */

.guestbook-embed {
  width: 100%;
  height: 220px;
  border: 0;
  background: #111;
  color: #f0f0f0;
}

.guestbook-note {
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.8;
}

/* ===== Updates ===== */

.updates-list p {
  margin: 0 0 6px;
}

.updates-list .date {
  font-weight: 600;
  text-transform: lowercase;
  display: block;
}

/* ===== Accent list ===== */

ul.accent-list {
  list-style: none;
  padding-left: 0;
  margin: 4px 0;
}

ul.accent-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 3px;
  font-size: 12px;
}

ul.accent-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: linear-gradient(135deg, #e33b3b, #0a0a0a, #2a9a52);
}

/* ===== Footer ===== */

.footer-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.footer-button {
  flex: 1 1 0;
  text-align: center;
  padding: 6px 0;
  background: #191919;
  border: 1px solid #000;
  box-shadow:
    0 0 0 1px #333 inset,
    0 0 0 1px #000;
  font-size: 12px;
  cursor: pointer;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.footer-button:hover {
  background: radial-gradient(circle at top, #2a2a2a, #161616);
  box-shadow:
    0 0 0 1px #e33b3b inset,
    0 0 0 1px #2a9a52;
}

/* ===== Responsive ===== */

@media (max-width: 700px) {
  .site-wrapper {
    margin-top: 18px;
  }

  .top-bar {
    justify-content: center;
    flex-wrap: wrap;
  }
}
