/* ═══════════════════════════════════════════════════════
   MEANINGFUL MOMENTS — Core Stylesheet
   meaningful-moments.org · The Sanguine Organisation
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Lato:wght@300;400;700&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --bg:           #f4ede2;
  --bg-deep:      #ede5d8;
  --bg-card:      rgba(255, 252, 246, 0.96);
  --bg-overlay:   rgba(244, 237, 226, 0.97);
  --border:       rgba(175, 145, 90, 0.24);
  --border-mid:   rgba(175, 145, 90, 0.38);
  --gold:         #9a7838;
  --gold-light:   #c4a050;
  --gold-subtle:  rgba(155, 120, 56, 0.14);
  --text-head:    #2a1e0e;
  --text-body:    #5a4828;
  --text-faint:   rgba(90, 72, 40, 0.55);
  --text-eye:     rgba(120, 90, 45, 0.7);
  --rule:         rgba(155, 120, 58, 0.24);
  --shadow-card:  0 2px 16px rgba(80, 58, 20, 0.06);
  --shadow-float: 0 4px 24px rgba(80, 58, 20, 0.12);
  --radius-card:  16px;
  --radius-pill:  24px;
  --transition:   0.45s cubic-bezier(0.4, 0, 0.2, 1);
  /* Base font size — everything scales from this */
  --fs-base:      17px;
}

body.dark {
  --bg:           #0f0d0a;
  --bg-deep:      #0a0807;
  --bg-card:      rgba(22, 18, 12, 0.98);
  --bg-overlay:   rgba(12, 10, 7, 0.97);
  --border:       rgba(120, 90, 42, 0.32);
  --border-mid:   rgba(140, 105, 48, 0.45);
  --gold:         #c8a050;
  --gold-light:   #e0be72;
  --gold-subtle:  rgba(180, 140, 60, 0.14);
  --text-head:    #f0e4cc;
  --text-body:    #b09870;
  --text-faint:   rgba(175, 145, 85, 0.6);
  --text-eye:     rgba(190, 155, 90, 0.7);
  --rule:         rgba(140, 105, 48, 0.28);
  --shadow-card:  0 2px 20px rgba(0, 0, 0, 0.4);
  --shadow-float: 0 4px 28px rgba(0, 0, 0, 0.5);
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  /* Root font size — browser default is 16px, we lift to 18px */
  font-size: 18px;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1rem;          /* 18px */
  line-height: 1.75;
  background: var(--bg);
  color: var(--text-body);
  min-height: 100%;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY UTILITIES ────────────────────────────── */
.t-serif { font-family: 'Cormorant Garamond', serif; }
.t-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--text-head);
  line-height: 1.2;
  transition: color var(--transition);
}
.t-eye {
  font-size: 0.72rem;       /* ~13px */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-eye);
  transition: color var(--transition);
}
.t-rule {
  width: 28px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto;
  transition: background var(--transition);
}

/* ── LAYOUT ─────────────────────────────────────────── */
.site-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .site-wrapper { padding: 0 18px; }
}

/* ── TOP BAR ─────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--bg-overlay);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), border-color var(--transition);
}
.topbar-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 13px 24px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.topbar-org {
  font-size: 0.67rem;       /* ~12px */
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-eye);
  transition: color var(--transition);
}
.topbar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 5.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--text-head);
  line-height: 1;
  transition: color var(--transition);
}
.topbar-rule {
  width: 28px;
  height: 1px;
  background: var(--rule);
  margin-top: 6px;
  transition: background var(--transition);
}

/* ── BOTTOM NAV BAR ──────────────────────────────────── */
.btm-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-overlay);
  border-top: 1px solid var(--rule);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 max(14px, env(safe-area-inset-bottom));
  transition: background var(--transition), border-color var(--transition);
}
.btm-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 320px;
  width: 100%;
}
.btm-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  color: var(--gold);
  opacity: 0.52;
  transition: opacity 0.2s;
}
.btm-btn:hover, .btm-btn:active { opacity: 1; }
.btm-btn svg { width: 22px; height: 22px; }
.btm-sep {
  width: 1px;
  height: 16px;
  background: var(--rule);
  flex-shrink: 0;
  transition: background var(--transition);
}

