/* =========================================================================
   SHARPER HUMAN — Journal (Blog) styles
   ========================================================================= */

/* ---------- JOURNAL INDEX ---------- */
.journal-header {
  padding: 160px 0 64px;
  background: var(--black);
  border-bottom: 1px solid var(--rule-dark);
}
.journal-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.journal-header h1 em { color: var(--tan); font-style: italic; font-weight: 300; }
.journal-header p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.7;
  max-width: 640px;
}
.journal-header .eyebrow { margin-bottom: 36px; }

/* type filter chips */
.journal-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-dark);
}
.journal-filter {
  padding: 9px 16px;
  border: 1px solid var(--rule-dark);
  color: var(--mute-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  background: transparent;
}
.journal-filter:hover { color: var(--bone); border-color: var(--bone); }
.journal-filter.is-active {
  background: var(--bone);
  color: var(--black);
  border-color: var(--bone);
}
.journal-filter .count {
  margin-left: 6px;
  opacity: 0.5;
  font-size: 10px;
}

/* ---------- JOURNAL GRID ---------- */
.journal-grid-section {
  background: var(--black);
  padding: clamp(56px, 7vw, 96px) 0;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}
.journal-card {
  display: flex;
  flex-direction: column;
  padding: 32px 36px 40px 36px;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s var(--ease);
  position: relative;
  min-height: 380px;
}
.journal-card:nth-child(3n) { border-right: none; }
.journal-card:hover { background: rgba(245,242,236,0.02); }
.journal-card:hover .journal-card__title { color: var(--tan); }
.journal-card:hover .journal-card__img img { transform: scale(1.06); }

.journal-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(155deg, #1a1815 0%, #0e0d0c 100%);
  border: 1px solid var(--rule-dark);
  overflow: hidden;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journal-card__img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}
.journal-card__img.is-cover img { width: 100%; height: 100%; object-fit: cover; filter: none; }

.journal-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 18px;
}
.journal-card__meta .read { opacity: 0.45; color: var(--bone); }
.journal-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  transition: color 0.2s;
}
.journal-card__excerpt {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  opacity: 0.62;
  flex: 1;
}

@media (max-width: 980px) {
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-card:nth-child(3n) { border-right: 1px solid var(--rule-dark); }
  .journal-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 640px) {
  .journal-grid { grid-template-columns: 1fr; }
  .journal-card { border-right: none !important; padding: 28px 0 36px; }
}

/* ---------- ARTICLE PAGE ---------- */
.article-hero {
  padding: 140px 0 clamp(48px, 6vw, 72px);
  background: var(--black);
  border-bottom: 1px solid var(--rule-dark);
}
.article-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 36px;
}
.article-hero__breadcrumb a { transition: color 0.2s, opacity 0.2s; }
.article-hero__breadcrumb a:hover { color: var(--tan); opacity: 1; }
.article-hero__breadcrumb .sep { opacity: 0.35; }
.article-type-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 24px;
}
.article-type-chip::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.article-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 22ch;
}
.article-hero h1 em { color: var(--tan); font-style: italic; font-weight: 300; }
.article-hero__lede {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.7;
  max-width: 640px;
  margin-bottom: 32px;
}
.article-hero__meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}

