/* Extremely Serious Snake Guy — extremely-serious.com
   Static site. Dark charcoal + cream, pink accents. Mobile-first.
   STORE-READY NOTES are marked with [STORE] — see README.md "Future: sales phase". */

:root {
  --bg: #14120f;
  --bg-soft: #1d1a15;
  --bg-card: #211d17;
  --cream: #f5efe2;
  --cream-dim: #cfc4ae;
  --muted: #9d917d;
  --pink: #ff5fa2;
  --pink-deep: #e84393;
  --line: rgba(245, 239, 226, 0.14);
  --radius: 14px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 18, 15, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 12px; padding-bottom: 12px;
}
.brand { font-weight: 900; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--cream); white-space: nowrap; }
.brand span { color: var(--pink); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  color: var(--cream-dim); font-size: 0.86rem; font-weight: 700;
  padding: 8px 10px; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--cream); background: rgba(255, 95, 162, 0.12); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--pink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(74vh, 660px); display: flex; align-items: flex-end; }
.hero img.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; border-radius: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,15,0.92) 8%, rgba(20,18,15,0.25) 55%, rgba(20,18,15,0.05) 100%);
  display: flex; align-items: flex-end;
}
.hero-text { padding: 28px 20px 36px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.kicker { color: var(--pink); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; margin-bottom: 10px; }
.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.02; letter-spacing: -0.03em; font-weight: 900;
  margin-bottom: 12px;
}
.hero p.lede { color: var(--cream-dim); font-size: 1.08rem; max-width: 34em; }

/* ---------- sections ---------- */
section.block { padding: 56px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
h2.section-title { font-size: clamp(1.7rem, 5vw, 2.5rem); letter-spacing: -0.02em; font-weight: 900; margin-bottom: 8px; }
h2.section-title .pink { color: var(--pink); }
.section-sub { color: var(--muted); margin-bottom: 28px; max-width: 40em; }

/* ---------- cards ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.card .card-body { padding: 18px 20px 22px; }
.card h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.card p { color: var(--cream-dim); font-size: 0.97rem; }
.card img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- [STORE] snake listing cards ----------
   Reusable component for the future sales phase. States:
   .is-available / .is-pending / .is-sold drive the badge color.
   To add a real listing: copy the <article class="listing-card"> template
   in available-snakes/index.html, swap the photo/name/morph/sex/price,
   set the badge. Inquiry buttons + policy pages slot into .listing-actions. */
.listing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.listing-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.listing-card img { border-radius: 0; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.listing-body { padding: 18px 20px 20px; }
.listing-name { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.01em; }
.listing-morph { color: var(--pink); font-weight: 700; font-size: 0.95rem; margin: 2px 0 10px; }
.listing-meta { display: flex; gap: 14px; color: var(--cream-dim); font-size: 0.92rem; margin-bottom: 12px; }
.listing-price { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: 999px; color: #14120f;
}
.badge.is-available { background: #7ee2a8; }
.badge.is-pending { background: #ffd166; }
.badge.is-sold { background: var(--muted); color: var(--bg); }
.badge.is-example { background: var(--pink); color: #14120f; }
/* [STORE] .listing-actions will hold "Inquire" / "Buy" buttons in the sales phase. */
.listing-actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--pink); color: #14120f;
  font-weight: 800; padding: 12px 22px; border-radius: 999px; font-size: 0.98rem;
}
.btn:hover { background: var(--pink-deep); text-decoration: none; color: #14120f; }
.btn-ghost {
  display: inline-block; border: 1px solid var(--line); color: var(--cream);
  font-weight: 700; padding: 12px 22px; border-radius: 999px; font-size: 0.98rem;
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); text-decoration: none; }

/* ---------- video embed ---------- */
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- socials ---------- */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- article / guide typography ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 2.2em 0 0.6em; font-weight: 900; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.1em; color: var(--cream-dim); }
.prose p strong, .prose li strong { color: var(--cream); }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; color: var(--cream-dim); }
.prose li { margin-bottom: 0.5em; }
.prose .answer-box {
  background: var(--bg-soft); border-left: 4px solid var(--pink);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6em 0;
}
.prose .answer-box p { margin: 0; color: var(--cream); font-size: 1.05rem; }
.prose .credit { color: var(--muted); font-size: 0.9rem; font-style: italic; margin-top: 2.5em; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 32px; }
.toc h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.toc ol { margin: 0 0 0 1.2em; color: var(--cream-dim); font-size: 0.95rem; }
.toc li { margin-bottom: 4px; }
.figure { margin: 2em 0; }
.figure figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 8px; }

/* ---------- coming soon ---------- */
.coming-soon {
  text-align: center; padding: 64px 20px; border: 1px dashed var(--line);
  border-radius: var(--radius); background: var(--bg-soft); margin: 32px 0;
}
.coming-soon h2 { font-size: clamp(1.8rem, 6vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.coming-soon p { color: var(--muted); max-width: 32em; margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 40px; }
.site-footer .signoff { color: var(--pink); font-weight: 700; margin: 14px 0 6px; }
.site-footer small { color: var(--muted); }

/* ---------- two-col for larger screens ---------- */
@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
}
@media (min-width: 1020px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .listing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- mobile header: brand on top, scrollable nav row ---------- */
@media (max-width: 719px) {
  .site-header .wrap { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .main-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .main-nav a { flex: 0 0 auto; }
}