/* ── BACK TO TOP ─────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 72px;
  right: 20px;
  z-index: 99;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, background var(--transition), border-color var(--transition);
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top svg { width: 18px; height: 18px; }

/* ── CARDS ───────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card-eye {
  font-size: 0.72rem;       /* ~13px */
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-eye);
  margin-bottom: 6px;
  transition: color var(--transition);
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 4vw, 27px);
  font-weight: 500;
  color: var(--text-head);
  line-height: 1.25;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.card-body {
  font-size: 1rem;          /* 18px */
  line-height: 1.78;
  color: var(--text-body);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.card-more {
  font-size: 0.78rem;       /* ~14px */
  letter-spacing: 0.06em;
  color: var(--gold);
  transition: color 0.2s;
  cursor: pointer;
}
.card-more:hover { color: var(--gold-light); }
.card-badge {
  font-size: 0.67rem;       /* ~12px */
  padding: 3px 11px;
  border-radius: 20px;
  color: var(--gold);
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

/* ── PAGE SECTIONS ───────────────────────────────────── */
.page-section {
  display: none;
  min-height: calc(100vh - 120px);
  padding-bottom: 90px;
}
.page-section.active { display: block; }

.section-header {
  padding: 30px 0 22px;
  text-align: center;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-head);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.section-sub {
  font-size: 1.05rem;       /* ~19px */
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

/* ── DIVIDER ─────────────────────────────────────────── */
.divider {
  width: 32px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 26px;
  transition: background var(--transition);
}

/* ── FORMS ───────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.72rem;       /* ~13px */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-eye);
  margin-bottom: 6px;
  transition: color var(--transition);
}
.form-input, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;          /* 18px */
  outline: none;
  margin-bottom: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-head);
  transition: all var(--transition);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}
.form-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}
.form-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.17rem;       /* ~21px */
  letter-spacing: 0.12em;
  background: var(--gold);
  color: #fff8ee;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}
.form-btn:hover  { background: var(--gold-light); }
.form-btn:active { transform: scale(0.98); }

/* ── PROSE (full post view) ──────────────────────────── */
.prose {
  font-size: 1.06rem;       /* ~19px */
  line-height: 1.85;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto;
  transition: color var(--transition);
}
.prose p          { margin-bottom: 1.4em; }
.prose h2         { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 500; color: var(--text-head); margin: 2em 0 0.6em; letter-spacing: 0.06em; }
.prose h3         { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--text-head); margin: 1.6em 0 0.5em; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 22px; margin: 1.5em 0; font-style: italic; color: var(--text-faint); font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.65; }
.prose ul, .prose ol { margin: 1em 0 1em 1.5em; }
.prose li         { margin-bottom: 0.5em; }
.prose strong     { color: var(--text-head); font-weight: 700; }
.prose em         { font-style: italic; color: var(--gold); }

/* ── NAV LIST ────────────────────────────────────────── */
.nav-list { padding: 8px 0; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-item:last-child { border-bottom: none; }
.nav-item:hover      { opacity: 0.65; }
.nav-num {
  font-size: 0.72rem;       /* ~13px */
  letter-spacing: 0.14em;
  color: var(--gold);
  opacity: 0.7;
  width: 26px;
  flex-shrink: 0;
}
.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;        /* ~27px */
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-head);
  flex: 1;
  transition: color var(--transition);
}
.nav-arrow {
  color: var(--gold);
  opacity: 0.45;
  font-size: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
}

