/* ── Waking Up Guide Series — Shared Stylesheet ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&display=swap');

:root {
  --ochre:        #8B5E3C;
  --ochre-mid:    #4A2E0E;
  --ochre-light:  #D4A96A;
  --ochre-pale:   #C17F3A;
  --charcoal:     #2C2C2C;
  --warm-grey:    #6B6055;
  --shade-bg:     #F5ECD7;
  --persona-bg:   #F0E8D5;
  --teaching-bg:  #FAF3E0;
  --page-bg:      #FDFAF5;
  --border-light: #D4A96A;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  background-color: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  /* Plagiarism protection */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Prevent right-click */
body { -webkit-touch-callout: none; }

/* ── Layout ── */
.guide-wrapper {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 2.5rem 4rem;
}

/* ── Site Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 1rem;
  border-bottom: 3px solid var(--ochre);
  margin-bottom: 2.5rem;
}

.site-header .series-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ochre);
  text-transform: uppercase;
}

.site-header .series-subtitle {
  font-size: 0.85rem;
  color: var(--warm-grey);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ── Guide Header ── */
.guide-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.guide-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--ochre);
  text-transform: uppercase;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.guide-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.guide-subtitle {
  font-size: 1rem;
  color: var(--warm-grey);
  font-style: italic;
}

/* ── Section Headings ── */
h2.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  border-bottom: 2px solid var(--ochre-light);
  padding-bottom: 0.4rem;
  margin: 2.8rem 0 1rem;
}

h2.section-heading:first-of-type { margin-top: 1rem; }

/* ── Body Text ── */
p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1rem;
  text-align: justify;
}

p.intro { font-style: italic; color: var(--warm-grey); }
p.note  { font-style: italic; color: var(--warm-grey); font-size: 0.9rem; }

/* ── Persona Cards ── */
.persona-card {
  background: var(--persona-bg);
  border-left: 4px solid var(--ochre-pale);
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  margin: 0.8rem 0 1.2rem;
  border-radius: 0 4px 4px 0;
}

.persona-card .persona-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--ochre);
  font-size: 1rem;
  margin-right: 0.4rem;
}

.persona-card .persona-role {
  font-style: italic;
  color: var(--warm-grey);
  font-size: 0.88rem;
  margin-right: 0.3rem;
}

.persona-card .persona-text {
  font-style: italic;
  color: var(--charcoal);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Teaching Blocks ── */
.teaching-block {
  background: var(--teaching-bg);
  border-left: 5px solid var(--ochre-light);
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.2rem;
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.8;
}

.teaching-block .book-ref {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--warm-grey);
  margin-top: 0.5rem;
}

.teaching-block .book-ref strong {
  color: var(--ochre-pale);
  font-weight: 600;
}

/* ── Pull Quotes ── */
.pull-quote {
  text-align: center;
  font-style: italic;
  color: var(--ochre-pale);
  font-size: 1.05rem;
  border-left: 4px solid var(--ochre-light);
  border-right: 4px solid var(--ochre-light);
  padding: 1rem 2rem;
  margin: 1.8rem auto;
  max-width: 90%;
  line-height: 1.8;
}

/* ── Tier Cards ── */
.tier-card {
  background: var(--persona-bg);
  border-left: 5px solid var(--ochre-light);
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  margin-bottom: 0.8rem;
  border-radius: 0 4px 4px 0;
}

.tier-card .tier-num {
  font-size: 0.8rem;
  color: var(--ochre-light);
  font-weight: 600;
  margin-right: 0.3rem;
}

.tier-card .tier-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--ochre);
  font-size: 1.05rem;
  margin-right: 0.5rem;
}

.tier-card .tier-tagline {
  font-style: italic;
  color: var(--warm-grey);
  font-size: 0.88rem;
}

.tier-card p { margin: 0.5rem 0 0; font-size: 0.95rem; }

/* ── Technique Blocks ── */
.technique-block { margin-bottom: 2rem; }

.technique-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.technique-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--ochre);
  font-size: 1.15rem;
}

