/* DJINN-SRAOSHA / CORE PHILOSOPHY
   Editorial layer only. Approved emblems, runtime controls, and existing themes are untouched. */
.philosophy-hero-link {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 44px; margin-top: 10px; color: #efbbb8;
  font: 600 .68rem/1.7 "Courier New", Consolas, monospace;
  letter-spacing: .08em; border-bottom: 1px solid #66403f;
}
.philosophy-hero-link:hover { color: #fff; border-color: var(--red); }
.djinn-philosophy {
  border-top: 1px solid #3c252b; background: #0b0b0f;
  background: radial-gradient(ellipse at 90% 6%, #3b20242e, transparent 54%), #0b0b0f;
  padding-block: 88px 60px;
}
.philosophy-kicker { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.philosophy-kicker h2 { margin: 0; font-size: .69rem; letter-spacing: .16em; line-height: 1.8; }
.philosophy-kicker>span { color: #b6a5ab; font: .59rem/1.7 "Courier New", monospace; letter-spacing: .09em; }
.philosophy-quotation { margin: 35px 0 0; }
.philosophy-quotation blockquote { margin: 0; max-width: 1150px; }
.philosophy-quotation blockquote p {
  margin: 0; color: #ebe8ed; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.65vw, 3.65rem); font-weight: 400;
  line-height: 1.25; letter-spacing: -.026em; text-wrap: pretty;
}
.philosophy-quotation blockquote em { font-style: normal; color: var(--red); }
.philosophy-quotation figcaption {
  display: flex; align-items: center; flex-wrap: wrap; gap: 24px;
  margin-top: 26px; font-size: .83rem; color: #d8cfd5;
}
.philosophy-author { letter-spacing: .025em; }
.philosophy-source { font-size: .65rem; color: #bca4a9; text-decoration: underline; text-underline-offset: 4px; }
.philosophy-source:hover { color: #fff; }
.philosophy-meaning {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px;
  border-top: 1px solid #353038; padding-top: 28px; margin-top: 36px;
}
.philosophy-meaning p { margin: 0; font-size: .88rem; color: #bcb5c1; line-height: 1.85; }
.philosophy-meaning strong { color: #ece6ed; }
.philosophy-principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  margin-top: 34px;
}
.philosophy-principles article { border-top: 1px solid #71403f; padding-top: 17px; }
.philosophy-principles .mini-label { color: #ff8e87; font-size: .58rem; letter-spacing: .11em; }
.philosophy-principles h3 { margin-top: 12px; font-size: 1.14rem; letter-spacing: -.025em; color: #f0ecf1; }
.philosophy-principles p { margin: 12px 0 0; color: #b6acb9; font-size: .79rem; line-height: 1.85; }
.philosophy-coda {
  display: flex; flex-wrap: wrap; gap: 7px 22px;
  margin: 32px 0 0; padding-top: 23px; border-top: 1px solid #353038;
  color: #c3baca; font-size: .79rem;
}
.philosophy-coda span:first-child { color: #a9caff; }
.philosophy-coda span:nth-child(2) { color: #ff9690; }
.philosophy-coda strong { color: #f2ebf2; }
.teaser-philosophy-quote { margin: 25px 0 0; padding: 19px 0 0 20px; border-left: 1px solid #794441; max-width: 465px; }
.teaser-philosophy-quote>.mini-label { color: #fd9691; font-size: .56rem; letter-spacing: .13em; }
.teaser-philosophy-quote blockquote { margin: 9px 0 0; }
.djinn-teaser .teaser-philosophy-quote blockquote p {
  font: 400 1.17rem/1.55 Georgia, "Times New Roman", serif;
  letter-spacing: -.012em; color: #e5dfe8; margin: 0; max-width: none;
}
.teaser-philosophy-quote blockquote em { color: #ff9a94; font-style: normal; }
.teaser-philosophy-quote figcaption { margin-top: 11px; color: #bba8b4; font-size: .71rem; }
.philosophy-teaser-link { display: inline-flex; align-items: center; gap: 12px; color: #ffb4ae; font-size: .72rem; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.philosophy-teaser-link:hover { color: #fff; }
.shell-philosophy {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
  border-bottom: 1px solid #3a2b32; background: #1b1217; padding: 14px 27px;
}
.shell-philosophy>.mini-label { font-size: .52rem; letter-spacing: .1em; color: #e7b2b0; }
.shell-philosophy p { margin: 0; font: 400 1rem/1.5 Georgia, "Times New Roman", serif; color: #ffc0b9; }
.shell-philosophy a { margin-left: auto; color: #ccb7c3; font-size: .6rem; text-decoration: underline; text-underline-offset: 3px; padding-block: 5px; }
.shell-philosophy a:hover { color: #fff; }
.guardian-lens .shell-philosophy { background: #111b2b; border-color: #354760; }
.guardian-lens .shell-philosophy p,.guardian-lens .shell-philosophy>.mini-label { color: #b8d6ff; }
.duality-evidence-line { margin: 28px 0 30px; color: #d2bfc8; font-size: .91rem; }
@media (max-width: 1000px) {
  .philosophy-kicker>span { display: none; }
  .philosophy-meaning { gap: 34px; }
  .philosophy-principles { gap: 22px; }
}
@media (max-width: 700px) {
  .djinn-philosophy { padding-block: 58px 44px; }
  .philosophy-kicker h2 { font-size: .57rem; letter-spacing: .12em; }
  .philosophy-quotation { margin-top: 25px; }
  .philosophy-quotation blockquote p { font-size: clamp(1.8rem, 6.8vw, 2.6rem); line-height: 1.3; }
  .philosophy-quotation figcaption { gap: 12px 20px; margin-top: 22px; }
  .philosophy-meaning { grid-template-columns: 1fr; gap: 17px; padding-top: 23px; margin-top: 27px; }
  .philosophy-meaning p { font-size: .85rem; }
  .philosophy-principles { grid-template-columns: 1fr; gap: 22px; margin-top: 29px; }
  .philosophy-principles h3 { margin-top: 8px; }
  .philosophy-principles p { margin-top: 8px; font-size: .82rem; }
  .philosophy-coda { display: block; margin-top: 26px; }
  .philosophy-coda span { display: inline-block; margin-right: 12px; }
  .philosophy-coda strong { display: block; margin-top: 5px; }
  .teaser-philosophy-quote { padding-left: 16px; }
  .djinn-teaser .teaser-philosophy-quote blockquote p { font-size: 1.12rem; }
  .shell-philosophy { padding: 14px 18px; column-gap: 14px; }
  .shell-philosophy>.mini-label { flex-basis: 100%; font-size: .52rem; }
  .shell-philosophy p { font-size: .95rem; }
  .shell-philosophy a { margin-left: 0; }
}
@media (forced-colors: active) {
  .djinn-philosophy,.shell-philosophy { background: Canvas; border-color: CanvasText; }
  .djinn-philosophy *,.teaser-philosophy-quote *,.shell-philosophy * { color: CanvasText; }
  .philosophy-quotation a,.shell-philosophy a,.philosophy-teaser-link { color: LinkText; }
}
@media print {
  .djinn-philosophy,.shell-philosophy { background: white!important; color: black!important; }
  .djinn-philosophy *,.shell-philosophy *,.teaser-philosophy-quote * { color: #111!important; text-shadow: none!important; }
  .philosophy-quotation { break-inside: avoid; }
  .philosophy-quotation blockquote p { font-size: 23pt; }
  .philosophy-meaning { gap: 24px; }
  .philosophy-principles { gap: 20px; }
  .philosophy-hero-link { display: none; }
}
