/* photobox.social — shared dress · static, no JS
   Fonts: Caveat (hand) · Special Elite (stamp) · Inter (ui) via Google Fonts */

* { box-sizing: border-box; }

html {
  background: radial-gradient(130% 100% at 50% 0%, #4A4138, #332C25 55%, #241F1A) fixed #332C25;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #E7DECB;
  position: relative;
  min-height: 100vh;
}

/* grain over the table */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,.10) .5px, transparent .6px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}

.hand  { font-family: 'Caveat', cursive; }
.stamp { font-family: 'Special Elite', monospace; }

a { color: #C9BEA9; }
a:hover { color: #9FE0CB; }

.wrap {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* ---- masthead ---- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wordmark:hover .wordmark-name { color: #FFF9EA; }
.mark-box {
  width: 34px; height: 24px;
  border-radius: 4px 4px 6px 6px;
  background: linear-gradient(180deg, #C7A877, #A8824A);
  position: relative;
  flex: none;
}
.mark-box::before {
  content: "";
  position: absolute; top: -5px; left: 6px;
  width: 12px; height: 9px;
  background: #FBF7EE;
  transform: rotate(-6deg);
}
.wordmark-name {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  font-weight: 700;
  color: #F2E9D7;
  line-height: 1;
}
nav.pages {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  color: #9A8E7E;
  white-space: nowrap;
}
nav.pages a { color: #9A8E7E; text-decoration: none; }
nav.pages a:hover { color: #E7DECB; }
nav.pages a[aria-current="page"] { color: #F2E9D7; }
nav.pages .sep { padding: 0 7px; }

/* ---- the short-version / promises card ---- */
.promises {
  background: rgba(56,161,105,.1);
  border: 1px solid rgba(56,161,105,.3);
  border-radius: 16px;
  padding: 20px 24px;
}
.promises .card-label {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: #7FB985;
}
.promises ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}
.promises li {
  font-family: 'Caveat', cursive;
  font-size: 23px;
  line-height: 1.15;
  color: #E7F0DD;
}

/* ---- the paper document ---- */
.paper {
  background: #FBF6EA;
  border-radius: 6px;
  padding: 44px 52px 48px;
  margin-top: 28px;
  box-shadow: 0 26px 54px -22px rgba(0,0,0,.65);
  color: #2A2622;
}
.paper .doc-org {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: .16em;
  color: #9A8E7E;
  text-align: center;
}
.paper h1 {
  font-family: 'Caveat', cursive;
  font-size: 44px;
  font-weight: 700;
  color: #2A2622;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1;
}
.paper .doc-meta {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: #9A8E7E;
  text-align: center;
  margin-top: 10px;
  line-height: 1.9;
}
.rule {
  height: 1.5px;
  margin: 24px 0 4px;
  background: repeating-linear-gradient(90deg, rgba(90,70,40,.35) 0 6px, transparent 6px 10px);
}
.paper h2 {
  font-family: 'Special Elite', monospace;
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 400;
  color: #2A2622;
  margin: 26px 0 0;
}
.paper h3 {
  font-family: 'Special Elite', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 400;
  color: #6A5230;
  margin: 18px 0 0;
}
.paper p, .paper li {
  font-family: 'Special Elite', monospace;
  font-size: 13px;
  letter-spacing: .02em;
  line-height: 1.95;
  color: #5A5244;
}
.paper p { margin: 8px 0 0; }
.paper ul { margin: 8px 0 0; padding-left: 20px; }
.paper li { margin-top: 3px; }
.paper strong { color: #2A2622; font-weight: 400; }
.paper a { color: #2A4D8F; }
.paper a:hover { color: #2A4D8F; text-decoration-thickness: 2px; }
.paper .never li::marker { content: "✕  "; color: #C0463A; }
.paper .always li::marker { content: "✓  "; color: #2C7A52; }

/* bracketed placeholders awaiting counsel */
.tbd {
  font-family: 'Special Elite', monospace;
  color: #8A5410;
  background: rgba(217,138,43,.14);
  border-radius: 3px;
  padding: 0 4px;
}

/* ---- page footer ---- */
footer.colophon {
  font-family: 'Special Elite', monospace;
  font-size: 10px;
  letter-spacing: .1em;
  color: #8C8175;
  text-align: center;
  margin-top: 36px;
  line-height: 2.1;
}
footer.colophon a { color: #C9BEA9; }

.closing-hand {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  color: #C9BEA9;
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 620px) {
  .wrap { padding: 28px 16px 48px; }
  .masthead { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .promises ul { grid-template-columns: 1fr; }
  .paper { padding: 32px 24px 36px; }
  .paper h1 { font-size: 38px; }
}
