/* =====================================================================
   Kamela Hurley — editorial homepage + site chrome
   Sections: kh_hero, kh_press, kh_philosophy, kh_feature, kh_about,
   kh_institute, kh_questions, kh_journal, kh_signup
   ===================================================================== */

:root {
  --kh-ink: #1F1B17;
  --kh-ink-soft: #3A332C;
  --kh-ivory: #F7F2EA;
  --kh-parchment: #F0EBE3;
  --kh-sand: #ECE5D9;
  --kh-press: #E6DED1;
  --kh-night: #262420;
  --kh-night-text: #F1EBE0;
  --kh-night-soft: #E2D9CA;
  --kh-night-muted: #CFC3AE;
  --kh-sepia: #6B4F33;
  --kh-gold: #D4B97F;
  --kh-rule: #D3C7B4;
  --kh-serif: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --kh-sans: 'Jost', 'Nunito', Helvetica, Arial, sans-serif;
  --kh-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

/* ---------- base ---------- */
.kh { font-family: var(--kh-sans); font-weight: 400; color: var(--kh-ink); overflow-x: hidden; }
.kh *, .kh *::before, .kh *::after { box-sizing: border-box; }
/* one-class specificity so the section rules below (same weight, later) win */
.kh :where(p, h1, h2, h3, h4) { margin: 0; padding: 0; text-transform: none; letter-spacing: normal; font-style: normal; }
.kh a { color: inherit; text-decoration: none; }
.kh a:hover { color: var(--kh-sepia); }
.kh img { display: block; max-width: 100%; }
.kh-wrap { max-width: 1360px; margin: 0 auto; padding-left: clamp(20px, 4.4vw, 72px); padding-right: clamp(20px, 4.4vw, 72px); }
.kh-pad { padding-top: clamp(80px, 9vw, 140px); padding-bottom: clamp(80px, 9vw, 140px); }

.kh-eyebrow { font-family: var(--kh-sans); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase !important; font-weight: 500; color: var(--kh-ink-soft); }
.kh-h1, .kh-h2 { font-family: var(--kh-serif) !important; font-weight: 400 !important; color: inherit; }
.kh-h1 { font-size: clamp(56px, 8vw, 126px); line-height: 0.92; letter-spacing: -0.04em !important; }
.kh-h2 { font-size: clamp(44px, 5.8vw, 90px); line-height: 0.96; letter-spacing: -0.03em !important; }
.kh-h2--xl { font-size: clamp(52px, 7vw, 112px); line-height: 0.92; letter-spacing: -0.035em !important; }
.kh-it { font-style: italic !important; }
.kh-lede { font-family: var(--kh-serif); font-style: italic !important; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; color: var(--kh-ink-soft); }
.kh-body, .kh-body p { font-size: 17px; line-height: 1.75; font-weight: 300; color: var(--kh-ink-soft); }
.kh-body p + p { margin-top: 16px; }
.kh-measure { max-width: 560px; }

.kh-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; background: var(--kh-ink); color: var(--kh-ivory) !important; font-family: var(--kh-sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; border: 0; cursor: pointer; }
.kh-btn:hover { background: var(--kh-sepia); }
.kh-btn--light { background: var(--kh-night-text); color: var(--kh-ink) !important; }
.kh-btn--light:hover { background: #fff; }
.kh-link { font-family: var(--kh-sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.kh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 40px; }

.kh-plate { position: relative; display: flex; align-items: flex-end; padding: 20px; background: #C7B497; overflow: hidden; }
.kh-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kh-plate__label { position: relative; font-family: var(--kh-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kh-ink); }

/* ---------- hero ---------- */
.kh-hero { background: var(--kh-parchment); padding-top: clamp(56px, 7vw, 110px); padding-bottom: clamp(64px, 8vw, 120px); }
.kh-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.kh-hero__role { margin-top: 8px; font-size: 12px; letter-spacing: 0.2em; line-height: 1.6; text-transform: uppercase; color: var(--kh-sepia); }
.kh-hero .kh-eyebrow { letter-spacing: 0.3em; color: var(--kh-ink); }
.kh-hero .kh-h1 { margin-top: 32px; }
.kh-hero__intro { margin-top: 34px; max-width: 500px; font-size: 18px; line-height: 1.65; font-weight: 300; color: var(--kh-ink-soft); }
.kh-stack { position: relative; height: 640px; }
.kh-stack__main { position: absolute; top: 4%; right: 3%; width: 76%; height: 80%; background: #B9A68A; }
.kh-stack__polaroid { position: absolute; left: 0; bottom: 0; width: 40%; height: 46%; background: #FBF8F2; padding: 12px 12px 44px; transform: rotate(-4deg); box-shadow: 0 18px 40px rgba(31,27,23,0.18); }
.kh-stack__polaroid .kh-plate { width: 100%; height: 100%; background: #8E7B62; padding: 12px; }
.kh-stack__polaroid .kh-plate__label { color: var(--kh-ivory); font-size: 10px; }
.kh-stack__caption { position: absolute; left: 14px; bottom: 12px; font-family: var(--kh-serif); font-style: italic; font-size: 14px; color: var(--kh-ink-soft); }
.kh-stack__note { position: absolute; top: 0; right: 0; width: 210px; background: #FBF8F2; padding: 20px 22px; transform: rotate(4deg); box-shadow: 0 10px 28px rgba(31,27,23,0.12); font-family: var(--kh-serif); font-style: italic; font-size: 23px; line-height: 1.25; }
.kh-stack__note::before { content: ""; position: absolute; top: -10px; left: 50%; width: 64px; height: 20px; margin-left: -32px; background: rgba(201,178,140,0.55); }

/* ---------- press ---------- */
.kh-press { background: var(--kh-press); padding: 30px 0; text-align: center; }
.kh-press .kh-eyebrow { font-size: 11px; letter-spacing: 0.28em; color: #4A4037; }
.kh-press__names { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; font-family: var(--kh-serif); font-size: clamp(20px, 2vw, 28px); color: #2B2621; }
.kh-press__names span:nth-child(even) { font-style: italic; }

/* ---------- philosophy ---------- */
.kh-philo { background: var(--kh-ivory); }
.kh-philo__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: end; }
.kh-philo__head .kh-h2 { margin-top: 24px; }
.kh-philo__head .kh-body { margin-top: 22px; }
.kh-lens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--kh-ink); margin-top: clamp(48px, 5vw, 72px); }
.kh-lens__item { padding: 28px 28px 8px 0; border-right: 1px solid var(--kh-rule); }
.kh-lens__item + .kh-lens__item { padding-left: 28px; }
.kh-lens__item:last-child { border-right: 0; }
.kh-lens__num { font-family: var(--kh-serif); font-style: italic; font-size: 22px; color: var(--kh-sepia); }
.kh-lens__label { margin-top: 10px !important; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.kh-lens__q { margin-top: 14px !important; font-family: var(--kh-serif); font-size: 27px; line-height: 1.2; }
.kh-lens__text { margin: 12px 0 20px !important; font-size: 15px; line-height: 1.65; font-weight: 300; color: var(--kh-ink-soft); }

/* ---------- Beyond the Evidence ---------- */
.kh-feature { background: var(--kh-night); color: var(--kh-night-text); }
.kh-feature__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.kh-feature .kh-eyebrow { color: var(--kh-gold); }
.kh-feature .kh-h2 { margin-top: 26px; font-size: clamp(58px, 8vw, 128px); line-height: 0.88; letter-spacing: -0.035em !important; color: var(--kh-night-text); }
.kh-feature__sub { margin-top: 30px !important; font-family: var(--kh-serif); font-style: italic; font-size: 28px; line-height: 1.3; }
.kh-feature .kh-body, .kh-feature .kh-body p { color: var(--kh-night-soft); max-width: 480px; }
.kh-feature .kh-body { margin-top: 20px; }
.kh-feature .kh-link { color: var(--kh-night-text); }
.kh-feature .kh-actions { margin-top: 36px; }
.kh-video { position: relative; aspect-ratio: 16 / 9; background: #3E3730; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.kh-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kh-video__play { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--kh-night-text); display: flex; align-items: center; justify-content: center; color: var(--kh-night-text) !important; background: rgba(31,27,23,0.35); }
.kh-video .kh-plate__label { position: absolute; left: 24px; bottom: 24px; color: var(--kh-night-muted); }
.kh-feature__ep { margin-top: 20px !important; padding-top: 18px; border-top: 1px solid #4E453C; font-family: var(--kh-serif); font-size: 24px; line-height: 1.25; }
.kh-feature__note { margin-top: 28px !important; padding: 16px 18px; border: 1px solid #4E453C; font-size: 14px; line-height: 1.6; color: var(--kh-night-muted); }
.kh-feature__note strong { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--kh-gold); }

/* ---------- about ---------- */
.kh-about { background: var(--kh-ivory); }
.kh-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.kh-about .kh-plate { aspect-ratio: 4 / 5; }
.kh-about .kh-h2 { margin-top: 26px; font-size: clamp(44px, 5.2vw, 80px); line-height: 0.98; }
.kh-about__lead { margin-top: 28px !important; font-family: var(--kh-serif); font-style: italic; font-size: 24px; line-height: 1.4; color: var(--kh-ink-soft); }
.kh-about .kh-body { margin-top: 22px; }
.kh-about .kh-link { display: inline-block; margin-top: 30px; }

/* ---------- institute ---------- */
.kh-inst { background: var(--kh-parchment); }
.kh-inst__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.kh-inst .kh-h2 { margin-top: 24px; }
.kh-inst .kh-body { margin-top: 28px; max-width: 520px; }
.kh-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.kh-path { display: block; border: 1px solid var(--kh-ink); padding: 22px 22px 24px; }
.kh-path--featured { background: var(--kh-ink); color: var(--kh-ivory) !important; }
.kh-path--featured:hover { color: var(--kh-ivory) !important; background: #2E2923; }
.kh-path__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--kh-sepia); }
.kh-path--featured .kh-path__label { color: var(--kh-gold); }
.kh-path__title { margin-top: 10px !important; font-family: var(--kh-serif); font-size: 23px; line-height: 1.15; }
.kh-path__text { margin-top: 10px !important; font-size: 14px; line-height: 1.55; font-weight: 300; color: var(--kh-ink-soft); }
.kh-path--featured .kh-path__text { color: var(--kh-night-soft); }
.kh-inst .kh-btn { margin-top: 36px; }
.kh-inst__media { position: relative; }
.kh-inst__media .kh-plate { aspect-ratio: 5 / 6; background: #C9B699; }
.kh-inst__tag { position: absolute; right: 16px; bottom: 40px; background: var(--kh-ivory); padding: 20px 24px; max-width: 240px; transform: rotate(-2deg); box-shadow: 0 10px 28px rgba(31,27,23,0.12); }
.kh-inst__tag p:first-child { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--kh-sepia); }
.kh-inst__tag p + p { margin-top: 8px !important; font-family: var(--kh-serif); font-size: 20px; line-height: 1.25; }

/* ---------- questions ---------- */
.kh-q { background: var(--kh-ivory); }
.kh-q__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.kh-q .kh-h2 { margin-top: 22px; }
.kh-q__intro { margin-top: 30px !important; max-width: 560px; font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--kh-ink-soft); }
.kh-q__lens { margin-top: 18px !important; max-width: 560px; font-family: var(--kh-serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--kh-ink-soft); }
.kh-q__types { margin-top: 36px; border-top: 1px solid var(--kh-ink); max-width: 620px; }
.kh-q__type { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--kh-rule); }
.kh-q__num { font-family: var(--kh-serif); font-style: italic; font-size: 20px; color: var(--kh-sepia); min-width: 28px; }
.kh-q__title { font-family: var(--kh-serif); font-size: 26px; }
.kh-q__text { margin-top: 6px !important; font-size: 16px; line-height: 1.6; font-weight: 300; color: var(--kh-ink-soft); }
.kh-q__form { background: var(--kh-parchment); padding: clamp(24px, 3vw, 40px); }
.kh-q__form-title { margin-bottom: 18px !important; font-family: var(--kh-serif); font-style: italic; font-size: 28px; }
.kh-q__form .form-group { margin-bottom: 14px; }
.kh-q__form label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kh-ink-soft); font-weight: 400; }
.kh-q__form .form-control { display: block; width: 100%; min-height: 48px; background: transparent !important; border: 0; border-bottom: 1px solid #8C7E6C; border-radius: 0; box-shadow: none; font-family: var(--kh-sans); font-size: 16px; color: var(--kh-ink); padding-left: 0; }
.kh-q__form textarea.form-control { border: 1px solid #8C7E6C; padding: 12px; min-height: 120px; }
.kh-q__form .kh-btn { margin-top: 10px; }
.kh-q__small { margin-top: 14px !important; font-size: 13px; line-height: 1.55; color: #4A4037; }

/* ---------- journal ---------- */
.kh-journal { background: var(--kh-parchment); }
.kh-journal__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--kh-ink); }
.kh-journal .kh-h2 { margin-top: 20px; font-size: clamp(48px, 6.4vw, 100px); line-height: 0.94; }
.kh-journal__aside { max-width: 320px; }
.kh-journal__aside p { font-size: 16px; line-height: 1.65; font-weight: 300; color: var(--kh-ink-soft); }
.kh-journal__aside .kh-link { display: inline-block; margin-top: 14px; padding-bottom: 5px; }
.kh-notes { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 48px; }
.kh-note { display: block; }
.kh-note .kh-plate { aspect-ratio: 3 / 4; background: #BCA685; padding: 16px; }
.kh-note:first-child .kh-plate { aspect-ratio: 4 / 3; background: #D6C6AC; padding: 18px; }
.kh-note:last-child .kh-plate { background: #3E3730; }
.kh-note:last-child .kh-plate__label { color: var(--kh-night-soft); }
.kh-note__label { margin-top: 20px !important; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--kh-sepia); }
.kh-note__title { margin-top: 10px !important; font-family: var(--kh-serif) !important; font-weight: 400 !important; font-size: 24px; line-height: 1.2; }
.kh-note:first-child .kh-note__title { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.12; }

/* ---------- Substack sign-up + wordmark ---------- */
.kh-signup { background: var(--kh-night); color: #EDE6DA; padding-top: clamp(64px, 8vw, 112px); padding-bottom: 36px; }
.kh-signup__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; }
.kh-signup .kh-eyebrow { color: var(--kh-gold); }
.kh-signup__title { margin-top: 18px !important; font-family: var(--kh-serif); font-style: italic; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.kh-signup__body { margin-top: 20px !important; max-width: 440px; font-size: 17px; line-height: 1.7; font-weight: 300; color: var(--kh-night-soft); }
.kh-signup__more { margin-top: 28px !important; max-width: 440px; font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--kh-night-muted); }
.kh-signup__more a { color: #EDE6DA !important; border-bottom: 1px solid #7A6D5E; padding-bottom: 2px; }
.kh-signup__form { display: flex; flex-direction: column; gap: 12px; align-self: end; }
.kh-signup__form label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--kh-night-muted); }
.kh-signup__row { display: flex; flex-wrap: wrap; gap: 12px; }
.kh-signup__row input { flex: 1 1 240px; min-height: 52px; background: transparent; border: 0; border-bottom: 1px solid #7A6D5E; color: #EDE6DA; font-family: var(--kh-sans); font-size: 16px; outline-offset: 4px; }
.kh-signup__small { font-size: 12px; line-height: 1.5; color: #A99C89; }
.kh-signup iframe { width: 100%; max-width: 480px; height: 150px; border: 0; background: transparent; }
.kh-wordmark { margin-top: clamp(72px, 9vw, 120px) !important; font-family: var(--kh-serif); font-size: clamp(54px, 13vw, 204px); line-height: 0.85; letter-spacing: -0.045em; color: #EDE6DA; }
.kh-signup__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 32px; margin-top: 24px; }
.kh-signup__base p:first-child { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--kh-night-muted); }
.kh-signup__base p + p { font-family: var(--kh-serif); font-style: italic; font-size: 22px; }

/* ---------- editor-only helper ---------- */
.kh-editor-note { padding: 16px; border: 1px dashed var(--kh-sepia); font-size: 14px; line-height: 1.5; color: var(--kh-ink-soft); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .kh-hero__grid, .kh-philo__head, .kh-feature__grid, .kh-about__grid, .kh-inst__grid, .kh-q__grid, .kh-notes, .kh-signup__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .kh-philo__head { gap: 28px; }
  .kh-stack { height: 500px; }
  .kh-lens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kh-lens__item { padding: 24px 20px 8px 0; border-right: 0; border-bottom: 1px solid var(--kh-rule); }
  .kh-lens__item + .kh-lens__item { padding-left: 0; }
  .kh-lens__item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--kh-rule); }
  .kh-paths { grid-template-columns: minmax(0, 1fr); }
  .kh-inst__media { order: -1; }
  .kh-journal__head { flex-direction: column; align-items: flex-start; }
  .kh-press__names { justify-content: center; }
  .kh-note .kh-plate, .kh-note:first-child .kh-plate { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .kh-stack { height: 420px; }
  .kh-stack__note { width: 170px; font-size: 19px; }
  .kh-lens { grid-template-columns: minmax(0, 1fr); }
  .kh-lens__item:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* =====================================================================
   Site chrome: header + footer (all pages)
   ===================================================================== */
.hello-bar { font-family: var(--kh-sans) !important; }
.hello-bar__text { font-family: var(--kh-sans) !important; font-size: 11px !important; letter-spacing: 0.24em !important; }
.header .logo__text, .logo__text { font-family: var(--kh-serif) !important; font-size: 25px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: -0.01em !important; }
.header .link-list__link, .header .dropdown__trigger, header .link-list__link { font-family: var(--kh-sans) !important; font-size: 12px !important; letter-spacing: 0.18em !important; text-transform: uppercase; font-weight: 400; }
.header .btn { border-radius: 0 !important; font-family: var(--kh-sans) !important; font-size: 11px !important; letter-spacing: 0.18em !important; font-weight: 500 !important; }
.header__content--desktop { border-bottom: 1px solid #DDD3C3; }
.footer, .footer__content { font-family: var(--kh-sans) !important; }
.footer .link-list__link { letter-spacing: 0.14em; }
