/* OurCrossedPath — premium vintage classifieds */
:root {
  /* Venn Meet palette — keep cream paper, harmonize accents to logo */
  --cream: #f6efe2;
  --cream-deep: #efe4d0;
  --paper: #faf6ee;
  --ink: #16213E;
  --ink-soft: #3a4658;
  --navy: #16213E;
  --burgundy: #E35D6A; /* coral heart — primary CTA */
  --rose: #c94b58;
  --coral: #E35D6A;
  --teal: #38C4B0;
  --teal-deep: #2aa393;
  --gold: #F5D064;
  --gold-soft: #f8e3a0;
  --line: #d9cbb0;
  --ok: #2f6b4f;
  --warn: #8a5a12;
  --warn-bg: #fff3d6;
  --danger: #c94b58;
  --shadow: 0 10px 30px rgba(22, 33, 62, 0.08);
  --radius: 14px;
  --serif: "Manrope", "Segoe UI", system-ui, sans-serif; /* headlines match logo */
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(196,163,90,.12), transparent 40%),
    radial-gradient(circle at 88% 18%, rgba(163,60,82,.08), transparent 35%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(26,36,51,.015) 3px, rgba(26,36,51,.015) 4px),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  min-height: 100vh;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--burgundy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

/* Age gate */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(22,32,51,.72);
  display: grid; place-items: center;
  padding: 1rem;
}
.age-gate[hidden] { display: none !important; }
.age-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem;
  max-width: 420px;
  box-shadow: var(--shadow);
  text-align: center;
}
.age-card h2 { font-family: var(--serif); margin: 0 0 .5rem; color: var(--navy); }
.age-actions { display: flex; gap: .75rem; justify-content: center; margin-top: 1.25rem; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,238,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--navy);
}
.brand-logo {
  height: 40px; width: auto; max-width: min(200px, 52vw);
  display: block; object-fit: contain;
}
.footer-logo {
  height: 36px; width: auto; max-width: 200px;
  display: block; object-fit: contain; margin-bottom: .55rem;
}
.brand-mark {
  /* legacy fallback if img missing */
  width: 42px; height: 42px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold-soft), transparent 55%),
    linear-gradient(145deg, var(--burgundy), var(--navy));
  display: grid; place-items: center;
  color: var(--cream); font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  box-shadow: inset 0 0 0 2px rgba(232,215,168,.45);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.brand-tag { font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink-soft);
  padding: .45rem .7rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
}
.nav a:hover, .nav a.active { background: var(--cream-deep); color: var(--navy); }
.nav .btn { margin-left: .25rem; }
.menu-toggle {
  display: none; border: 1px solid var(--line); background: var(--paper);
  border-radius: 10px; padding: .45rem .7rem; font-weight: 700; color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: none; border-radius: 999px; padding: .72rem 1.2rem;
  font-weight: 700; font-family: var(--sans); font-size: .95rem;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--rose));
  color: #fff !important; box-shadow: 0 8px 18px rgba(227,93,106,.28);
}
.btn-secondary {
  background: var(--navy); color: #fff !important;
}
.btn-ghost {
  background: transparent; border: 1.5px solid var(--line); color: var(--ink) !important;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e0b84a); color: var(--navy) !important;
}
.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 2.2rem 0 1.5rem;
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 1.5rem; align-items: stretch;
}
.hero-copy {
  background: linear-gradient(160deg, rgba(250,246,238,.95), rgba(239,228,208,.9));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hero-copy::before {
  content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(122,36,56,.25); border-radius: 16px; pointer-events: none;
}
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-deep); background: rgba(56,196,176,.12);
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: .9rem;
}
.hero h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  line-height: 1.12; margin: 0 0 .85rem; color: var(--navy); letter-spacing: -0.02em;
}
.hero-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 1.2rem; max-width: 38ch; }
.rotating-tag {
  min-height: 1.4em; color: var(--coral); font-family: var(--sans);
  font-style: normal; font-weight: 700; margin: 0 0 1.1rem; font-size: 1.02rem;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-panel {
  background: var(--navy); color: #f3ebe0; border-radius: 22px; padding: 1.4rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .9rem;
}
.hero-panel h2 { font-family: var(--serif); margin: 0; font-size: 1.35rem; color: var(--gold-soft); }
.search-grid { display: grid; gap: .65rem; }
.label { display: block; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: .3rem; opacity: .85; }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .7rem .85rem; font: inherit; background: #fff; color: var(--ink);
}
.hero-panel .input, .hero-panel .select { background: rgba(255,255,255,.96); }
.textarea { min-height: 140px; resize: vertical; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(232,215,168,.25);
  color: var(--gold-soft); border-radius: 999px; padding: .35rem .65rem; font-size: .78rem; font-weight: 600;
  border-color: rgba(56,196,176,.35);
}

