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

:root {
  --bg:        #0d0f0e;
  --bg-2:      #131715;
  --bg-3:      #1b2019;
  --border:    #242a26;
  --border-2:  #2e3830;
  --text:      #f0ece3;
  --muted:     #7a8278;
  --dim:       #3a4038;
  --gold:      #4fa872;
  --gold-dim:  #1f5c38;
  --gold-bg:   #091410;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(13,15,14,0.95);
  backdrop-filter: blur(10px);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}

.nav-links a:hover { color: var(--gold); }

.nav-subscribe {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  transition: opacity 0.18s;
}

.nav-subscribe:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  padding: 140px 40px 80px;
  max-width: 960px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-bio {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  border-left: 2px solid var(--gold-dim);
  padding-left: 20px;
  margin-bottom: 48px;
}

.hero-bio strong { color: var(--text); font-weight: 400; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-cadence {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.hero-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  background: none;
  border: 1px solid var(--gold-dim);
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.18s;
}

.hero-cta:hover {
  background: var(--gold-bg);
  border-color: var(--gold);
}

/* ── LATEST BANNER ── */
.latest-banner {
  margin: 0 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.latest-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.latest-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 5px 12px;
  white-space: nowrap;
  margin-top: 6px;
}

.latest-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 14px;
}

.latest-title a { color: var(--text); text-decoration: none; transition: color 0.18s; }
.latest-title a:hover { color: var(--gold); }

.latest-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 20px;
}

.latest-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── SHARED ENTRY ELEMENTS ── */
.entry-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.entry-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 3px 10px;
  text-decoration: none;
}

.share-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.share-link:hover { color: var(--gold); }
.share-link svg { width: 12px; height: 12px; }

/* ── SECTION ── */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 88px 40px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
}

.section-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1;
}

/* ── LIFE LEARNINGS ── */
.learning-entry {
  display: grid;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  grid-template-columns: 160px 1fr;
  gap: 40px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.18s;
}

.learning-entry:hover { opacity: 0.8; }
.learning-entry:last-child { border-bottom: 1px solid var(--border); }
.learning-meta { padding-top: 4px; }

.learning-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
}

.learning-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── BOOKS ── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.book-card {
  display: block;
  background: var(--bg-2);
  padding: 28px;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}

.book-card:hover { background: var(--bg-3); }

.book-spine {
  width: 3px;
  height: 40px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 20px;
}

.book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
}

.book-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.book-takeaway {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-status::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-done    { color: var(--gold); }
.status-reading { color: var(--muted); }
.status-next    { color: var(--dim); }

/* ── WORKPLACE ── */
.work-entry {
  display: grid;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  grid-template-columns: 160px 1fr;
  gap: 40px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.18s;
}

.work-entry:hover { opacity: 0.8; }
.work-entry:last-child { border-bottom: 1px solid var(--border); }

.work-context {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}

.work-principle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.work-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 12px;
}

/* ── PEOPLE ── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.person-card {
  display: block;
  background: var(--bg-2);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.person-card:hover { background: var(--bg-3); }

.person-initials {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.person-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 3px;
}

.person-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.person-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── SUBSCRIBE STRIP ── */
.subscribe-strip {
  margin: 0 40px;
  border-top: 1px solid var(--border);
  background: var(--gold-bg);
}

.subscribe-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.subscribe-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 12px;
}

.subscribe-heading em { font-style: italic; color: var(--gold); }

.subscribe-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-form input,
.modal-form input {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.18s;
  width: 100%;
  -webkit-appearance: none;
}

.subscribe-form input::placeholder,
.modal-form input::placeholder { color: var(--dim); }

.subscribe-form input:focus,
.modal-form input:focus { border-color: var(--gold-dim); }

.subscribe-form button,
.modal-form button {
  background: var(--gold);
  border: none;
  color: var(--bg);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: opacity 0.18s;
}

.subscribe-form button:hover,
.modal-form button:hover { opacity: 0.88; }

.subscribe-note {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.footer-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.24s;
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.18s;
}

.modal-close:hover { color: var(--text); }

.modal-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.modal-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 10px;
}

.modal-heading em { font-style: italic; color: var(--gold); }

.modal-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.modal-form { display: flex; flex-direction: column; gap: 10px; }

.modal-form input { background: var(--bg-3); }

.modal-note {
  margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ── SINGLE POST ── */
.post-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 40px 80px;
}

.post-meta-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.post-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.post-share { margin-bottom: 16px; }

.post-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

.post-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
}

.post-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin: 2rem 0 1rem;
}

.post-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
  margin: 1.5rem 0 0.75rem;
}

.post-body p { margin-bottom: 1.4rem; }

.post-body strong { color: var(--text); font-weight: 500; }

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

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.post-back {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}

.post-back:hover { color: var(--gold); }

.post-subscribe-nudge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-subscribe-nudge p {
  font-size: 13px;
  color: var(--muted);
}

.read-more {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── EMPTY STATE ── */
.empty-state {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

/* ── GHOST KOENIG EDITOR REQUIRED CLASSES ── */
.gh-content .kg-width-wide {
  margin-left: calc(50% - 50vw + 40px);
  margin-right: calc(50% - 50vw + 40px);
  max-width: none;
}

.gh-content .kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.gh-content figure {
  margin: 1.5rem 0;
}

.gh-content figure img {
  width: 100%;
  height: auto;
}

.gh-content figure figcaption {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 8px;
  text-align: center;
}

.gh-content .kg-image-card img {
  width: 100%;
  height: auto;
}

.gh-content .kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gh-content .kg-gallery-row {
  display: flex;
  gap: 4px;
}

.gh-content .kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gh-content .kg-bookmark-card {
  border: 1px solid var(--border-2);
  background: var(--bg-2);
  padding: 20px;
  margin: 1.5rem 0;
  text-decoration: none;
  display: block;
}

.gh-content .kg-bookmark-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
}

.gh-content .kg-bookmark-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.gh-content .kg-callout-card {
  border-left: 2px solid var(--gold-dim);
  padding: 16px 20px;
  background: var(--bg-2);
  margin: 1.5rem 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.gh-content .kg-callout-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

.gh-content .kg-toggle-card {
  border: 1px solid var(--border-2);
  padding: 16px 20px;
  margin: 1.5rem 0;
}

.gh-content .kg-toggle-heading-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 24px;
  z-index: 400;
  opacity: 0;
  transition: all 0.24s;
  white-space: nowrap;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }

  .hero { padding: 110px 20px 64px; }

  .latest-banner { margin: 0; }
  .latest-inner {
    padding: 36px 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section { padding: 64px 20px; }

  .learning-entry,
  .work-entry {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .subscribe-strip { margin: 0; }
  .subscribe-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px;
  }

  footer { padding: 32px 20px; flex-direction: column; gap: 14px; }

  .modal { padding: 36px 24px; }

  .post-container { padding: 110px 20px 60px; }

  .post-footer { flex-direction: column; align-items: flex-start; }
}
