:root {
  --bg: #141412;
  --dot: #212120;
  --paper: #f4f1ea;
  --ink: #1a1a18;
  --ink-soft: #6b6a5f;
  --muted: #8a8878;
  --accent: #e0a030;
  --script: #c9a96a;
  --line: #2b2b28;
}

* { box-sizing: border-box; }

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 16px 16px;
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.font-script { font-family: 'Caveat', cursive; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Nav */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 20, 18, 0.9);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--line);
}
nav .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav a.brand {
  font-weight: 900;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: -0.5px;
}
nav a.brand span { color: var(--accent); }
nav .links { display: flex; gap: 1.5rem; }
nav .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.15s ease;
}
nav .links a:hover { color: var(--accent); }

/* Headline */
.headline {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.95;
  margin: 0 0 6px;
}
.headline span { color: var(--accent); }
.script-line {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: var(--script);
  transform: rotate(-1deg);
  margin: 8px 0 2rem;
}

/* Tape */
.tape {
  width: 70px;
  height: 16px;
  background: rgba(224, 160, 48, 0.5);
  position: absolute;
  z-index: 2;
}

.badge {
  width: 70px;
  height: 16px;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  font-style: bold;
  color: var(--ink);            /* dark text reads better on the tape's translucent gold */
  position: absolute;
  z-index: 5;              /* above the tape */
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
}

/* Cards */
.card {
  background: var(--paper);
  padding: 14px;
  box-shadow: 3px 5px 14px rgba(0,0,0,0.5);
  color: var(--ink);
  text-decoration: none;
  display: block;
  position: relative;
}
.card .thumb {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.card p.title {
  font-weight: 800;
  font-size: 14px;
  margin: 0;
  color: var(--ink);
}
.card p.sub {
  font-family: 'Caveat', cursive;
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.card .badge {
  font-family: 'Caveat', cursive;
  font-size: 13px;
  color: var(--accent);
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--bg);
  padding: 2px 8px;
  transform: rotate(6deg);
}

.section-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
section { margin-top: 2.5rem; }

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 5px 12px;
  border: 0.5px solid var(--line);
  background: #1e1e1b;
  color: var(--paper);
  display: inline-block;
  margin: 0 6px 6px 0;
}

.now-list li {
  font-family: 'Caveat', cursive;
  font-size: 19px;
  color: #c9c7bc;
  margin-bottom: 6px;
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.now-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0; top: 8px;
}
.now-list { padding: 0; margin: 0; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  font-size: 11px;
  letter-spacing: 1px;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer a.email { color: var(--accent); }

a.underline-hover { position: relative; text-decoration: none; color: var(--paper); }
a.underline-hover::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
a.underline-hover:hover::after { transform: scaleX(1); }

.back-link {
  font-family: 'Caveat', cursive;
  font-size: 20px;
  color: var(--accent);
  text-decoration: none;
}

.detail-body p { color: #c9c7bc; line-height: 1.8; font-size: 15px; }
.detail-body h2 { font-size: 18px; margin-top: 2rem; color: var(--paper); }

.contact-form {
  max-width: 480px;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form .form-row {
  display: flex;
  gap: 12px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #1e1e1b;
  border: 0.5px solid var(--line);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 10px 12px;
  width: 100%;
  border-radius: 4px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
  font-family: 'Inter', sans-serif;
}

.contact-form button {
  background: var(--accent);
  color: var(--ink);
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s ease;
}

.contact-form button:hover { opacity: 0.85; }
.contact-form button:disabled { opacity: 0.5; cursor: not-allowed; }

#form-status {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--script);
  min-height: 20px;
  margin: 0;
}

/* honeypot — hidden from real users, still tabbable-safe for bots to fill */
#website {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form {
  max-width: 480px;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form .form-row { display: flex; gap: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #1e1e1b;
  border: 0.5px solid var(--line);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 10px 12px;
  width: 100%;
  border-radius: 4px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; font-family: 'Inter', sans-serif; }
.contact-form button {
  background: var(--accent);
  color: var(--ink);
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s ease;
}
.contact-form button:hover { opacity: 0.85; }
.contact-form button:disabled { opacity: 0.5; cursor: not-allowed; }
#form-status {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--script);
  min-height: 20px;
  margin: 0;
}
#website { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(3px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: var(--accent); }