/* Sections */
.section { padding: 1.15rem 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin-bottom: 1rem; flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0; color: var(--navy);
}
.section-head p { margin: .25rem 0 0; color: var(--ink-soft); }

/* Categories */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem;
}
.cat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem; text-decoration: none; color: inherit;
  box-shadow: var(--shadow); min-height: 150px;
  display: flex; flex-direction: column; gap: .45rem;
  transition: transform .15s ease, border-color .15s ease;
  position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--gold); color: inherit; }
.cat-card::after {
  content: ""; position: absolute; right: -20px; bottom: -20px;
  width: 70px; height: 70px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,.25), transparent 70%);
}
.cat-icon {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.1rem;
  background: linear-gradient(145deg, rgba(122,36,56,.12), rgba(196,163,90,.18));
}
.cat-card h3 { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--navy); }
.cat-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; flex: 1; }

/* Classified columns */
.classified-columns {
  column-count: 2; column-gap: 1rem;
}
.classified {
  break-inside: avoid; margin-bottom: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1rem 1.05rem; box-shadow: var(--shadow);
  position: relative;
}
.classified .example-badge {
  position: absolute; top: .7rem; right: .7rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--gold-soft); color: var(--navy); padding: .2rem .45rem; border-radius: 6px;
}
.classified .meta {
  display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .55rem; padding-right: 5.5rem;
}
.pill {
  font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  background: rgba(22,32,51,.06); color: var(--navy); border-radius: 999px; padding: .25rem .55rem;
}
.pill.love { background: rgba(227,93,106,.14); color: var(--coral); }
.pill.friends { background: rgba(47,107,79,.12); color: var(--ok); }
.pill.military { background: rgba(22,32,51,.12); color: var(--navy); }
.pill.kind { background: rgba(196,163,90,.22); color: #6d5420; }
.classified h3 {
  font-family: var(--serif); font-size: 1.15rem; margin: 0 0 .35rem; color: var(--navy);
}
.classified .where-when {
  font-size: .88rem; color: var(--ink-soft); margin: 0 0 .55rem; font-style: italic;
}
.classified .body { margin: 0 0 .85rem; color: var(--ink); }
.classified .card-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* How it works */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
}
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.15rem; box-shadow: var(--shadow);
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--burgundy); color: #fff; display: grid; place-items: center;
  font-weight: 800; margin-bottom: .7rem;
}
.step h3 { margin: 0 0 .4rem; font-family: var(--serif); color: var(--navy); }
.step p { margin: 0; color: var(--ink-soft); }

/* Page shells */
.page-hero {
  padding: 1.5rem 0 0.5rem;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 .4rem; color: var(--navy);
}
.page-hero p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.filters {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: .65rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: .9rem; margin: 1rem 0 1.2rem; box-shadow: var(--shadow);
}

/* Post detail */
.post-layout {
  display: grid; grid-template-columns: 1.5fr .85fr; gap: 1.1rem; padding-bottom: 2rem;
}
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.25rem; box-shadow: var(--shadow);
}
.panel h1, .panel h2, .panel h3 { font-family: var(--serif); color: var(--navy); }
.paywall {
  background: linear-gradient(160deg, #1b273b, #162033);
  color: #f4ebe1; border-radius: 18px; padding: 1.2rem;
}
.paywall h2 { color: var(--gold-soft); margin: 0 0 .5rem; font-family: var(--serif); font-size: 1.3rem; }
.paywall p { margin: 0 0 1rem; opacity: .92; }
.safety-box {
  background: rgba(47,107,79,.08); border: 1px solid rgba(47,107,79,.2);
  border-radius: 14px; padding: 1rem; margin-top: 1rem;
}
.safety-box h3 { margin: 0 0 .4rem; font-size: 1rem; color: var(--ok); font-family: var(--serif); }
.safety-box ul { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); }
.report-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }

