/* lacey.cam — sister's appeal site, creator-portfolio aesthetic
 *
 * Aesthetic target: a designer-creator's hand-coded link-in-bio /
 * personal site, repurposed as a missing-person appeal. Soft cream,
 * dusty pink, black accents. Playfair display for headers, Inter for
 * body. The site looks intentional and personal — Lacey was a designer,
 * Ellie kept the bones and bolted an appeal on top.
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #f5ede3;
  color: #1a1a1a;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: #d49aa5;
  text-underline-offset: 2px;
}
a:hover { color: #8a3a4a; text-decoration-color: #8a3a4a; }
a:visited { color: #5a3a4a; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  background: #fdf7ef;
  min-height: 100vh;
  padding: 0;
  box-shadow: 0 0 60px rgba(180, 130, 140, 0.08);
}

/* Header — quiet, no logo, Lacey's name in serif */
.site-header {
  padding: 40px 36px 20px;
  border-bottom: 1px solid #e8d5d0;
  text-align: center;
}
.site-header .brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0;
  color: #1a1a1a;
}
.site-header .brand .dot {
  color: #d49aa5;
}
.site-header .tagline {
  font-size: 12px;
  color: #8a7a78;
  margin-top: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Appeal banner — Ellie bolted this on. Looks like a band-aid because it is. */
.appeal-banner {
  background: #1a1a1a;
  color: #f5ede3;
  padding: 16px 36px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #1a1a1a;
}
.appeal-banner b { color: #f0c5a8; }
.appeal-banner a { color: #f0c5a8; text-decoration-color: #f0c5a8; }
.appeal-banner a:hover { color: #fff; }

/* Nav — clean, dusty-pink underline on hover */
.nav {
  padding: 14px 36px;
  border-bottom: 1px solid #e8d5d0;
  text-align: center;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #5a4a48;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav a:hover {
  color: #1a1a1a;
  border-bottom-color: #d49aa5;
  background: none;
}
.nav a.current {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

/* Body content */
.content {
  padding: 32px 36px 48px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.3px;
}

h1 { font-size: 32px; margin: 24px 0 12px; }
h2 { font-size: 24px; margin: 28px 0 12px; }
h3 { font-size: 18px; margin: 20px 0 8px; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: #5a4a48; }
h4 { font-size: 16px; margin: 16px 0 6px; }

p { margin: 12px 0; }

hr {
  border: none;
  border-top: 1px solid #e8d5d0;
  margin: 28px 0;
}

.small { font-size: 12px; color: #8a7a78; }
.muted { color: #8a7a78; }

/* The hero — gradient placeholder, or a real image when .hero.photo */
.hero {
  background: linear-gradient(135deg, #f0c5a8 0%, #d49aa5 50%, #8a5a6a 100%);
  height: 320px;
  margin: 24px 0;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(255,255,255,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero.photo { background: #1a1a1a; }
.hero.photo::after { background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.55) 100%); }
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .caption {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  padding: 12px 20px;
  background: rgba(0,0,0,0.4);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* The big appeal paragraph on the homepage */
.appeal {
  background: #fff;
  border-left: 3px solid #1a1a1a;
  padding: 24px 28px;
  margin: 24px 0;
  font-size: 16px;
  line-height: 1.7;
}
.appeal .lede {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: #1a1a1a;
}
.appeal .signoff {
  margin-top: 18px;
  font-style: italic;
  color: #5a4a48;
  font-size: 14px;
}

/* Stats row — days missing, last post, etc. */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8d5d0;
  margin: 24px 0;
  border: 1px solid #e8d5d0;
}
.stats .stat {
  background: #fdf7ef;
  padding: 18px 14px;
  text-align: center;
}
.stats .stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #1a1a1a;
  line-height: 1.1;
}
.stats .stat .lbl {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7a78;
  margin-top: 6px;
}

/* Photo grid — blurred placeholder squares, "subscribers only" */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.photo-grid .tile {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f0c5a8 0%, #d49aa5 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: blur(0px); /* the placeholder IS the blur effect — tinted gradient */
  overflow: hidden;
}
.photo-grid .tile.photo { background: #1a1a1a; }
.photo-grid .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-grid .tile.v2 { background: linear-gradient(135deg, #e8b8c0 0%, #b08090 100%); }
.photo-grid .tile.v3 { background: linear-gradient(135deg, #f5d5b8 0%, #d09a85 100%); }
.photo-grid .tile.v4 { background: linear-gradient(135deg, #d4a8b8 0%, #8a5a6a 100%); }
.photo-grid .tile.v5 { background: linear-gradient(135deg, #f0b8c8 0%, #c08090 100%); }
.photo-grid .tile.v6 { background: linear-gradient(135deg, #e8c5a8 0%, #b08070 100%); }

.photo-grid .tile::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.0);
}
.photo-grid .tile .lock {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 8px;
  background: rgba(0,0,0,0.45);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.photo-grid .tile .lock::before {
  content: '🔒 ';
}
.photo-grid .tile .meta {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  z-index: 2;
  color: #fff;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* "Post" cards — for /last-posts and timeline */
.post-card {
  background: #fff;
  border: 1px solid #e8d5d0;
  padding: 18px 22px;
  margin: 12px 0;
  font-size: 14px;
  display: flex;
  gap: 16px;
}
.post-card .thumb {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #f0c5a8 0%, #d49aa5 100%);
  position: relative;
  overflow: hidden;
}
.post-card .thumb.photo { background: #1a1a1a; }
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-card .thumb.v2 { background: linear-gradient(135deg, #e8b8c0 0%, #b08090 100%); }
.post-card .thumb.v3 { background: linear-gradient(135deg, #f5d5b8 0%, #d09a85 100%); }
.post-card .thumb.lock::after {
  content: '🔒';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 14px;
}
.post-card .body { flex: 1; min-width: 0; }
.post-card .date {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7a78;
}
.post-card .title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 4px 0 6px;
  font-style: italic;
}
.post-card .caption {
  font-size: 13px;
  color: #5a4a48;
  line-height: 1.5;
}
.post-card .engagement {
  margin-top: 8px;
  font-size: 11px;
  color: #8a7a78;
  letter-spacing: 0.5px;
}
.post-card.silent { background: #f8efe5; }
.post-card.silent .title { color: #5a4a48; }

/* Subscriber DM blocks for /subs */
.dm {
  background: #fff;
  border: 1px solid #e8d5d0;
  padding: 14px 18px;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.55;
  position: relative;
}
.dm .who {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.dm .ts {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a7a78;
  margin-left: 8px;
}
.dm .src {
  font-size: 10px;
  color: #8a7a78;
  text-align: right;
  margin-top: 6px;
  letter-spacing: 0.5px;
}
.dm.flagged { background: #fff5f0; border-left: 3px solid #d49aa5; }
.dm.creepy  { background: #f0ece8; border-left: 3px solid #5a4a48; color: #3a3a38; }

/* Search box on /last-posts — the puzzle gateway */
.search-box {
  background: #fff;
  border: 1px solid #e8d5d0;
  padding: 22px 26px;
  margin: 28px 0;
}
.search-box label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8a7a78;
  margin-bottom: 10px;
}
.search-box input[type="search"] {
  width: 100%;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: #fdf7ef;
  border: 1px solid #d49aa5;
  outline: none;
  color: #1a1a1a;
}
.search-box input[type="search"]:focus { border-color: #1a1a1a; }
.search-box button {
  margin-top: 10px;
  padding: 9px 22px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
}
.search-box button:hover { background: #5a3a4a; }
.search-result {
  margin-top: 14px;
  font-size: 13px;
  color: #5a4a48;
  min-height: 1.4em;
  font-style: italic;
}

/* Sub CTA button — looks like real subscribe buttons, links nowhere */
.sub-cta {
  display: inline-block;
  padding: 12px 28px;
  background: #d49aa5;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  margin: 8px 4px;
  border: 1px solid #d49aa5;
}
.sub-cta:hover { background: #1a1a1a; border-color: #1a1a1a; color: #fff; }
.sub-cta.ghost { background: transparent; color: #1a1a1a; border-color: #1a1a1a; }
.sub-cta.ghost:hover { background: #1a1a1a; color: #fff; }
.sub-cta.disabled {
  background: #c8c0bc; border-color: #c8c0bc; cursor: not-allowed;
  text-decoration: line-through;
}

/* Timeline / event list */
.timeline-list { list-style: none; padding: 0; margin: 16px 0; }
.timeline-list li {
  border-left: 2px solid #d49aa5;
  padding: 8px 0 14px 18px;
  margin: 0 0 0 8px;
  position: relative;
  font-size: 14px;
}
.timeline-list li::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 12px;
  width: 10px;
  height: 10px;
  background: #d49aa5;
  border-radius: 50%;
}
.timeline-list li.silent::before { background: #1a1a1a; }
.timeline-list li.silent { border-left-color: #1a1a1a; }
.timeline-list .date {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-style: italic;
  color: #8a7a78;
}
.timeline-list .what { color: #1a1a1a; margin-top: 2px; }

/* Form (tips) */
.tip-form {
  background: #fff;
  border: 1px solid #e8d5d0;
  padding: 22px 26px;
  margin: 16px 0;
}
.tip-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8a7a78;
  margin: 12px 0 6px;
}
.tip-form input[type="text"], .tip-form input[type="email"], .tip-form textarea {
  width: 100%;
  padding: 9px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  background: #fdf7ef;
  border: 1px solid #d49aa5;
  outline: none;
}
.tip-form textarea { min-height: 110px; resize: vertical; }
.tip-form button {
  margin-top: 14px;
  padding: 10px 24px;
  background: #1a1a1a; color: #fff; border: none;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid #e8d5d0;
  padding: 24px 36px 36px;
  font-size: 11px;
  color: #8a7a78;
  text-align: center;
  letter-spacing: 0.5px;
}
.footer .built {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #5a4a48;
  margin-bottom: 6px;
}
.footer a { color: #8a7a78; text-decoration-color: #d49aa5; }

/* Hidden-page specific overrides — darker / different feel per page */
.hidden-frame .wrap {
  background: #1a1a1a;
  color: #e8d5d0;
  box-shadow: none;
}
.hidden-frame .site-header {
  border-bottom-color: #5a3a3a;
}
.hidden-frame .site-header .brand { color: #f0c5a8; }
.hidden-frame .site-header .tagline { color: #8a6a6a; }
.hidden-frame .nav { border-bottom-color: #5a3a3a; }
.hidden-frame .nav a { color: #c8a8a8; }
.hidden-frame .nav a:hover { color: #f0c5a8; border-bottom-color: #d49aa5; }
.hidden-frame h1, .hidden-frame h2, .hidden-frame h3 { color: #f0c5a8; }
.hidden-frame a { color: #f0c5a8; text-decoration-color: #d49aa5; }
.hidden-frame .footer { color: #8a6a6a; border-top-color: #5a3a3a; }
.hidden-frame .small { color: #8a6a6a; }
.hidden-frame .muted { color: #8a6a6a; }

/* "Leaked screenshot" frame — for Discord/Slack/contract mocks */
.screenshot {
  background: #36393f;
  border: 1px solid #202225;
  padding: 14px 18px;
  color: #dcddde;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  margin: 16px 0;
  line-height: 1.5;
}
.screenshot .chan {
  color: #8e9297;
  font-size: 11px;
  border-bottom: 1px solid #2f3136;
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.screenshot .msg { margin: 6px 0; }
.screenshot .msg .author { color: #ffffff; font-weight: 600; margin-right: 6px; }
.screenshot .msg .author.lacey { color: #ed9aa5; }
.screenshot .msg .author.ops   { color: #f0c5a8; }
.screenshot .msg .author.mgr   { color: #a8d4d4; }
.screenshot .msg .time { color: #72767d; font-size: 10px; }

/* Slack variant — slightly different chrome */
.screenshot.slack { background: #1d1c1d; color: #d1d2d3; border-color: #1d1c1d; }
.screenshot.slack .chan { color: #ababad; border-bottom-color: #2c2d30; }
.screenshot.slack .msg .author { color: #f4ede4; }

/* Contract — looks like a scanned PDF page */
.contract {
  background: #fefdf7;
  color: #1a1a1a;
  padding: 32px 38px;
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid #c0b0a0;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
  margin: 16px 0;
}
.contract h2, .contract h3 {
  font-family: 'Times New Roman', Times, serif;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}
.contract .fine {
  font-size: 10px;
  color: #5a5a5a;
  margin-top: 12px;
  line-height: 1.4;
}
.contract .highlighted {
  background: #fff200;
  padding: 0 2px;
}

/* Leaked-still image at the top of deepfake-evidence (only photo on a hidden page) */
.leaked-still {
  background: #2a2a2a;
  padding: 14px;
  margin: 18px 0;
  border: 1px solid #5a3a3a;
  text-align: center;
}
.leaked-still img {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  border: 1px solid #1a1a1a;
}
.leaked-still .cap {
  color: #c8a8a8;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-top: 10px;
  font-style: italic;
}

/* Side-by-side evidence comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}
.compare .pane {
  background: #2a2a2a;
  padding: 12px;
  font-size: 12px;
}
.compare .pane .pic {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #d4a8b8 0%, #5a3a4a 100%);
  position: relative;
  margin-bottom: 8px;
}
.compare .pane .pic.fake { background: linear-gradient(135deg, #d4a8b8 0%, #5a3a4a 100%); }
.compare .pane .pic.fake::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 6px,
    rgba(255,255,255,0.04) 6px, rgba(255,255,255,0.04) 7px
  );
}
.compare .pane .label {
  color: #f0c5a8;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.compare .pane .note {
  color: #c8a8a8;
  font-size: 11px;
  margin-top: 6px;
  line-height: 1.4;
}
.compare .pane.real .label { color: #a8d4a8; }
.compare .pane .arrow {
  color: #ed9aa5;
  font-size: 11px;
  margin-top: 4px;
}

/* Tags / pills for "🔒 SUBSCRIBERS ONLY", etc */
.pill {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  background: #1a1a1a;
  color: #f5ede3;
  margin-right: 6px;
  font-weight: 500;
}
.pill.locked { background: #d49aa5; color: #fff; }
.pill.silent { background: #5a4a48; }
.pill.urgent { background: #a8201a; color: #fff; }

/* Family photo placeholder (about page) */
.family-photo {
  background: linear-gradient(135deg, #f5d5b8 0%, #d49aa5 60%, #5a3a4a 100%);
  height: 220px;
  margin: 16px 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
}
.family-photo .caption {
  color: #fff;
  font-size: 11px;
  background: rgba(0,0,0,0.45);
  padding: 5px 10px;
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/* Error page (404) */
.error-page {
  text-align: center;
  padding: 60px 24px;
}
.error-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  color: #d49aa5;
  margin: 0;
  font-style: italic;
}
.error-page p { color: #5a4a48; }

/* Responsive */
@media (max-width: 600px) {
  .site-header { padding: 28px 18px 16px; }
  .site-header .brand { font-size: 28px; }
  .nav { padding: 10px 12px; }
  .nav a { margin: 4px 6px; display: inline-block; }
  .appeal-banner { padding: 12px 16px; font-size: 12px; }
  .content { padding: 22px 18px 32px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats .stat .num { font-size: 26px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .post-card { flex-direction: column; }
  .post-card .thumb { width: 100%; height: 160px; }
  .compare { grid-template-columns: 1fr; }
  .contract { padding: 20px 18px; }
}
