/* =========================================================
   vercher.dev — Base Styles
   Purpose: Structural defaults only
   This file should remain boring.
   ========================================================= */

/* ---------- Reset-ish Defaults ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;

  background-color: var(--brand-bg);
  color: var(--brand-text);

  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  line-height: 1.5;
}

/* ---------- Layout Guardrails ---------- */
main {
  max-width: 72ch;
  padding: 2rem 1rem 2rem;
  margin: 0 auto;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  font-size: 0.875rem;
  line-height: 1.4;
  padding-bottom: 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* ---------- Section Separation ---------- */
section {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-gray);
}

/* ---------- Headings ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

/* ---------- Text ---------- */
p {
  margin: 1rem 0;
}

/* ---------- Post Metadata ---------- */
.post-meta {
  text-align: left;
}

/* ---------- CV Metadata ---------- */
body[data-brand-mode="consulting"] .cv-updated {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

body[data-brand-mode="consulting"] .cv-updated p {
  font-size: 0.875rem;
  color: var(--brand-text);
  opacity: 0.8;
  margin: 0;
}

/* ---------- Links ---------- */
a {
  color: var(--brand-primary);
  text-decoration: underline;
}

a:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Lists ---------- */
ul,
ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

/* ---------- Utility ---------- */
.hidden {
  display: none;
}

/* ---------- Footer ---------- */
footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  font-size: 0.875rem;
}

footer .footer-icon {
  width: 48px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

footer .footer-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}