/* ── TSO SUB-CARDS ───────────────────────────────────── */
.sub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.sub-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.25s;
}
.sub-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-float);
  transform: translateY(-2px);
}
.sub-card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--gold);
  opacity: 0.8;
}
.sub-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;       /* ~23px */
  font-weight: 500;
  color: var(--text-head);
  margin-bottom: 10px;
  line-height: 1.2;
  transition: color var(--transition);
}
.sub-card-body {
  font-size: 0.94rem;       /* ~17px */
  line-height: 1.65;
  color: var(--text-body);
  transition: color var(--transition);
}

/* ── LIBRARY ITEMS ───────────────────────────────────── */
.lib-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}
.lib-cover {
  width: 66px;
  height: 90px;
  border-radius: 6px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0.7;
}
.lib-cover svg { width: 30px; height: 30px; }
.lib-info { flex: 1; }
.lib-type {
  font-size: 0.67rem;       /* ~12px */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-eye);
  margin-bottom: 6px;
}
.lib-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;       /* ~22px */
  font-weight: 500;
  color: var(--text-head);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color var(--transition);
}
.lib-desc {
  font-size: 0.94rem;       /* ~17px */
  line-height: 1.68;
  color: var(--text-body);
  margin-bottom: 12px;
  transition: color var(--transition);
}
.lib-btn {
  display: inline-block;
  font-size: 0.78rem;       /* ~14px */
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 20px;
  color: var(--gold);
  border: 1px solid var(--border-mid);
  transition: all 0.25s;
}
.lib-btn:hover { background: var(--gold-subtle); border-color: var(--gold); }

/* ── ABOUT ───────────────────────────────────────────── */
.brand-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 8px 0 22px;
}
.brand-img {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;       /* ~22px */
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-head);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.brand-desc {
  font-size: 0.94rem;       /* ~17px */
  line-height: 1.72;
  color: var(--text-body);
  transition: color var(--transition);
}
.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 6px 0 24px;
  transition: background var(--transition);
}
.tc-text {
  font-size: 0.94rem;       /* ~17px */
  line-height: 1.78;
  color: var(--text-body);
  transition: color var(--transition);
}
.tc-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.17rem;       /* ~21px */
  font-weight: 500;
  color: var(--text-head);
  margin: 22px 0 8px;
  transition: color var(--transition);
}
.tc-text p {
  margin-bottom: 1em;
}

/* ── BACK LINK ───────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;       /* ~13px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-bottom: 22px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 1; }
.back-link svg { width: 15px; height: 15px; }

/* ── SPLASH ──────────────────────────────────────────── */
#splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg);
  transition: background var(--transition);
}
#splash.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
#splash-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.splash-hint {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
}
.splash-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.42;
  animation: spulse 3.5s ease-in-out infinite;
}
@keyframes spulse {
  0%,100% { transform: scale(1);   opacity: 0.28; }
  50%      { transform: scale(2.8); opacity: 0.72; }
}

/* ── POST CARDS ──────────────────────────────────────── */
.post-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.post-read-time {
  font-size: 0.78rem;       /* ~14px */
  letter-spacing: 0.1em;
  color: var(--text-faint);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  transition: color var(--transition);
}
.post-card {
  transition: background var(--transition), border-color var(--transition),
              box-shadow var(--transition), transform 0.2s;
}
.post-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-float);
}
.post-card:active { transform: translateY(0); }

/* ── POST OPEN META ───────────────────────────────────── */
.post-open-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 6px;
}
.post-open-meta .post-read-time {
  font-size: 0.94rem;       /* ~17px */
}

/* ── POST VIEW PANEL ──────────────────────────────────── */
#post-view         { display: none; }
#post-view.active  { display: block; }

