/* ==========================================================================
   Cicerone landing — mobile-first
   Palette and type match the pitch deck:
     cream #FAF7F2 bg · red #C02828 accent · teal #1B7A6D · ink #2C2C3E
     Geist (sans) + Fraunces (serif italic for signature)
   ========================================================================== */

:root {
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --ink: #2C2C3E;
  --mute: #7A7A8A;
  --line: rgba(44, 44, 62, 0.10);
  --line-strong: rgba(44, 44, 62, 0.18);
  --red: #C02828;
  --red-dark: #8B1E22;
  --teal: #1B7A6D;
  --shadow-sm: 0 2px 10px rgba(44,44,62,.06);
  --shadow-md: 0 10px 30px rgba(44,44,62,.08);
  --shadow-card: 0 20px 48px rgba(44,44,62,.12);
  --radius: 20px;
  --radius-lg: 28px;
}

*,*::before,*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----- Top bar -------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-logo {
  height: 22px;
  width: auto;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}

.brand-word {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}

/* ----- Hero ----------------------------------------------------------- */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 40px;
  text-align: left;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--mute);
  margin: 0 0 18px;
}

.hero-title {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 900px;
}

.hero-lede {
  font-size: clamp(18px, 3.6vw, 22px);
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
}

.hero-lede strong {
  font-weight: 600;
  color: var(--red);
}

.hero-hint {
  margin-top: 40px;
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.08em;
}

/* ----- Product cards -------------------------------------------------- */

.products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  will-change: transform;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--line-strong);
  outline: none;
}

.card:active { transform: translateY(-1px); }

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-body {
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-city {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--mute);
  margin: 0;
}

.card-name {
  font-family: "Geist", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 2px 0 4px;
}

.card-pitch {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 42ch;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(192,40,40,0.30);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover .card-cta,
.card:focus-visible .card-cta {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(192,40,40,0.38);
}

/* ----- About strip ---------------------------------------------------- */

.about {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  border-top: 1px solid var(--line);
}

.about-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--teal);
  margin: 0 0 16px;
}

.about-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 14px;
}

.about-body a {
  color: var(--teal);
  font-weight: 600;
  border-bottom: 1px solid rgba(27,122,109,0.35);
  transition: border-color .15s ease;
}

.about-body a:hover { border-color: var(--teal); }

/* ----- Footer --------------------------------------------------------- */

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.sig {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.sig strong { font-weight: 400; font-style: italic; }

.sig .evoseed {
  background: linear-gradient(135deg, #E84D8A 0%, #4A6DE8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
}

.sig .sep {
  color: var(--mute);
  margin: 0 6px;
  font-style: normal;
}

.contact {
  margin: 0;
  font-size: 14px;
  color: var(--mute);
}

.contact a {
  color: var(--mute);
  border-bottom: 1px dashed var(--line-strong);
  transition: color .15s ease, border-color .15s ease;
}

.contact a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ----- Desktop tweaks ------------------------------------------------- */

@media (min-width: 768px) {
  .hero { padding: 88px 32px 48px; }
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 16px 32px 80px;
  }
  .about { padding: 56px 32px 72px; }
  .brand { padding: 18px 32px; }
  .site-footer { padding: 36px 32px calc(36px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 1100px) {
  .hero { padding-top: 104px; }
  .card-media { aspect-ratio: 16 / 11; }
}

/* ----- Reduced motion ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .card,
  .card-cta { transition: none; }
  .card:hover,
  .card:focus-visible { transform: none; }
}
