/* @theschnoodlebenji.com — Oxytocin Lane Design System
   v1.0 · 2026-04-30
   Warm, soft, eye-forward. Mimics the feeling of being around a friendly dog.
*/

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, picture, video { max-width: 100%; height: auto; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  /* Color — oxytocin lane */
  --cream: #F5EFE6;
  --cream-deep: #EDE3D2;
  --terracotta: #C4886F;
  --terracotta-deep: #A06B53;
  --gold: #C4A87A;
  --gold-soft: #E0D2B5;
  --blue-warm: #7A99B8;
  --blue-warm-deep: #5B7DA0;
  --ink: #2A2A2A;
  --ink-soft: #5A4A35;
  --ink-muted: #8B7E6B;

  /* Typography */
  --font-serif: 'Lora', 'Georgia', serif;
  --font-sans: 'Nunito', 'Quicksand', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(74, 52, 32, 0.08);
  --shadow-md: 0 4px 16px rgba(74, 52, 32, 0.10);
  --shadow-lg: 0 12px 40px rgba(74, 52, 32, 0.12);

  /* Spacing scale */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --s7: 6rem;
  --s8: 8rem;

  /* Layout */
  --max-width: 1180px;
  --max-width-narrow: 760px;
}

/* ---------- Base ---------- */
html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { color: var(--ink-soft); }
p + p { margin-top: var(--s2); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

a:not(.btn):not(.nav-link):not(.footer-link) {
  color: var(--blue-warm-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
a:not(.btn):not(.nav-link):not(.footer-link):hover {
  color: var(--terracotta);
  text-decoration-color: var(--terracotta);
}

/* ---------- Layout ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--s3); }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 var(--s3); }
section { padding: var(--s7) 0; }
section.tight { padding: var(--s5) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-xl);
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: calc(0.95rem - 2px) calc(1.6rem - 2px);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn-ghost { background: var(--cream-deep); color: var(--ink); }
.btn-ghost:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-arrow::after { content: " →"; transition: transform 200ms ease; display: inline-block; }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s2) var(--s3);
  max-width: var(--max-width); margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nav-logo .accent { color: var(--terracotta); }
.nav-links { display: flex; gap: var(--s4); align-items: center; list-style: none; }
.nav-link {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 180ms ease;
}
.nav-link:hover { color: var(--terracotta); }
.nav-cta { padding: 0.55rem 1.1rem !important; font-size: 0.92rem !important; }

.mobile-toggle { display: none; font-size: 1.6rem; padding: 0.4rem; }

@media (max-width: 800px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: var(--s3);
    gap: var(--s2);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--cream-deep);
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: var(--s6) 0 var(--s7);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .hero { padding: var(--s5) 0; }
}
.hero-text h1 { margin: var(--s2) 0 var(--s3); }
.hero-text p.lead {
  font-size: 1.2rem; color: var(--ink-soft);
  margin-bottom: var(--s4); max-width: 30em;
}
.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
.hero-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Quick stats strip ---------- */
.stats-strip {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s4) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 600;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--cream);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
}

/* ---------- Generic two-column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}
.two-col img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: var(--s4); }
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  margin-bottom: var(--s5);
}
.section-head h2 { margin-top: 0.4rem; }
.section-head p {
  margin-top: var(--s2);
  font-size: 1.1rem;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
@media (min-width: 900px) {
  .cards-grid { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: var(--r-lg);
  padding: var(--s3);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.card-image {
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: var(--s2);
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; color: var(--ink-muted); }
.card-price {
  margin-top: var(--s2);
  font-weight: 700;
  color: var(--terracotta);
  font-size: 0.95rem;
}

/* ---------- Pillar / category grid ---------- */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  justify-content: center;
}
.pill {
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-xl);
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Blog teaser cards ---------- */
.blog-grid {
  display: grid;
  gap: var(--s4);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex; flex-direction: column;
  text-decoration: none !important;
  color: inherit;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream-deep);
}
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body {
  padding: var(--s3);
  display: flex; flex-direction: column;
  flex: 1;
}
.blog-card-category {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.blog-card-excerpt {
  color: var(--ink-muted);
  font-size: 0.95rem;
  flex: 1;
}
.blog-card-meta {
  margin-top: var(--s2);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- Email capture ---------- */
.email-capture {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s5) var(--s4);
  border-radius: var(--r-xl);
  text-align: center;
  margin: var(--s5) 0;
}
.email-capture h2 { color: var(--cream); margin-bottom: var(--s2); }
.email-capture p { color: var(--gold-soft); margin-bottom: var(--s4); }
.email-form {
  display: flex; gap: var(--s2); max-width: 520px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.email-form input[type="email"] {
  flex: 1; min-width: 220px;
  padding: 0.95rem 1.2rem;
  border-radius: var(--r-xl);
  border: none;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}
.email-form input[type="email"]::placeholder { color: var(--ink-muted); }
.email-form button { background: var(--terracotta); color: var(--cream); }
.email-form button:hover { background: var(--terracotta-deep); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--cream-deep);
  padding: var(--s5) 0 var(--s4);
  margin-top: var(--s7);
  border-top: 1px solid var(--gold-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s4);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand p { font-size: 0.95rem; margin-top: var(--s2); }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s2); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link { color: var(--ink-soft); font-size: 0.95rem; transition: color 180ms ease; }
.footer-link:hover { color: var(--terracotta); }
.footer-bottom {
  border-top: 1px solid var(--gold-soft);
  padding-top: var(--s3);
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- Article (blog post) ---------- */
.article-hero {
  padding: var(--s5) 0 var(--s3);
  text-align: center;
}
.article-hero .eyebrow { margin-bottom: var(--s2); }
.article-hero h1 { max-width: 22em; margin: var(--s2) auto var(--s3); }
.article-hero p.lead { max-width: 32em; margin: 0 auto; font-size: 1.15rem; }
.article-hero-image {
  max-width: 980px;
  margin: var(--s4) auto 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: var(--s2) 0;
}

article.post-body {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--s5) var(--s3) 0;
}
article.post-body h2 { margin: var(--s5) 0 var(--s2); }
article.post-body h3 { margin: var(--s4) 0 var(--s2); }
article.post-body p { margin-bottom: var(--s2); font-size: 1.08rem; line-height: 1.8; }
article.post-body ul, article.post-body ol { margin: var(--s2) 0 var(--s3) var(--s4); }
article.post-body li { margin-bottom: 0.6rem; color: var(--ink-soft); }
article.post-body img {
  border-radius: var(--r-md);
  margin: var(--s4) auto;
  box-shadow: var(--shadow-md);
}
article.post-body blockquote {
  border-left: 4px solid var(--terracotta);
  padding: var(--s2) var(--s3);
  margin: var(--s3) 0;
  background: var(--cream-deep);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.1rem;
}
article.post-body .benji-voice {
  border-left: 4px solid var(--gold);
  padding: var(--s2) var(--s3);
  margin: var(--s3) 0;
  background: var(--cream);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
}
article.post-body .benji-voice::before {
  content: "Benji says — ";
  color: var(--terracotta);
  font-weight: 700;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}
article.post-body .affiliate-note {
  background: var(--gold-soft);
  border-radius: var(--r-md);
  padding: var(--s2) var(--s3);
  margin: var(--s4) 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Inline form (contact) ---------- */
.contact-form {
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: var(--r-lg);
  padding: var(--s4);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--s2);
}
.contact-form label { font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); }
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--cream-deep);
  background: var(--cream);
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-sans);
  transition: border-color 180ms ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--terracotta);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { align-self: flex-start; margin-top: var(--s2); }

/* ---------- Quote / pull quote ---------- */
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  text-align: center;
  max-width: 28em;
  margin: var(--s5) auto;
  color: var(--ink);
  line-height: 1.4;
}
.pull-quote::before, .pull-quote::after { content: '"'; color: var(--gold); font-size: 1.4em; }

/* ---------- Reels embed placeholders ---------- */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  max-width: 980px;
  margin: 0 auto;
}
.reel-card {
  aspect-ratio: 9/16;
  border-radius: var(--r-md);
  background: var(--ink);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.reel-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.reel-card-label {
  position: absolute;
  bottom: var(--s2);
  left: var(--s2);
  right: var(--s2);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.92rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
@media (max-width: 700px) {
  .reels-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Audience snapshot ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  text-align: center;
}
@media (max-width: 700px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-cell {
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s3);
}
.audience-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--terracotta);
  font-weight: 600;
}
.audience-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 0.4rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--s2); }
.mt-4 { margin-top: var(--s4); }
.mb-2 { margin-bottom: var(--s2); }
.mb-4 { margin-bottom: var(--s4); }
.bg-deep { background: var(--cream-deep); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--cream); }
.bg-ink p { color: var(--gold-soft); }