/* ── LOADING ─────────────────────────────────────────── */
.loading {
  text-align: center;
  padding: 52px 0;
  color: var(--text-faint);
  font-size: 0.78rem;       /* ~14px */
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  transition: color var(--transition);
}
.loading::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-mid);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NOTIFICATION ────────────────────────────────────── */
.notif {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 0.83rem;       /* ~15px */
  letter-spacing: 0.06em;
  color: var(--text-head);
  box-shadow: var(--shadow-float);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: all 0.35s;
  white-space: nowrap;
}
.notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (min-width: 720px) {
  html { font-size: 18px; }
  .sub-cards   { grid-template-columns: repeat(3, 1fr); }
  .card        { padding: 26px 30px; }
  .prose       { font-size: 1.08rem; }
}

@media (max-width: 480px) {
  html { font-size: 17px; }
  .topbar-org   { font-size: 0.65rem; }
  .topbar-title { font-size: clamp(23px, 7vw, 30px); }
  .lib-item     { flex-direction: column; }
  .lib-cover    { width: 100%; height: 160px; border-radius: 10px; }
  .lib-cover svg { width: 42px; height: 42px; }
  .nav-name     { font-size: 1.35rem; }
  .card-body    { font-size: 0.97rem; }
}

/* ── PROSE IMAGES ────────────────────────────────────── */
.prose-img {
  margin: 2em 0;
  border-radius: 12px;
  overflow: hidden;
}
.prose-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  /* Subtle warm border to match the palette */
  box-shadow: 0 2px 16px rgba(80, 58, 20, 0.1);
}
body.dark .prose-img img {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.prose-img figcaption {
  margin-top: 10px;
  font-size: 0.78rem;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: var(--text-faint);
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.5;
  transition: color var(--transition);
}

/* ── SPLASH QUOTE ────────────────────────────────────── */
.splash-quote {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 36px 80px;
  text-align: center;
  pointer-events: none;
  /* Start invisible — JS adds .visible to fade in */
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.splash-quote.visible {
  opacity: 1;
  transform: translateY(0);
}
.sq-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-head);
  max-width: 580px;
  margin: 0 0 18px 0;
  transition: color var(--transition);
}
/* Subtle text shadow so quote reads over the orbs in both modes */
body:not(.dark) .sq-text {
  text-shadow: 0 1px 18px rgba(244, 237, 226, 0.85),
               0 0 40px rgba(244, 237, 226, 0.6);
}
body.dark .sq-text {
  color: #f0e4cc;
  text-shadow: 0 1px 18px rgba(12, 10, 7, 0.9),
               0 0 40px rgba(12, 10, 7, 0.7);
}
.sq-attr {
  font-family: 'Lato', sans-serif;
  font-size: 0.67rem;
  font-style: normal;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  transition: color var(--transition);
}
body.dark .sq-attr {
  color: var(--gold-light);
  opacity: 0.65;
}

/* ── HONEYPOT (spam trap — never visible to humans) ───── */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ── KEYBOARD FOCUS (accessibility) ──────────────────── */
.nav-item:focus-visible,
.sub-card:focus-visible,
.post-card:focus-visible,
.btm-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── DAILY MEDITATIONS ───────────────────────────────── */
.med-days {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 2vw, 14px);
  margin-bottom: 18px;
}
.med-day {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-eye);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.med-day:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.med-day.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff8ee;
}
body.dark .med-day.active { color: #1a1408; }

.med-times {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.med-time {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 24px;
  color: var(--text-eye);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.med-time:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.med-time.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff8ee;
}
body.dark .med-time.active { color: #1a1408; }

.med-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 34px clamp(22px, 5vw, 44px) 38px;
  box-shadow: var(--shadow-card);
  max-width: 680px;
  margin: 0 auto;
  transition: background var(--transition), border-color var(--transition);
}
.med-meta { text-align: center; margin-bottom: 10px; }
.med-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-head);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 16px;
  transition: color var(--transition);
}
.med-rule {
  width: 32px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 24px;
  transition: background var(--transition);
}
.med-prose { font-size: 1.03rem; }

.med-day:focus-visible,
.med-time:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 400px) {
  .med-day  { width: 38px; height: 38px; }
  .med-time { padding: 8px 14px; }
}