/* hero featured image */
.article-featured {
  background: var(--black);
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--rule-dark);
}
.article-featured__inner {
  aspect-ratio: 16/8;
  background: linear-gradient(155deg, #1a1815 0%, #0e0d0c 100%);
  border: 1px solid var(--rule-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-featured__inner img {
  width: auto;
  height: 70%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 48px rgba(0,0,0,0.5));
}
.article-featured__inner.is-cover img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.article-featured__caption {
  position: absolute;
  bottom: 18px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.45;
}

/* ---------- ARTICLE BODY ---------- */
.article-body-section {
  padding: clamp(56px, 7vw, 100px) 0;
  background: var(--black);
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--bone);
}
.article-body p {
  opacity: 0.82;
  margin: 0 0 22px;
}
.article-body p.lead {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 300;
  opacity: 0.92;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--bone);
}
.article-body p.lead::first-letter {
  /* tasteful, optional drop cap */
  font-size: 1em;
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 56px 0 22px;
  max-width: 22ch;
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 40px 0 16px;
}
.article-body h2 + h3, .article-body h3 + p { margin-top: 0; }
.article-body em { color: var(--tan); font-style: italic; }
.article-body strong { color: var(--bone); font-weight: 500; opacity: 1; }
.article-body a:not(.cta):not(.product-card):not(.related-card) {
  color: var(--tan);
  border-bottom: 1px solid rgba(201, 165, 126, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.article-body a:not(.cta):not(.product-card):not(.related-card):hover {
  border-color: var(--tan);
  color: var(--bone);
}
.article-body ul, .article-body ol {
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
  counter-reset: lf;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article-body ul > li, .article-body ol > li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  opacity: 0.82;
}
.article-body ol > li { counter-increment: lf; }
.article-body ol > li::before {
  content: counter(lf, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tan);
  opacity: 0.9;
}
.article-body ul > li::before {
  content: '◆';
  position: absolute;
  left: 12px;
  top: 9px;
  font-size: 7px;
  color: var(--tan);
}

/* ---------- KEY TAKEAWAYS BLOCK ---------- */
.article-body .key-takeaways {
  background: linear-gradient(155deg, #14110E 0%, #1a1815 100%);
  border: 1px solid var(--rule-dark);
  padding: 32px 36px;
  margin: 44px 0;
}
.article-body .key-takeaways h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin: 0 0 24px;
  font-weight: 400;
  max-width: none;
}
.article-body .key-takeaways .qa {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 18px;
  opacity: 0.85;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule-dark);
}
.article-body .key-takeaways .qa:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.article-body .key-takeaways .qa strong {
  display: block;
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 16px;
}

/* ---------- {{PC}} PRODUCT CARD ---------- */
.product-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(155deg, #1a1815 0%, #0a0a0a 100%);
  border: 1px solid var(--rule-dark);
  padding: 32px;
  margin: 36px 0 44px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.3s var(--ease);
  position: relative;
}
.product-card:hover { border-color: var(--tan); }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule-dark);
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tan);
}
.product-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--bone);
  margin: 0;
}
.product-card__title em { color: var(--tan); font-style: italic; font-weight: 400; }
.product-card__desc {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  opacity: 0.72;
  margin: 0;
}
.product-card__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan);
  margin-top: 6px;
  transition: gap 0.2s var(--ease);
}
.product-card:hover .product-card__action { gap: 14px; color: var(--bone); }
@media (max-width: 640px) {
  .product-card { grid-template-columns: 1fr; padding: 24px; }
}

/* ---------- {{II}} INSIDE INGREDIENTS ---------- */
.inside-ingredients {
  border: 1px solid var(--rule-dark);
  background: #0d0c0b;
  padding: 28px 32px;
  margin: 36px 0 44px;
}
.inside-ingredients__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 20px;
}
.inside-ingredients__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
}
.inside-ingredients__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.inside-ingredients__item:hover { opacity: 0.7; }
.inside-ingredients__item-img {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1f1c19, #2a2520);
  border: 1px solid var(--rule-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.inside-ingredients__item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.inside-ingredients__item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.inside-ingredients__item-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--bone);
}
.inside-ingredients__item-dose {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}
@media (max-width: 640px) {
  .inside-ingredients__grid { grid-template-columns: 1fr; }
}

/* ---------- {{CTA}} END OF ARTICLE ---------- */
.article-cta {
  margin: 64px 0 0;
  padding: 56px 40px;
  background: linear-gradient(155deg, #1a1815 0%, #0a0a0a 100%);
  border: 1px solid var(--rule-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.article-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
}
.article-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bone);
  margin: 0;
  max-width: 22ch;
}
.article-cta__title em { color: var(--tan); font-style: italic; font-weight: 300; }
.article-cta__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* ---------- RELATED ARTICLES ---------- */
.related-section {
  border-top: 1px solid var(--rule-dark);
  padding: clamp(56px, 7vw, 100px) 0;
  background: var(--black);
}
.related-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 44px;
  gap: 24px;
  flex-wrap: wrap;
}
.related-section__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 16ch;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 0 36px;
  border-right: 1px solid var(--rule-dark);
  padding-right: 36px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.related-card:not(:first-child) { padding-left: 36px; }
.related-card:last-child { border-right: none; padding-right: 0; }
.related-card:hover .related-card__title { color: var(--tan); }
.related-card__type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tan);
}
.related-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  transition: color 0.2s;
}
@media (max-width: 880px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { border-right: none; border-bottom: 1px solid var(--rule-dark); padding-right: 0; padding-left: 0 !important; }
  .related-card:last-child { border-bottom: none; }
}

/* ---------- BACK LINK ---------- */
.journal-back {
  border-top: 1px solid var(--rule-dark);
  padding: clamp(40px, 5vw, 64px) 0;
}
.journal-back__link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: color 0.2s, opacity 0.2s;
}
.journal-back__link:hover { color: var(--tan); opacity: 1; }
