/* ============================================================
   Eden Lord Consulting — edenlord.com
   Restrained, deliberate, premium.
   ============================================================ */

:root {
  --color-bg: #FFFFFF;
  --color-text: #2A2A2A;
  --color-heading: #1F3A5F;
  --color-accent: #1F3A5F;
  --color-accent-hover: #3D5A7F;
  --color-rule: #E5E5E5;
  --color-muted: #6E6E6E;
  --color-soft: #F7F7F5;

  --font-display: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-body: "Cormorant Garamond", "Garamond", Georgia, serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --width-text: 720px;
  --width-wide: 1080px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 9rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s ease; }
a:hover { color: var(--color-accent-hover); }

/* ---------- Body ---------- */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; margin-bottom: 1.25rem; }
h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 0.5rem; }

p + p { margin-top: 1.1rem; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--color-text);
}

/* ---------- Layout containers ---------- */
.container {
  width: 100%;
  max-width: var(--width-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: var(--width-wide);
}

/* Slightly wider container for the home page — the home reads as overview
   sections (About, Offerings, Insights, Contact) rather than long-form prose,
   so it benefits from more horizontal room than the 720px reading width. */
.container--home {
  max-width: 860px;
}

main {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}

/* ---------- Header ---------- */
.site-header {
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid var(--color-rule);
}

.site-header__inner {
  max-width: var(--width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-block;
  line-height: 0;
}

.wordmark img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-heading);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-heading);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .site-header__inner { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--color-rule);
  }
  .nav.is-open { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-rule);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.site-footer p { margin: 0.3rem 0; }

.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer a:hover {
  color: var(--color-heading);
  border-bottom-color: var(--color-rule);
}

/* ---------- Hero (Home) ---------- */
.hero {
  padding: var(--space-xxl) 1.5rem var(--space-xxl);
  text-align: center;
  animation: fade-up 0.9s ease both;
}

.hero__logo {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 640px) {
  .hero { padding: 5rem 1.5rem 5rem; }
  .hero__logo { max-width: 320px; }
}

/* ---------- Section dividers ---------- */
.section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-rule);
}

.section:first-of-type { border-top: 1px solid var(--color-rule); }

.section__heading {
  margin-bottom: 2rem;
}

/* ---------- Offerings grid (home) ---------- */
.offerings-list {
  display: grid;
  gap: 2.5rem;
  margin-top: 1rem;
}

.offering h3 {
  font-style: italic;
  margin-bottom: 0.6rem;
}

.offering p { color: var(--color-text); }

.section-link {
  display: inline-block;
  margin-top: 2.5rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

.section-link:hover { border-bottom-color: var(--color-accent-hover); }

/* ---------- Writing list ---------- */
.article-list { margin-top: 1rem; }

.article-item {
  padding: 2rem 0;
  border-top: 1px solid var(--color-rule);
}

.article-item:first-child { border-top: none; padding-top: 0.5rem; }

.article-item h3 {
  font-style: italic;
  margin-bottom: 0.4rem;
}

.article-item h3 a {
  color: var(--color-heading);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.article-item h3 a:hover {
  color: var(--color-accent-hover);
  border-bottom-color: var(--color-accent);
}

.article-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.article-item__dek { margin-bottom: 1rem; }

.read-more {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
}

/* ---------- Contact block ---------- */
.contact-block { text-align: left; }

.contact-block .email {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.contact-block p { color: var(--color-muted); font-size: 1.05rem; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  text-align: left;
}

.page-header h1 { margin-bottom: 1rem; }

.page-header .lede {
  color: var(--color-muted);
  max-width: 50ch;
}

/* ---------- Offerings page ---------- */
.offering-block {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-rule);
}

.offering-block:first-of-type { border-top: 1px solid var(--color-rule); }

.offering-number {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.offering-block h2 {
  font-style: italic;
  margin-bottom: 1.25rem;
}

.offering-detail {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.offering-detail dt {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding-top: 0.3rem;
}

.offering-detail dd { margin: 0; }

@media (max-width: 640px) {
  .offering-detail {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
  }
  .offering-detail dd { margin-bottom: 1rem; }
}

.industry-notes h3 {
  font-style: italic;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.industry-notes h3:first-child { margin-top: 0; }

.download-row {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-rule);
}

.download-row p { margin-bottom: 0.5rem; }

/* ---------- About page ---------- */
.about-headshot {
  width: 240px;
  height: 320px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--color-rule);
}

.about-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-display);
  font-size: 4rem;
  color: #FFFFFF;
  background: var(--color-heading);
}

/* ---------- Article page ---------- */
.article-page {
  padding: var(--space-lg) 0 var(--space-xl);
}

.article-page .article-meta {
  margin-bottom: 1.5rem;
}

.article-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  max-width: 24ch;
}

.article-page .lede {
  font-style: italic;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-rule);
}

.article-body p { font-size: 1.1rem; line-height: 1.75; }

.article-body h2 {
  font-style: italic;
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.article-body h3 {
  font-style: italic;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.article-body ol, .article-body ul {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.article-body ol { list-style: decimal; }
.article-body ul { list-style: disc; }

.article-body li { margin-bottom: 0.5rem; padding-left: 0.25rem; }

.article-body blockquote {
  border-left: 2px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-muted);
}

.byline {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-rule);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.placeholder-note {
  background: var(--color-soft);
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ---------- Animation ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fade-up 0.8s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