/* Forms */
.form-grid { display: grid; gap: .9rem; }
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 700; color: var(--navy); }
.hint { font-size: .88rem; color: var(--ink-soft); }
.check { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.check input { margin-top: .3rem; }
.warn-banner {
  display: none; background: var(--warn-bg); border: 1px solid #e2c37a; color: #5d3f0d;
  border-radius: 12px; padding: .85rem 1rem; margin: .5rem 0;
}
.warn-banner.show { display: block; }
.warn-banner strong { display: block; margin-bottom: .2rem; }
.success-banner {
  background: rgba(47,107,79,.1); border: 1px solid rgba(47,107,79,.25); color: var(--ok);
  border-radius: 12px; padding: 1rem; margin: .5rem 0;
}

/* Checkout */
.checkout-methods { display: grid; gap: .65rem; margin: 1rem 0; }
.pay-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; font-weight: 700; color: var(--ink);
}
.pay-btn:hover { border-color: var(--burgundy); }
.pay-btn .fake { font-size: .75rem; color: var(--ink-soft); font-weight: 600; }
.card-fields { display: grid; gap: .65rem; margin-top: .75rem; }
.card-fields.two { grid-template-columns: 1fr 1fr; }
.flow-steps {
  display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1rem;
}
.flow-step {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: 999px; background: rgba(22,32,51,.06); color: var(--ink-soft);
}
.flow-step.on { background: var(--burgundy); color: #fff; }

/* Inbox */
.inbox-layout { display: grid; grid-template-columns: .85fr 1.4fr; gap: 1rem; padding-bottom: 2rem; }
.thread-list { display: grid; gap: .55rem; }
.thread-item {
  text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 12px;
  padding: .85rem; cursor: pointer; width: 100%; font: inherit;
}
.thread-item.active, .thread-item:hover { border-color: var(--burgundy); background: rgba(163,60,82,.04); }
.thread-item strong { display: block; color: var(--navy); }
.thread-item span { font-size: .85rem; color: var(--ink-soft); }
.messages { display: grid; gap: .7rem; max-height: 420px; overflow: auto; padding-right: .25rem; }
.bubble {
  max-width: 85%; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line);
}
.bubble.me { justify-self: end; background: rgba(122,36,56,.08); border-color: rgba(122,36,56,.2); }
.bubble .who { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: .25rem; }
.consent-box {
  margin-top: 1rem; padding: 1rem; border-radius: 14px; border: 1px dashed var(--burgundy);
  background: rgba(163,60,82,.05);
}

/* Safety page */
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.rule-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem; box-shadow: var(--shadow);
}
.rule-card h3 { margin: 0 0 .4rem; font-family: var(--serif); color: var(--navy); }
.rule-card p { margin: 0; color: var(--ink-soft); }

/* Footer */
.site-footer {
  margin-top: 2rem; border-top: 1px solid var(--line);
  background: var(--navy); color: #e8dfd2; padding: 1.6rem 0 2rem;
}
.footer-inner {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.2rem;
}
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h4 { margin: 0 0 .55rem; font-family: var(--serif); color: #fff; }
.site-footer p, .site-footer li { color: rgba(232,223,210,.85); font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.foot-note { margin-top: 1.2rem; font-size: .8rem; opacity: .7; }

/* Utility */
.hidden { display: none !important; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.stack { display: grid; gap: .75rem; }

@media (max-width: 900px) {
  .brand-tag { display: none; }

  .hero, .post-layout, .inbox-layout, .footer-inner, .rules-grid, .cat-grid, .steps {
    grid-template-columns: 1fr;
  }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .classified-columns { column-count: 1; }
  .filters { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; right: 1rem; top: 64px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    padding: .6rem; flex-direction: column; align-items: stretch; min-width: 220px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-actions, .card-fields.two { grid-template-columns: 1fr; }
}


/* Compact How-it-works strip under hero */
.how-strip {
  padding: .35rem 0 1.1rem;
}
.how-strip .steps {
  gap: .65rem;
}
.how-strip .step {
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .65rem;
  row-gap: .15rem;
  align-items: start;
}
.how-strip .step-num {
  grid-row: 1 / span 2;
  margin-bottom: 0;
  width: 30px; height: 30px; font-size: .9rem;
}
.how-strip .step h3 { margin: 0; font-size: 1.05rem; }
.how-strip .step p { margin: 0; font-size: .9rem; line-height: 1.4; }
.how-strip-label {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 .55rem;
  display: flex; align-items: baseline; gap: .65rem; flex-wrap: wrap;
}
.how-strip-label span {
  font-family: var(--sans);
  font-size: .88rem;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 900px) {
  .how-strip .step {
    grid-template-columns: auto 1fr;
  }
}

.brand.has-logo { gap: .55rem; }
.brand.has-logo .brand-text { display: none; } /* logo image carries the name; tagline lives in hero */
@media (min-width: 901px) {
  .brand.has-logo .brand-text {
    display: flex;
  }
  .brand.has-logo .brand-name { display: none; } /* wordmark already has name */
  .brand.has-logo .brand-tag { font-size: .68rem; max-width: 16rem; white-space: normal; line-height: 1.25; text-transform: none; letter-spacing: .02em; }
}

.footer-brand p { margin: .35rem 0 0; }
.site-footer a:hover { color: var(--teal); }
.chip { border-color: rgba(56,196,176,.3); }
.how-strip .step-num { background: var(--coral); }
.btn-secondary { background: var(--navy); }
.cat-icon { color: var(--navy); }
a { color: var(--coral); }
a:hover { color: var(--teal-deep); }
.nav a:hover, .nav a.active { color: var(--navy); }

/* Bigger, cropped logo (Jack wants it to read clearly). */
.brand-logo{height:58px !important;max-width:min(340px,60vw) !important}
.footer-logo{height:48px !important;max-width:300px !important}
@media (max-width:600px){.brand-logo{height:44px !important}}
