@font-face { src: url(https://conandrum.neocities.org/fonts/Heatwave%20Regular.otf); font-family: "Heatwave"; }
@font-face { src: url(https://conandrum.neocities.org/fonts/Gotham%20Book.otf); font-family: "Gotham"; }

:root {
  --bg: #F5F1EB;
  --surface: #FAF7F2;
  --primary: #DB6A28;
  --primary-hover: #B84F16;
  --secondary: #17375E;
  --accent: #6B4FA3;
  --highlight: #E8B24E;
  --text: #38352F;
  --text-muted: #6D7075;
  --border: #DDD7D0;
  --success: #4BAA84;
  --error: #C74A3A;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Gotham", sans-serif;
  background-image: url(https://conandrum.neocities.org/img/starsagain.gif);
  display: flex;
  justify-content: center;
  padding: 24px;
}

img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 0.05rem white);
}

.page {
  width: 100%;
  max-width: 900px;
  background: var(--secondary);
  border: 5px solid var(--highlight);
  padding: 10px;
}

header {
  text-align: center;
  padding: 14px 0 10px;
  font-family: "Heatwave";
}

header h1 {
  margin: 0;
  color: var(--highlight);
  font-size: clamp(36px, 12vw, 90px);
  letter-spacing: 4px;
  text-shadow: 2px 2px 0 var(--primary);
}

.page-title {
  margin: 0 0 4px;
  color: var(--highlight);
  font-family: "Heatwave";
  font-size: clamp(20px, 6vw, 34px);
  letter-spacing: 3px;
  text-align: center;
  text-shadow: 2px 2px 0 var(--primary);
}

nav {
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

nav a {
  color: var(--highlight);
  text-decoration: none;
  font-size: 12px;
  margin: 0 6px;
}

nav a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.content.subpage {
  margin-top: 10px;
  padding: 10px;
}

.subpage-main .welcome {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-style: italic;
  margin: 0 auto 24px;
  max-width: 520px;
  line-height: 1.6;
}

footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 10px;
  padding: 10px 0 2px;
}

/* ---------- corkboard / sticky notes ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  align-items: start;
}

.note {
  margin: 0;
  position: relative;
  padding: 24px 18px 18px;
  border-radius: 2px;
  font-family: "Gotham", sans-serif;
  box-shadow: 0 10px 18px -6px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
}

.note.n1 { background: linear-gradient(160deg, #F3D06B, #EFC85A); }
.note.n2 { background: linear-gradient(160deg, #AFC9DE, #9AB7D1); }
.note.n3 { background: linear-gradient(160deg, #E9B6C2, #DFA1B1); }

.pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a72, var(--error) 60%, #8f2f24 100%);
  box-shadow: 0 3px 4px rgba(0,0,0,0.5), inset -2px -2px 3px rgba(0,0,0,0.25);
  z-index: 3;
}

.note h3 {
  margin: 4px 0 10px;
  font-family: "Heatwave";
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: var(--error);
  line-height: 1.2;
}

.note dl {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.note dl div { margin-bottom: 6px; }

.note dt {
  display: inline;
  font-weight: 700;
  color: var(--secondary);
}

.note dd { display: inline; margin: 0; }

.note .credit {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1.5px dashed rgba(56,53,47,0.3);
  padding-top: 8px;
}

.proof-single, .proof-multi { margin-top: 14px; }

.photo {
  background: #fff;
  padding: 8px 8px 24px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.4);
  position: relative;
  cursor: zoom-in;
  display: inline-block;
}

.photo .tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 56px;
  height: 20px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.05);
}

.photo-inner {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #111;
}

.photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none;
}

.proof-single .photo { width: 100%; }
.proof-single .photo-inner { height: 150px; }

.proof-multi { display: flex; gap: 10px; flex-wrap: wrap; }
.proof-multi .photo { flex: 1 1 46%; }
.proof-multi .photo:nth-child(3) { flex-basis: 100%; margin-top: -4px; }
.proof-multi .photo-inner { height: 84px; }

.photo-caption {
  text-align: center;
  font-size: 0.78rem;
  color: #444;
  margin-top: 4px;
}

/* ---------- lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.9);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-box {
  background: var(--secondary);
  border: 3px solid var(--highlight);
  padding: 18px;
  max-width: 600px;
  width: 100%;
  position: relative;
}

.lightbox-img {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #111;
}

.lightbox-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
}

.lightbox-cap {
  color: var(--highlight);
  font-size: 0.85rem;
  margin-top: 10px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--highlight);
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.lightbox-nav.prev { left: -16px; }
.lightbox-nav.next { right: -16px; }
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }

@media (max-width: 600px) {
  body { padding: 8px; }
  .page { border-width: 3px; padding: 6px; }
  .content.subpage { padding: 6px; }
  .board { grid-template-columns: 1fr; gap: 16px; }
  .note { padding: 20px 14px 14px; }
}