.timing-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.tag-morning   { background: #FFF0D0; color: #7A4A00; }
.tag-afternoon { background: #F5E8D0; color: #6B3A00; }
.tag-night     { background: #E0DCF0; color: #3A2A6B; }
.tag-anytime   { background: #E8F0E8; color: #2A5A2A; }

.technique-stages {
  font-style: italic;
  color: var(--warm-grey);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ── Flex Practice Blocks ── */
.flex-block {
  background: #E8F0E8;
  border-left: 5px solid #4A7A4A;
  padding: 0.8rem 1rem 0.8rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 0 4px 4px 0;
}

.flex-block .flex-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #2A5A2A;
  font-size: 1rem;
  margin-right: 0.4rem;
}

.flex-block .flex-duration {
  font-style: italic;
  color: var(--warm-grey);
  font-size: 0.82rem;
}

.flex-block p { margin-top: 0.4rem; font-size: 0.93rem; }

/* ── Tool Library Table ── */
.tool-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}

.tool-table td {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  vertical-align: top;
  border: 1px solid var(--ochre-light);
}

.tool-table td:nth-child(odd) { background: var(--teaching-bg); }
.tool-table td:nth-child(even) { background: var(--persona-bg); }

.tool-name {
  font-weight: 700;
  color: var(--ochre-mid);
  font-size: 0.88rem;
}

/* ── Mystics Table ── */
.mystics-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.88rem;
}

.mystics-table th {
  background: var(--ochre);
  color: white;
  padding: 0.5rem 0.7rem;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mystics-table td {
  padding: 0.4rem 0.7rem;
  border-bottom: 1px solid #E8DDD0;
  vertical-align: top;
}

.mystics-table tr:nth-child(even) td { background: var(--shade-bg); }
.mystics-table tr:nth-child(odd) td  { background: var(--teaching-bg); }

.mystics-table td:first-child  { color: var(--ochre-mid); font-weight: 700; }
.mystics-table td:nth-child(2) { font-weight: 600; color: var(--charcoal); }
.mystics-table td:last-child   { color: var(--warm-grey); font-style: italic; }

/* ── Bridge Box ── */
.bridge-box {
  background: var(--shade-bg);
  border-top: 2px solid var(--ochre-light);
  border-bottom: 2px solid var(--ochre-light);
  text-align: center;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ochre-pale);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Circle Divider ── */
.circle-divider {
  text-align: center;
  color: var(--ochre-light);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin: 1.8rem 0;
}

/* ── Attribution ── */
.attribution {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ochre-light);
  font-size: 0.82rem;
  color: var(--warm-grey);
  font-style: italic;
  line-height: 1.9;
}

.attribution a {
  color: var(--ochre-pale);
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
}

.attribution a:hover { text-decoration: underline; }

/* ── Masters Block ── */
.masters-block {
  background: var(--teaching-bg);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  text-align: center;
  line-height: 2;
  border-radius: 4px;
}

.masters-block .master-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--ochre-pale);
  font-size: 1rem;
  margin-right: 0.3rem;
}

.masters-block .master-note {
  font-style: italic;
  color: var(--warm-grey);
  font-size: 0.85rem;
}

/* ── Book entries ── */
.book-entry { margin-bottom: 1.2rem; }
.book-entry .book-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--ochre-pale);
  font-size: 1rem;
}
.book-entry p { font-size: 0.92rem; color: var(--warm-grey); margin: 0.2rem 0 0 1rem; }

/* ── Osho Quote ── */
.osho-quote {
  border-left: 4px solid var(--ochre-light);
  border-right: 4px solid var(--ochre-light);
  padding: 1.2rem 2rem;
  margin: 2rem auto;
  text-align: center;
  font-style: italic;
  color: var(--ochre-pale);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 85%;
}

.osho-quote .attribution-line {
  font-style: normal;
  color: var(--warm-grey);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ── Welcome ── */
.welcome-word {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ochre);
  margin: 1.5rem 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .guide-wrapper { padding: 1rem 1.2rem 3rem; }
  .guide-title   { font-size: 1.9rem; }
  .tool-table    { font-size: 0.78rem; }
  .mystics-table { font-size: 0.76rem; }
}

/* ── Print ── */
@media print {
  body { background: white; }
  .guide-wrapper { max-width: 100%; padding: 0; }
}
