
/* ═══════════════════════════════
   CSS CUSTOM PROPERTIES / THEMES
═══════════════════════════════ */
:root {
  --ink: #0f0e0c;
  --paper: #faf8f3;
  --cream: #f4efe5;
  --gold: #c9a84c;
  --rust: #b84c2e;
  --slate: #3a3830;
  --mid: #7a7469;
  --muted: #ccc8be;
  --rule: #e2ddd4;
  --fd: 'Playfair Display', serif;
  --fb: 'DM Sans', sans-serif;
  --fs: 'Libre Baskerville', serif;
  --sz: 16px;
  --radius: 0px;
}
.th-dark  { --ink:#f0ece3; --paper:#141210; --cream:#1e1a15; --slate:#c0bab2; --mid:#8a8478; --muted:#3a3630; --rule:#282420 }
.th-slate { --ink:#18243a; --paper:#f2f4f9; --cream:#e6eaf4; --gold:#4a72b0; --rust:#c0392b; --rule:#ccd0e0; --slate:#2c3e50 }
.th-forest{ --ink:#142014; --paper:#f0f6f0; --cream:#e0ece0; --gold:#4a7c59; --rust:#8b6914; --rule:#bed0be }
.th-bone  { --gold:#1a1a1a; --rust:#444; --cream:#f4f4f4; --paper:#fff; --rule:#e4e4e4; --mid:#888 }

/* Layout variants */
.lyt-wide  .main-wrap { grid-template-columns: 1fr }
.lyt-wide  .aside     { display: none }
.lyt-wide  .g3        { grid-template-columns: repeat(2,1fr) }
.lyt-wide  .hero-wrap { grid-template-columns: 1fr }
.lyt-wide  .hero-aside{ display: none }
.lyt-dense .section   { padding: 14px 0 }
.lyt-dense .img-tall  { height: 140px }
.lyt-dense .hero-frame{ height: 350px }
.rounded   .img-box, .rounded .hero-frame, .rounded .feat-h { border-radius: 10px; overflow: hidden }
.rounded   .btn-pill  { border-radius: 22px }

/* ═══════════════════════════════
   BASE
═══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fb);
  font-size: var(--sz);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none }
img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: 100% }
button { font-family: var(--fb) }

/* ═══════════════════════════════
   OVERLAYS
═══════════════════════════════ */
#admin-root   { display: none; position: fixed; inset: 0; z-index: 9000 }
#admin-root.on{ display: flex }
#reader       { display: none; position: fixed; inset: 0; z-index: 8000; background: var(--paper); overflow-y: auto; -webkit-overflow-scrolling: touch }
#reader.on    { display: block }
#login-wrap   { display: none; position: fixed; inset: 0; z-index: 9500; background: rgba(10,8,6,.86); align-items: center; justify-content: center; padding: 20px }
#login-wrap.on{ display: flex }

/* ═══════════════════════════════
   HEADER
═══════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  padding: 0 24px; transition: background .3s, box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08) }
.hdr-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; height: 62px;
}
.hdr-nav { display: flex; gap: 20px; align-items: center }
.hdr-nav a {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--slate); cursor: pointer;
  transition: color .2s; position: relative; white-space: nowrap;
}
.hdr-nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--gold); transition: width .22s;
}
.hdr-nav a:hover { color: var(--ink) }
.hdr-nav a:hover::after { width: 100% }
.logo-wrap { text-align: center }
.logo-wrap a { display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer }
.logo-l1  { font-family: var(--fd); font-size: 20px; font-weight: 900; letter-spacing: .1em; color: var(--ink); line-height: 1 }
.logo-l2  { font-family: var(--fd); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink); line-height: 1.1 }
.logo-tag { font-size: 7px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 600 }
.hdr-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px }
.btn-sub {
  background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 16px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-sub:hover { background: var(--gold); color: #000; transform: translateY(-1px) }

/* Hamburger — mobile only */
.mob-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink); font-size: 22px; line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
/* Mobile nav drawer */
.mob-nav {
  position: fixed; top: 62px; left: 0; right: 0; bottom: 0;
  background: var(--paper); z-index: 299; overflow-y: auto;
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  border-top: 3px solid var(--gold);
}
.mob-nav.open { transform: translateX(0) }
.mob-link {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); padding: 17px 24px; border-bottom: 1px solid var(--rule);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.mob-link:active { background: var(--cream) }
.mob-link span { color: var(--muted); font-size: 11px }
.mob-footer { padding: 20px 24px 36px; display: flex; flex-direction: column; gap: 10px }
.mob-btn-sub {
  background: var(--ink); color: #fff; border: none; padding: 15px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; width: 100%;
}
.mob-btn-admin {
  background: transparent; color: var(--slate); border: 1px solid var(--rule);
  padding: 13px; font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; width: 100%;
}

/* ═══════════════════════════════
   DATE RIBBON + TICKER
═══════════════════════════════ */
.date-ribbon {
  background: var(--ink); color: rgba(255,255,255,.42);
  text-align: center; font-size: 9px; letter-spacing: .2em;
  text-transform: uppercase; padding: 6px 12px;
}
.ticker-wrap { background: var(--ink); padding: 9px 0; overflow: hidden; white-space: nowrap }
.ticker-inner { display: inline-flex; animation: scroll-ticker 38s linear infinite }
.ticker-item {
  display: inline-flex; align-items: center;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.62); padding: 0 22px;
}
.ticker-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin-right: 22px; flex-shrink: 0 }
@keyframes scroll-ticker { 0% { transform: translateX(0) } 100% { transform: translateX(-50%) } }

/* ═══════════════════════════════
   AD SLOTS
═══════════════════════════════ */
.ad-slot {
  background: var(--cream); border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule); text-align: center; padding: 12px 20px;
}
.ad-label { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); margin-bottom: 5px }
.ad-ph { background: var(--rule); display: flex; align-items: center; justify-content: center; font-size: 10.5px; color: var(--mid); margin: 0 auto }

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero-wrap {
  max-width: 1400px; margin: 0 auto; padding: 24px 24px 16px;
  display: grid; grid-template-columns: 1fr 350px; gap: 0;
}
.hero-main { position: relative; overflow: hidden; cursor: pointer }
.hero-frame { height: 480px; overflow: hidden; position: relative }
.hero-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,7,6,.88) 0%, rgba(8,7,6,.04) 55%, transparent 100%);
  pointer-events: none;
}
.hero-img-inner { width: 100%; height: 100%; transition: transform .7s ease }
.hero-main:hover .hero-img-inner { transform: scale(1.04) }
.hero-copy { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 26px; z-index: 2 }
.hero-badge {
  display: inline-block; background: var(--gold); color: #000;
  font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 3px 9px; margin-bottom: 10px;
}
.hero-h1 { font-family: var(--fd); font-size: 28px; font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 9px }
.hero-byline { font-size: 10.5px; color: rgba(255,255,255,.56) }
.hero-byline strong { color: rgba(255,255,255,.85) }
/* Hero aside */
.hero-aside { border-left: 1px solid var(--rule); padding-left: 20px; display: flex; flex-direction: column }
.aside-hdr { font-size: 8.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mid); padding-bottom: 10px; border-bottom: 2px solid var(--ink) }
.aside-card { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: opacity .18s }
.aside-card:hover { opacity: .7 }
.aside-thumb { width: 68px; height: 58px; flex-shrink: 0; overflow: hidden }
.aside-cat { font-size: 8.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px }
.aside-title { font-family: var(--fd); font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink) }
.aside-meta { font-size: 10px; color: var(--mid); margin-top: 2px }

/* ═══════════════════════════════
   SECTION HEADING
═══════════════════════════════ */
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px }
.sec-head h2 { font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--ink) }
.sec-head::after { content: ''; flex: 1; height: 1px; background: var(--rule) }

/* ═══════════════════════════════
   MAIN LAYOUT
═══════════════════════════════ */
.main-wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 268px; gap: 36px }
.main-wrap > * { min-width: 0 }
.section { padding: 24px 0; border-top: 1px solid var(--rule) }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px }
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px }
.g3 > *, .g2 > * { min-width: 0 }

/* ═══════════════════════════════
   ARTICLE CARD
═══════════════════════════════ */
.card { cursor: pointer; transition: transform .22s }
.card:hover { transform: translateY(-3px) }
.img-box { overflow: hidden; margin-bottom: 10px; position: relative }
.img-tall  { height: 192px }
.img-short { height: 148px }
.card:hover .img-ph { transform: scale(1.04) }
.card-tag { font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--rust); margin-bottom: 5px }
.card-title { font-family: var(--fd); font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 5px; color: var(--ink) }
.card-sm { font-size: 13.5px }
.card-xp { font-family: var(--fs); font-size: 12px; color: var(--slate); line-height: 1.6; margin-bottom: 5px }
.card-meta { font-size: 10.5px; color: var(--mid) }
.card-meta strong { color: var(--slate); font-weight: 500 }

/* ═══════════════════════════════
   FEATURE HORIZONTAL
═══════════════════════════════ */
.feat-h { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); cursor: pointer; overflow: hidden; transition: box-shadow .22s }
.feat-h:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09) }
.feat-img { height: 234px; overflow: hidden; position: relative }
.feat-h:hover .feat-img .img-ph { transform: scale(1.04) }
.feat-copy { padding: 22px; background: var(--cream); display: flex; flex-direction: column; justify-content: center }

/* ═══════════════════════════════
   CATEGORY TABS
═══════════════════════════════ */
.cat-tabs { display: flex; border-bottom: 2px solid var(--rule); margin-bottom: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none }
.cat-tabs::-webkit-scrollbar { display: none }
.ctab {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 14px; cursor: pointer; color: var(--mid); border-bottom: 2px solid transparent;
  margin-bottom: -2px; white-space: nowrap; transition: all .18s; background: none;
  border-top: none; border-left: none; border-right: none; -webkit-tap-highlight-color: transparent;
}
.ctab.on, .ctab:hover { color: var(--ink); border-bottom-color: var(--gold) }

/* ═══════════════════════════════
   OPINION STRIP
═══════════════════════════════ */
.op-strip  { background: var(--cream); padding: 28px 24px }
.op-inner  { max-width: 1400px; margin: 0 auto }
.op-grid   { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule) }
.op-card   { background: var(--paper); padding: 18px 14px; cursor: pointer; transition: background .18s }
.op-card:hover { background: var(--cream) }
.op-badge  { font-size: 8.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin-bottom: 7px }
.op-title  { font-family: var(--fd); font-size: 14px; font-weight: 700; line-height: 1.35; font-style: italic; margin-bottom: 8px; color: var(--ink) }
.op-author { font-size: 10.5px; color: var(--mid) }
.op-author strong { color: var(--slate); font-weight: 600 }

/* ═══════════════════════════════
   SIDEBAR
═══════════════════════════════ */
.widget { margin-bottom: 26px }
.widget-title { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 12px }
/* Trending */
.trend-list { list-style: none }
.trend-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--rule); cursor: pointer; transition: opacity .18s }
.trend-item:hover { opacity: .7 }
.trend-n { font-family: var(--fd); font-size: 22px; font-weight: 900; color: var(--muted); line-height: 1; min-width: 24px }
.trend-cat { font-size: 8.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px }
.trend-title { font-family: var(--fd); font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink) }
/* Sidebar ad */
.s-ad { background: var(--cream); border: 1px dashed var(--muted); padding: 18px 12px; text-align: center; margin-bottom: 26px }
.s-ad-l { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); margin-bottom: 7px }
/* Newsletter */
.nl { background: var(--ink); padding: 22px 18px; color: #fff; margin-bottom: 26px }
.nl h3 { font-family: var(--fd); font-size: 18px; font-weight: 700; margin-bottom: 6px; line-height: 1.2 }
.nl p { font-size: 12px; color: rgba(255,255,255,.52); margin-bottom: 12px; line-height: 1.5 }
.nl input { display: block; width: 100%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; padding: 9px 11px; font-family: var(--fb); font-size: 13px; outline: none; margin-bottom: 7px; transition: border-color .18s }
.nl input::placeholder { color: rgba(255,255,255,.32) }
.nl input:focus { border-color: var(--gold) }
.nl button { width: 100%; background: var(--gold); color: #000; border: none; padding: 9px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer }
/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px }
.tag { font-size: 10.5px; letter-spacing: .04em; color: var(--slate); border: 1px solid var(--rule); padding: 4px 9px; cursor: pointer; transition: all .18s; -webkit-tap-highlight-color: transparent }
.tag:hover, .tag:active { background: var(--ink); color: #fff; border-color: var(--ink) }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 48px 24px 22px; margin-top: 48px }
.foot-inner { max-width: 1400px; margin: 0 auto }
.foot-top { display: grid; grid-template-columns: 180px 1fr 1fr 1fr 160px; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08) }
.foot-brand .logo-l1 { color: #fff; font-size: 20px }
.foot-brand .logo-l2 { color: #fff }
.foot-brand .logo-tag { color: var(--gold) }
.foot-brand p { font-size: 12px; line-height: 1.65; margin-top: 12px; color: rgba(255,255,255,.38) }
.foot-col h4 { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 14px }
.foot-col ul { list-style: none }
.foot-col li { margin-bottom: 8px }
.foot-col a { font-size: 12px; color: rgba(255,255,255,.38); transition: color .18s; cursor: pointer }
.foot-col a:hover { color: var(--gold) }
.foot-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; font-size: 10.5px; color: rgba(255,255,255,.25); flex-wrap: wrap; gap: 10px }
.socials { display: flex; gap: 9px }
.soc { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; transition: all .18s; color: rgba(255,255,255,.38) }
.soc:hover { border-color: var(--gold); color: var(--gold) }
.soc-dim { opacity: .35; cursor: default }
a.soc { text-decoration: none }

/* ═══════════════════════════════
   ABOUT PAGE — FULL REDESIGN
═══════════════════════════════ */

/* Contact page grid */
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 36px 0 0 }
.contact-card { background: var(--paper); border: 1px solid var(--rule); padding: 28px 22px; text-align: center }
.contact-card:nth-child(1) { border-top: 3px solid var(--gold) }
.contact-card:nth-child(2) { border-top: 3px solid var(--rust) }
.contact-card:nth-child(3) { border-top: 3px solid #4a7c59 }
.contact-icon { font-size: 32px; display: block; margin-bottom: 12px }
.contact-card h3 { font-family: var(--fd); font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 10px }
.contact-card p { font-size: 13px; color: var(--mid); line-height: 1.6; margin-bottom: 12px }
.contact-link { font-family: var(--fd); font-size: 15px; font-weight: 700; color: var(--gold); word-break: break-all; text-decoration: none; display: block }
.contact-link:hover { text-decoration: underline }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; gap: 12px } }

/* ═══════════════════════════════
   ABOUT PAGE — REDESIGN
   No dark blocks. All warm tones.
═══════════════════════════════ */

/* Rainbow rule at very top */
.about-rainbow {
  display: flex; height: 6px; margin: 0 -20px;
}
.about-rainbow span { flex: 1 }
.about-rainbow span:nth-child(1) { background: var(--gold) }
.about-rainbow span:nth-child(2) { background: var(--rust) }
.about-rainbow span:nth-child(3) { background: #4a7c59 }
.about-rainbow span:nth-child(4) { background: #4a72b0 }
.about-rainbow span:nth-child(5) { background: #8b4a9e }
.about-rainbow span:nth-child(6) { background: var(--gold) }

/* Hero — cream background, ink text, gold accent */
.about-hero {
  margin: 0 -20px;
  padding: 64px 32px 56px;
  background: var(--cream);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.about-site-name {
  font-family: var(--fd); font-size: 11px; font-weight: 700;
  letter-spacing: .36em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 20px; display: block;
}
.about-tagline {
  font-family: var(--fd); font-size: 56px; font-weight: 900;
  color: var(--ink); letter-spacing: .01em; margin: 0 0 20px;
  font-style: italic; line-height: 1.08;
}
.about-tagline em {
  color: var(--gold); font-style: inherit;
  -webkit-text-stroke: 0px;
}
.about-hero-rule {
  width: 64px; height: 3px; background: var(--gold);
  margin: 0 auto 20px; display: block;
}
.about-hero-sub {
  font-family: var(--fs); font-size: 17px; color: var(--slate);
  font-style: italic; max-width: 520px; margin: 0 auto; line-height: 1.65;
}

/* Intro pull quote — gold left border, cream bg */
.about-intro {
  background: var(--paper);
  border-left: 5px solid var(--gold);
  padding: 24px 28px; margin: 40px 0 32px;
}
.about-intro p {
  font-family: var(--fd); font-size: 20px; font-style: italic;
  color: var(--ink); line-height: 1.55; margin: 0; font-weight: 400;
}

/* Body text */
.about-body p {
  font-family: var(--fs); font-size: 16px; line-height: 1.85;
  color: var(--slate); margin-bottom: 22px;
}

/* Belief statement — cream card with large decorative rule, NO dark background */
.about-belief {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--rust);
  padding: 32px 32px 32px 40px;
  margin: 36px 0;
  position: relative;
}
.about-belief-label {
  font-size: 9px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--rust); margin-bottom: 12px;
  display: block;
}
.about-belief p {
  font-family: var(--fd); font-size: 22px; font-style: italic;
  color: var(--ink); line-height: 1.5; margin: 0;
}
.about-belief p strong { color: var(--rust) }

/* Divider ornament */
.about-divider {
  text-align: center; margin: 36px 0; color: var(--gold);
  font-size: 18px; letter-spacing: 10px;
}

/* Pillars grid — light cards, coloured top borders */
.about-pillars {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 16px; margin: 0 0 36px;
}
.about-pillar {
  background: var(--paper);
  padding: 28px 22px;
  border: 1px solid var(--rule);
}
.about-pillar:nth-child(1) { border-top: 3px solid var(--gold) }
.about-pillar:nth-child(2) { border-top: 3px solid var(--rust) }
.about-pillar:nth-child(3) { border-top: 3px solid #4a7c59 }
.about-pillar h3 {
  font-family: var(--fd); font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--rule);
}
.about-pillar:nth-child(1) h3 { color: var(--gold) }
.about-pillar:nth-child(2) h3 { color: var(--rust) }
.about-pillar:nth-child(3) h3 { color: #4a7c59 }
.about-pillar p  { font-size: 14px; line-height: 1.75; margin: 0; color: var(--slate) }
.about-pillar ul { padding-left: 16px; margin: 0 }
.about-pillar ul li { font-size: 14px; line-height: 1.75; margin-bottom: 8px; color: var(--slate) }

/* Closing — warm cream with large border-top stripe, no dark bg */
.about-closing {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  padding: 40px 32px;
  margin: 0 0 36px;
  text-align: center;
}
.about-closing-label {
  font-size: 9px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
  display: block;
}
.about-closing p {
  font-family: var(--fd); font-size: 23px; font-style: italic;
  color: var(--ink); line-height: 1.5; margin: 0 auto;
  max-width: 560px;
}
.about-closing p em {
  color: var(--gold); font-style: normal; font-weight: 700;
}

/* Mobile */
@media (max-width: 600px) {
  .about-rainbow { margin: 0 -14px }
  .about-hero { margin: 0 -14px; padding: 44px 14px 40px }
  .about-tagline { font-size: 36px }
  .about-hero-sub { font-size: 15px }
  .about-pillars { grid-template-columns: 1fr; gap: 12px }
  .about-belief p { font-size: 18px }
  .about-closing p { font-size: 18px }
  .about-intro p { font-size: 17px }
  .about-belief { padding: 24px 20px 24px 24px }
  .about-closing { padding: 28px 20px }
}
#legal-root { display:none; position:fixed; inset:0; z-index:7000; background:var(--paper); overflow-y:auto; -webkit-overflow-scrolling:touch }
#legal-root.on { display:block }
.legal-header { position:sticky; top:0; background:var(--paper); border-bottom:1px solid var(--rule); padding:11px 20px; display:flex; align-items:center; gap:16px; z-index:10 }
.legal-body { max-width:760px; margin:0 auto; padding:48px 20px 80px }
.legal-body h1 { font-family:var(--fd); font-size:34px; font-weight:900; margin-bottom:6px; color:var(--ink) }
.legal-body .leg-date { font-size:12px; color:var(--mid); margin-bottom:32px; display:block }
.legal-body h2 { font-family:var(--fd); font-size:19px; font-weight:700; color:var(--ink); margin:28px 0 10px }
.legal-body p, .legal-body li { font-family:var(--fs); font-size:15px; line-height:1.82; color:var(--slate); margin-bottom:14px }
.legal-body ul { padding-left:22px; margin-bottom:14px }
.legal-body a { color:var(--gold); text-decoration:underline }
.legal-body .leg-contact { background:var(--cream); border-left:3px solid var(--gold); padding:14px 18px; margin-top:20px }

/* ═══════════════════════════════
   NEWSLETTER MODAL
═══════════════════════════════ */
#nl-modal { display:none; position:fixed; inset:0; z-index:8500; background:rgba(10,8,6,.82); align-items:center; justify-content:center; padding:20px }
#nl-modal.on { display:flex }
.nl-box { background:var(--paper); width:100%; max-width:420px; padding:36px 30px; border-top:4px solid var(--gold); position:relative }
.nl-box h2 { font-family:var(--fd); font-size:24px; font-weight:900; margin-bottom:6px; color:var(--ink) }
.nl-box p { font-size:13px; color:var(--mid); margin-bottom:20px; line-height:1.55 }
.nl-field { margin-bottom:13px }
.nl-field label { display:block; font-size:9.5px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--slate); margin-bottom:5px }
.nl-field input { width:100%; border:1px solid var(--rule); padding:10px 13px; font-family:var(--fb); font-size:14px; outline:none; transition:border-color .18s; background:var(--paper); color:var(--ink) }
.nl-field input:focus { border-color:var(--gold) }
.nl-err  { color:var(--rust); font-size:12px; margin-bottom:10px; display:none; padding:7px 10px; background:#fdf0ee; border-left:3px solid var(--rust) }
.nl-ok   { color:#2a7a38; font-size:13px; margin-top:12px; display:none; padding:10px; background:#e8f4ea; border-left:3px solid #2a7a38; line-height:1.5 }
.btn-nl-sub { width:100%; background:var(--ink); color:#fff; border:none; padding:12px; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; cursor:pointer; font-family:var(--fb); transition:background .2s; margin-top:4px }
.btn-nl-sub:hover { background:var(--gold); color:#000 }
.nl-close { position:absolute; top:13px; right:15px; font-size:20px; cursor:pointer; color:var(--mid); background:none; border:none; line-height:1 }
.nl-legal { font-size:10.5px; color:var(--mid); margin-top:12px; line-height:1.5 }
.nl-legal a { color:var(--gold) }

/* ═══════════════════════════════
   PLACEHOLDER IMAGES
═══════════════════════════════ */
.img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: transform .65s }
.p1 { background: linear-gradient(140deg,#2c2520,#5c3d2e) }
.p2 { background: linear-gradient(140deg,#1a2a3a,#2d4a6a) }
.p3 { background: linear-gradient(140deg,#1e2e1a,#3a5c30) }
.p4 { background: linear-gradient(140deg,#2e1a2e,#5c3060) }
.p5 { background: linear-gradient(140deg,#2e2a1a,#6a5c2e) }
.p6 { background: linear-gradient(140deg,#1a1e2e,#2e3a5c) }
.p7 { background: linear-gradient(140deg,#2e1a1a,#5c2e2e) }
.p8 { background: linear-gradient(140deg,#1a2e2a,#2e5c52) }

/* ═══════════════════════════════
   FADE-IN ANIMATION
═══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease }
.reveal.in { opacity: 1; transform: none }

/* ═══════════════════════════════
   LOGIN
═══════════════════════════════ */
.login-box { background: var(--paper); width: 100%; max-width: 380px; padding: 38px 30px; border-top: 4px solid var(--gold); position: relative }
.login-box h2 { font-family: var(--fd); font-size: 22px; font-weight: 900; margin-bottom: 4px; color: var(--ink) }
.login-sub { font-size: 12px; color: var(--mid); margin-bottom: 24px }
.lfield { margin-bottom: 15px }
.lfield label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--slate); margin-bottom: 5px }
.lfield input { width: 100%; border: 1px solid var(--rule); padding: 10px 13px; font-family: var(--fb); font-size: 14px; outline: none; transition: border-color .18s; background: var(--paper); color: var(--ink) }
.lfield input:focus { border-color: var(--gold) }
.lerr { color: var(--rust); font-size: 12px; margin-bottom: 10px; display: none; padding: 8px 10px; background: #fdf0ee; border-left: 3px solid var(--rust) }
.btn-login { width: 100%; background: var(--ink); color: #fff; border: none; padding: 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s; margin-top: 4px }
.btn-login:hover { background: var(--gold); color: #000 }
.lcl { position: absolute; top: 14px; right: 16px; font-size: 20px; cursor: pointer; color: var(--mid); background: none; border: none; line-height: 1 }
.login-note { font-size: 10.5px; color: var(--mid); margin-top: 14px; padding: 8px 10px; background: var(--cream); border-left: 2px solid var(--gold) }

/* ═══════════════════════════════
   ADMIN PANEL
═══════════════════════════════ */
:root {
  --a-bg: #f0ece4; --a-side: #0f1520; --a-acc: #c9a84c;
  --a-text: rgba(255,255,255,.68); --a-rule: rgba(255,255,255,.07);
}
.a-side { width: 218px; background: var(--a-side); height: 100vh; display: flex; flex-direction: column; flex-shrink: 0 }
.a-brand { padding: 18px; border-bottom: 1px solid var(--a-rule) }
.a-brand .logo-l1 { color: #fff; font-size: 15px }
.a-brand .logo-l2 { color: #fff; font-size: 10px }
.a-brand .logo-tag { color: var(--a-acc) }
.a-brand small { font-size: 9.5px; color: rgba(255,255,255,.28); letter-spacing: .08em; text-transform: uppercase; display: block; margin-top: 4px }
.a-nav { padding: 14px 0; flex: 1; overflow-y: auto }
.a-item { display: flex; align-items: center; gap: 10px; padding: 10px 17px; font-size: 12px; color: var(--a-text); cursor: pointer; transition: all .16s; border-left: 3px solid transparent; -webkit-tap-highlight-color: transparent }
.a-item:hover, .a-item.on { color: #fff; background: rgba(255,255,255,.05); border-left-color: var(--a-acc) }
.a-item .ic { font-size: 14px; width: 18px; text-align: center }
.a-foot { padding: 13px 17px; border-top: 1px solid var(--a-rule) }
.a-foot button { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.42); padding: 8px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .18s }
.a-foot button:hover { background: #8c1a00; color: #fff; border-color: #8c1a00 }
.a-main { flex: 1; background: var(--a-bg); overflow-y: auto; display: flex; flex-direction: column }
.a-topbar { background: #fff; padding: 13px 22px; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0 }
.a-topbar h1 { font-family: var(--fd); font-size: 19px; font-weight: 700; color: #1a1814 }
.a-topbar span { font-size: 11px; color: #888 }
.a-ct { padding: 20px; flex: 1 }
.a-panel { display: none }
.a-panel.on { display: block }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px }
.stat { background: #fff; padding: 16px 17px; border-bottom: 3px solid var(--a-acc) }
.stat-l { font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #888; margin-bottom: 5px }
.stat-v { font-family: var(--fd); font-size: 27px; font-weight: 900; color: #1a1814 }
.stat-c { font-size: 10.5px; color: #3a8c4a; margin-top: 2px }

/* Table card */
.t-card { background: #fff; border: 1px solid #e0ddd5; overflow: hidden; margin-bottom: 16px }
.t-head { padding: 13px 16px; border-bottom: 1px solid #e8e5de; display: flex; justify-content: space-between; align-items: center }
.t-head h3 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #444 }
.btn-new { background: #1a1814; color: #fff; border: none; padding: 7px 15px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .18s }
.btn-new:hover { background: var(--a-acc); color: #000 }
table { width: 100%; border-collapse: collapse }
th { text-align: left; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #888; padding: 9px 13px; border-bottom: 1px solid #eee; background: #faf8f3 }
td { padding: 10px 13px; border-bottom: 1px solid #eee; font-size: 12px; color: #444; vertical-align: middle }
tr:last-child td { border-bottom: none }
tr:hover td { background: #faf8f3 }
.pill { display: inline-block; padding: 2px 8px; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase }
.pub  { background: #e6f4ea; color: #2a7a38 }
.dft  { background: #fff3e0; color: #b06000 }
.ta   { background: none; border: none; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; color: var(--a-acc); margin-right: 8px; transition: color .16s; padding: 0; font-family: inherit }
.ta:hover { color: #333 }
.ta-del { color: #c0392b }
.ta-del:hover { color: #8c0000 }

/* Editor */
.ed-wrap { display: grid; grid-template-columns: 1fr 255px; gap: 14px }
.ed-main { background: #fff; border: 1px solid #e0ddd5; overflow: hidden }
.ed-bar { padding: 9px 13px; border-bottom: 1px solid #eee; display: flex; gap: 6px; flex-wrap: wrap; background: #faf8f3 }
.ed-btn { background: none; border: 1px solid #ddd; padding: 4px 9px; font-size: 11px; cursor: pointer; transition: all .16s }
.ed-btn:hover { background: #1a1814; color: #fff; border-color: #1a1814 }
.ef { padding: 11px 13px }
.ef label { display: block; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #888; margin-bottom: 4px }
.ef input, .ef textarea, .ef select { width: 100%; border: 1px solid #ddd; padding: 8px 10px; font-family: var(--fb); font-size: 13.5px; outline: none; transition: border-color .16s; background: #fff; color: #1a1814 }
.ef input:focus, .ef textarea:focus, .ef select:focus { border-color: var(--a-acc) }
.ef textarea { min-height: 200px; resize: vertical; line-height: 1.6 }
.ed-side { display: flex; flex-direction: column; gap: 12px }
.e-box { background: #fff; border: 1px solid #e0ddd5; padding: 14px }
.e-box h4 { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #444; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #eee }
.btn-pub { width: 100%; background: #1a1814; color: #fff; border: none; padding: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .18s; margin-bottom: 6px }
.btn-pub:hover { background: var(--a-acc); color: #000 }
.btn-dft { width: 100%; background: #fff; color: #555; border: 1px solid #ddd; padding: 8px; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer }

/* Theme panel */
.th-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px }
.th-box { background: #fff; border: 1px solid #e0ddd5; padding: 17px }
.th-box h3 { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #444; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px }
.sw { width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 3px solid transparent; transition: border-color .16s; position: relative }
.sw.on { border-color: var(--a-acc) }
.sw::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; opacity: 0; text-shadow: 0 1px 3px rgba(0,0,0,.5) }
.sw.on::after { opacity: 1 }
.lo-btn { padding: 7px 12px; border: 1px solid #ddd; font-size: 10.5px; font-weight: 600; cursor: pointer; background: #fff; letter-spacing: .05em; transition: all .16s; margin-right: 6px; margin-bottom: 6px }
.lo-btn.on, .lo-btn:hover { background: #1a1814; color: #fff; border-color: #1a1814 }
.crow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px }
.crow label { font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #888; min-width: 90px }
.cval { font-size: 11px; color: #666; font-family: monospace }
.tgl-row { display: flex; align-items: center; gap: 11px; margin-bottom: 9px }
.tgl-row label { font-size: 12px; color: #444; cursor: pointer }
.tgl { width: 36px; height: 19px; background: #d0cdc8; border-radius: 10px; cursor: pointer; position: relative; transition: background .18s; flex-shrink: 0 }
.tgl.on { background: var(--a-acc) }
.tgl::after { content: ''; width: 15px; height: 15px; background: #fff; border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: left .18s; box-shadow: 0 1px 3px rgba(0,0,0,.2) }
.tgl.on::after { left: 19px }
.trow { margin-bottom: 10px }
.trow label { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: 5px }
.trow select { width: 100%; border: 1px solid #ddd; padding: 7px 9px; font-size: 13px; font-family: var(--fb); outline: none; background: #fff }
.btn-save { background: var(--a-acc); color: #000; border: none; padding: 8px 18px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; margin-top: 6px }
/* Settings */
.set-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px }
.s-box { background: #fff; border: 1px solid #e0ddd5; padding: 17px }
.s-box h3 { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #444; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #eee }
.sr { margin-bottom: 11px }
.sr label { display: block; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #888; margin-bottom: 5px }
.sr input, .sr textarea, .sr select { width: 100%; border: 1px solid #ddd; padding: 8px 10px; font-family: var(--fb); font-size: 13px; outline: none; background: #fff; color: #1a1814 }
.sr input:focus, .sr textarea:focus { border-color: var(--a-acc) }
.cred-note { font-size: 11px; color: #888; margin-top: 10px; padding: 9px 10px; background: #fff9ee; border-left: 3px solid var(--a-acc); line-height: 1.5 }
/* Ad slots */
.ads-item { margin-bottom: 14px }
.ads-item label { display: block; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: #888; margin-bottom: 4px }
.ads-item textarea { width: 100%; height: 68px; border: 1px solid #ddd; padding: 8px; font-family: monospace; font-size: 11px; resize: vertical; outline: none; background: #faf8f3 }
.ads-item textarea:focus { border-color: var(--a-acc) }

/* ═══════════════════════════════
   ARTICLE READER
═══════════════════════════════ */
.rd-header { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 11px 20px; display: flex; align-items: center; gap: 16px; z-index: 10 }
.btn-back { background: none; border: 1px solid var(--rule); padding: 7px 14px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--slate); transition: all .18s; -webkit-tap-highlight-color: transparent }
.btn-back:hover { border-color: var(--ink); color: var(--ink) }
.rd-logo { font-family: var(--fd); font-size: 14px; font-weight: 900; letter-spacing: .09em; color: var(--ink) }
.rd-body { max-width: 700px; margin: 0 auto; padding: 46px 20px 72px }
.rd-tag { display: inline-block; background: var(--gold); color: #000; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 3px 10px; margin-bottom: 16px }
.rd-h1 { font-family: var(--fd); font-size: 36px; font-weight: 900; line-height: 1.16; margin-bottom: 13px; color: var(--ink) }
.rd-deck { font-family: var(--fs); font-size: 18px; color: var(--slate); line-height: 1.5; margin-bottom: 20px; font-style: italic }
.rd-byline { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 26px }
.rd-av { width: 36px; height: 36px; border-radius: 50%; background: var(--cream); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0 }
.rd-name { font-size: 13px; font-weight: 700; color: var(--ink) }
.rd-meta { font-size: 11px; color: var(--mid) }
.rd-hero { width: 100%; height: 360px; margin-bottom: 9px; overflow: hidden }
.rd-cap { font-size: 11px; color: var(--mid); font-style: italic; margin-bottom: 26px; text-align: center }
.rd-text p { font-family: var(--fs); font-size: 16.5px; line-height: 1.85; color: var(--slate); margin-bottom: 20px }
.rd-text h2 { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--ink); margin: 34px 0 12px }
.rd-text blockquote { border-left: 3px solid var(--gold); padding: 13px 20px; margin: 26px 0; background: var(--cream) }
.rd-text blockquote p { font-size: 17px; font-style: italic; color: var(--ink); margin: 0; line-height: 1.5 }
.rd-share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--rule) }
.shr-lbl { font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mid) }
.shr-btn { padding: 7px 13px; border: 1px solid var(--rule); font-size: 10.5px; font-weight: 600; cursor: pointer; background: none; transition: all .16s }
.shr-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink) }
.related { background: var(--cream); padding: 32px 20px }
.r-inner { max-width: 700px; margin: 0 auto }
.r-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px }
.r-card { cursor: pointer; transition: opacity .18s }
.r-card:hover { opacity: .72 }
.r-img { height: 106px; margin-bottom: 8px; overflow: hidden }
.r-card:hover .r-img .img-ph { transform: scale(1.05) }
.r-cat { font-size: 8.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--rust); margin-bottom: 4px }
.r-title { font-family: var(--fd); font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink) }

/* ═══════════════════════════════
   TOAST
═══════════════════════════════ */
.toast {
  position: fixed; bottom: 22px; right: 20px;
  background: #1a1814; color: #fff; padding: 10px 18px;
  font-size: 12.5px; font-weight: 500; z-index: 99999;
  transform: translateY(60px); opacity: 0; transition: all .28s;
  border-left: 4px solid var(--gold); max-width: calc(100vw - 40px);
}
.toast.show { transform: translateY(0); opacity: 1 }

/* ═══════════════════════════════
   ARTIST PROFILES
═══════════════════════════════ */
#profiles-root { display:none; position:fixed; inset:0; z-index:7500; background:var(--paper); overflow-y:auto; -webkit-overflow-scrolling:touch }
#profiles-root.on { display:block }

/* Profile listing page */
.prof-header { position:sticky; top:0; background:var(--paper); border-bottom:1px solid var(--rule); padding:11px 20px; display:flex; align-items:center; gap:16px; z-index:10 }
.prof-listing { max-width:1100px; margin:0 auto; padding:44px 20px 72px }
.prof-listing-head { margin-bottom:32px }
.prof-listing-head h1 { font-family:var(--fd); font-size:38px; font-weight:900; color:var(--ink); margin-bottom:8px }
.prof-listing-head p { font-family:var(--fs); font-size:16px; color:var(--mid); font-style:italic }
.prof-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px }
.prof-card {
  cursor:pointer; transition:transform .22s, box-shadow .22s;
  border:1px solid var(--rule); overflow:hidden; background:var(--paper);
}
.prof-card:hover { transform:translateY(-4px); box-shadow:0 12px 36px rgba(0,0,0,.1) }
.prof-card-img { height:240px; overflow:hidden; position:relative; background:var(--cream) }
.prof-card-img img { width:100%; height:100%; object-fit:cover }
.prof-card-img .img-ph { height:100%; font-size:56px }
.prof-card:hover .prof-card-img .img-ph { transform:scale(1.04) }
.prof-card-body { padding:18px 16px 20px }
.prof-card-name { font-family:var(--fd); font-size:20px; font-weight:700; color:var(--ink); margin-bottom:4px }
.prof-card-discipline { font-size:10px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--gold); margin-bottom:10px }
.prof-card-bio { font-family:var(--fs); font-size:13px; color:var(--slate); line-height:1.6; margin-bottom:12px }
.prof-card-origin { font-size:11px; color:var(--mid) }
.prof-card-origin strong { color:var(--slate) }

/* Individual profile page */
.prof-detail { max-width:900px; margin:0 auto; padding:44px 20px 80px }
.prof-detail-top { display:grid; grid-template-columns:280px 1fr; gap:36px; margin-bottom:36px; align-items:start }
.prof-portrait { width:280px; height:320px; overflow:hidden; position:relative; flex-shrink:0 }
.prof-portrait img { width:100%; height:100%; object-fit:cover }
.prof-portrait .img-ph { height:100%; font-size:72px }
.prof-detail-meta { padding-top:8px }
.prof-detail-name { font-family:var(--fd); font-size:40px; font-weight:900; color:var(--ink); line-height:1.1; margin-bottom:8px }
.prof-detail-disc { font-size:11px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; display:block }
.prof-detail-facts { list-style:none; margin-bottom:20px }
.prof-detail-facts li { font-size:13.5px; color:var(--slate); padding:6px 0; border-bottom:1px solid var(--rule); display:flex; gap:10px }
.prof-detail-facts li strong { color:var(--ink); min-width:90px; font-weight:600 }
.prof-social-links { display:flex; gap:9px; flex-wrap:wrap; margin-top:16px }
.prof-soc-btn { padding:7px 14px; border:1px solid var(--rule); font-size:11px; font-weight:600; cursor:pointer; background:none; transition:all .16s; color:var(--slate) }
.prof-soc-btn:hover { background:var(--ink); color:#fff; border-color:var(--ink) }
.prof-body { font-family:var(--fs); font-size:16px; line-height:1.85; color:var(--slate) }
.prof-body p { margin-bottom:20px }
.prof-body h2 { font-family:var(--fd); font-size:22px; font-weight:700; color:var(--ink); margin:32px 0 12px }
.prof-works { margin-top:36px; padding-top:28px; border-top:1px solid var(--rule) }
.prof-works h2 { font-family:var(--fd); font-size:14px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ink); margin-bottom:18px }
.prof-works-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px }
.prof-work-img { height:160px; overflow:hidden; cursor:pointer; transition:opacity .18s }
.prof-work-img:hover { opacity:.8 }
.prof-work-img img { width:100%; height:100%; object-fit:cover }
.prof-work-img .img-ph { height:100%; font-size:28px }

/* Homepage featured profiles strip */
.profiles-strip { background:var(--cream); padding:32px 24px }
.profiles-strip-inner { max-width:1400px; margin:0 auto }
.prof-strip-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:18px }
.prof-strip-card {
  cursor:pointer; transition:transform .2s; background:var(--paper);
  border:1px solid var(--rule); overflow:hidden;
}
.prof-strip-card:hover { transform:translateY(-3px) }
.prof-strip-img { height:180px; overflow:hidden; position:relative }
.prof-strip-img img { width:100%; height:100%; object-fit:cover }
.prof-strip-img .img-ph { height:100%; font-size:36px }
.prof-strip-card:hover .prof-strip-img .img-ph { transform:scale(1.04) }
.prof-strip-body { padding:13px 12px 14px }
.prof-strip-name { font-family:var(--fd); font-size:15px; font-weight:700; color:var(--ink); margin-bottom:3px }
.prof-strip-disc { font-size:9.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--gold) }
.prof-strip-origin { font-size:11px; color:var(--mid); margin-top:4px }
.btn-see-all-profiles {
  display:inline-block; margin-top:20px; padding:10px 24px;
  background:var(--ink); color:var(--paper); font-size:11px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; cursor:pointer;
  border:none; transition:background .2s;
}
.btn-see-all-profiles:hover { background:var(--gold); color:#000 }

/* Admin profile editor */
.prof-ed-grid { display:grid; grid-template-columns:1fr 260px; gap:14px }
.prof-works-admin { margin-top:12px }
.prof-works-admin label { display:block; font-size:9.5px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:#888; margin-bottom:5px }
.work-img-row { display:flex; gap:8px; margin-bottom:8px; align-items:center }
.work-img-row input { flex:1; border:1px solid #ddd; padding:7px 10px; font-family:var(--fb); font-size:12.5px; outline:none }
.work-img-row input:focus { border-color:var(--a-acc) }
.work-img-row button { background:none; border:1px solid #ddd; padding:6px 10px; cursor:pointer; font-size:12px; color:#c0392b; transition:all .16s }
.work-img-row button:hover { background:#c0392b; color:#fff; border-color:#c0392b }
.btn-add-work { background:none; border:1px dashed #aaa; padding:7px 14px; font-size:11px; color:#888; cursor:pointer; transition:all .16s; margin-top:4px }
.btn-add-work:hover { border-color:var(--a-acc); color:var(--a-acc) }

/* Profile responsive */
@media (max-width: 920px) {
  .prof-grid { grid-template-columns:1fr 1fr }
  .prof-strip-grid { grid-template-columns:1fr 1fr }
  .prof-detail-top { grid-template-columns:1fr; gap:20px }
  .prof-portrait { width:100%; height:260px }
  .prof-works-grid { grid-template-columns:1fr 1fr }
  .prof-ed-grid { grid-template-columns:1fr }
}
@media (max-width: 600px) {
  .prof-grid { grid-template-columns:1fr }
  .prof-strip-grid { grid-template-columns:1fr 1fr; gap:12px }
  .prof-card-img { height:200px }
  .prof-detail-name { font-size:28px }
  .prof-works-grid { grid-template-columns:1fr 1fr }
  .prof-listing-head h1 { font-size:26px }
}

/* ── Tablet (920px and below) ── */
@media (max-width: 920px) {
  /* Header — hamburger on right, logo truly centered */
  .hdr-nav, .btn-sub { display: none }
  .hdr-right { display: none }
  .mob-toggle { display: flex; align-items: center; justify-content: center }
  .hdr-inner {
    grid-template-columns: 44px 1fr 44px;
    height: 56px;
  }
  .logo-wrap { text-align: center; grid-column: 2 }
  .logo-l1 { font-size: 16px }
  .logo-l2 { font-size: 10px; letter-spacing: .12em }
  .logo-tag { font-size: 6.5px; letter-spacing: .22em; display: block }

  /* Mobile nav — sits below header, full screen */
  .mob-nav { top: 56px; left: 0; right: 0; bottom: 0; overflow-y: auto }

  /* When nav is open — hide logo so nothing floats over menu */
  .site-header.nav-open .logo-wrap { visibility: hidden }
  .site-header.nav-open { box-shadow: none; border-bottom-color: transparent }

  /* Hero */
  .hero-wrap { grid-template-columns: 1fr; padding: 12px 12px 0; width: 100% }
  .hero-frame { height: 280px }
  .hero-h1 { font-size: 19px; line-height: 1.25 }
  .hero-aside { display: none }
  .hero-copy { padding: 16px }
  .hero-badge { font-size: 8.5px; margin-bottom: 8px }
  .hero-byline { font-size: 10px }

  /* Main content — single column, full width, no overflow */
  .main-wrap {
    grid-template-columns: 1fr;
    padding: 0 12px;
    gap: 0;
    width: 100%;
    max-width: 100%;
  }
  .aside { display: none }

  /* Article grids — 2 columns on tablet */
  .g3 { grid-template-columns: 1fr 1fr; gap: 12px }
  .g2 { grid-template-columns: 1fr 1fr; gap: 12px }

  /* Feature horizontal */
  .feat-h { grid-template-columns: 1fr }
  .feat-img { height: 190px }

  /* Cover Story */
  .op-grid { grid-template-columns: 1fr 1fr }

  /* Footer */
  .foot-top { grid-template-columns: 1fr 1fr; gap: 20px }
  /* Article reader */
  .r-grid { grid-template-columns: 1fr 1fr }
  .rd-h1 { font-size: 24px }
  .rd-deck { font-size: 15px }

  /* Admin — tablet */
  .a-side { width: 190px }
  .stats { grid-template-columns: 1fr 1fr }
  .ed-wrap { grid-template-columns: 1fr }
  .ed-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
  .th-grid { grid-template-columns: 1fr }
  .set-grid { grid-template-columns: 1fr }
}

/* ── Mobile (600px and below) ── */
@media (max-width: 600px) {
  /* Nuclear overflow clamp */
  html, body { overflow-x: hidden !important; max-width: 100vw !important }
  #site, #site * { max-width: 100%; box-sizing: border-box }

  body { font-size: 15px }

  /* Header */
  .site-header { padding: 0 14px }
  .hdr-inner { height: 52px; grid-template-columns: 40px 1fr 40px }
  .logo-l1 { font-size: 14px; letter-spacing: .07em }
  .logo-l2 { font-size: 9px; letter-spacing: .1em }
  .logo-tag { font-size: 6px; letter-spacing: .2em; display: block }
  .mob-toggle { font-size: 20px; padding: 6px }
  .mob-nav { top: 52px }

  /* Ribbons */
  .date-ribbon { font-size: 7.5px; letter-spacing: .12em; padding: 5px 10px }
  .ticker-item { font-size: 9px; padding: 0 16px }
  .ticker-dot { margin-right: 16px }

  /* Ads — contained */
  .ad-slot { padding: 8px 12px; width: 100%; overflow: hidden }
  .ad-ph { max-width: 100% !important; width: 100% !important; height: 60px !important; font-size: 10px }
  .ad-banner { padding: 8px; width: 100%; overflow: hidden }

  /* Hero */
  .hero-wrap { padding: 10px 0 0; width: 100%; overflow: hidden }
  .hero-main { width: 100% }
  .hero-frame { height: 240px; width: 100% }
  .hero-h1 { font-size: 17px; line-height: 1.22 }
  .hero-copy { padding: 14px 14px 16px }
  .hero-badge { font-size: 8px; padding: 2px 7px; margin-bottom: 7px }
  .hero-byline { font-size: 9.5px }

  /* Main wrap */
  .main-wrap { padding: 0 14px; width: 100%; max-width: 100vw; overflow: hidden }

  /* Sections */
  .sec-head h2 { font-size: 10px; letter-spacing: .16em }
  .section { padding: 18px 0; width: 100%; overflow: hidden }

  /* GRIDS — single column, no exceptions */
  .g3 { grid-template-columns: 1fr !important; gap: 16px; width: 100% }
  .g2 { grid-template-columns: 1fr !important; gap: 16px; width: 100% }

  /* Cards */
  .card { width: 100%; overflow: hidden }
  .img-box { width: 100%; overflow: hidden }
  .img-tall { height: 195px; width: 100% }
  .img-short { height: 170px; width: 100% }
  .img-ph { width: 100% !important; max-width: 100% !important }
  .card-title { font-size: 16px }
  .card-sm { font-size: 15px }
  .card-xp { font-size: 12.5px }
  .card-meta { font-size: 11px }

  /* Feature */
  .feat-h { grid-template-columns: 1fr; border: none; box-shadow: none; width: 100% }
  .feat-img { height: 200px; width: 100% }
  .feat-copy { padding: 16px; border: 1px solid var(--rule); border-top: none }
  .feat-copy .card-title { font-size: 18px }

  /* Tabs */
  .cat-tabs { margin: 0 -14px; padding: 0 14px; width: calc(100% + 28px) }
  .ctab { font-size: 9.5px; padding: 8px 12px }

  /* Cover Story */
  .op-strip { padding: 20px 14px; width: 100%; overflow: hidden }
  .op-grid { grid-template-columns: 1fr; gap: 1px; width: 100% }
  .op-card { padding: 14px 12px }
  .op-title { font-size: 13.5px }

  /* Profiles strip */
  .profiles-strip { padding: 20px 14px; width: 100%; overflow: hidden }
  .prof-strip-grid { grid-template-columns: 1fr 1fr; gap: 12px; width: 100% }
  .prof-strip-img { height: 140px }

  /* Footer */
  .site-footer { padding: 32px 16px 18px; width: 100%; overflow: hidden }
  .foot-top { grid-template-columns: 1fr; gap: 20px }
  .foot-col h4 { margin-top: 4px; margin-bottom: 10px }
  .foot-col li { margin-bottom: 6px }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; font-size: 10px }
  .soc { width: 30px; height: 30px; font-size: 11px }

  /* Article reader */
  .rd-header { padding: 10px 14px }
  .rd-logo { font-size: 13px }
  .rd-body { padding: 24px 14px 60px }
  .rd-h1 { font-size: 22px; line-height: 1.18 }
  .rd-deck { font-size: 14px; line-height: 1.5 }
  .rd-text p { font-size: 15.5px; line-height: 1.8 }
  .rd-text h2 { font-size: 19px }
  .rd-text blockquote { padding: 10px 14px }
  .rd-text blockquote p { font-size: 15px }
  .rd-hero { height: 210px; width: 100% }
  .rd-byline { padding: 10px 0; margin-bottom: 20px }
  .r-grid { grid-template-columns: 1fr; gap: 14px }
  .r-img { height: 130px }
  .rd-share { padding-top: 20px; margin-top: 20px; gap: 7px; flex-wrap: wrap }
  .shr-btn { padding: 8px 12px; font-size: 11px }
  .related { padding: 24px 14px }

  /* Profiles pages */
  .prof-listing { padding: 28px 14px 60px }
  .prof-listing-head h1 { font-size: 26px }
  .prof-grid { grid-template-columns: 1fr; gap: 16px }
  .prof-card-img { height: 200px }
  .prof-detail { padding: 24px 14px 60px }
  .prof-detail-top { grid-template-columns: 1fr }
  .prof-portrait { width: 100%; height: 240px }
  .prof-detail-name { font-size: 26px }
  .prof-works-grid { grid-template-columns: 1fr 1fr }

  /* Modals */
  .nl-box { padding: 28px 20px }
  .nl-box h2 { font-size: 20px }
  .legal-body { padding: 32px 14px 60px }
  .legal-body h1 { font-size: 26px }
  .legal-body h2 { font-size: 17px }
  .legal-body p, .legal-body li { font-size: 14px }

  /* Admin — HIDDEN on mobile */
  #admin-root { display: none !important }
  .t-card { overflow-x: auto }
  table { min-width: 500px }
}

/* ── Small phones (380px and below) ── */
@media (max-width: 380px) {
  .hero-frame { height: 210px }
  .hero-h1 { font-size: 15px }
  .logo-l1 { font-size: 13px }
  .img-tall { height: 175px }
  .img-short { height: 155px }
  .rd-h1 { font-size: 19px }
  .ctab { font-size: 9px; padding: 7px 10px }
}

/* ---- standalone pages ---- */
a.card{display:block;color:inherit;text-decoration:none}
a.r-card{display:block;color:inherit;text-decoration:none}
a.shr-btn{display:inline-block;text-decoration:none;color:inherit}
.sp-header{background:var(--paper);border-bottom:1px solid var(--rule)}
.sp-header-inner{max-width:1100px;margin:0 auto;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.sp-logo{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-decoration:none}
.sp-nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.sp-nav a{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--slate)}
.sp-nav a:hover{color:var(--ink)}
.sp-wrap{max-width:1100px;margin:0 auto;padding:36px 20px 60px}
.crumbs{font-size:11px;letter-spacing:.06em;color:var(--mid);margin-bottom:18px}
.crumbs a{color:var(--slate)} .crumbs a:hover{color:var(--gold)}
.arch-head h1{font-family:var(--fd);font-size:40px;font-weight:900;margin-bottom:8px;color:var(--ink)}
.arch-head p{font-family:var(--fs);font-style:italic;color:var(--mid);font-size:16px}
.arch-chips{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 10px}
.arch-sec{margin-top:34px;scroll-margin-top:16px}
.rd-fig{margin:0}
.nf{text-align:center;padding:90px 20px}
.nf h1{font-family:var(--fd);font-size:44px;font-weight:900;color:var(--ink);margin-bottom:12px}
.nf p{color:var(--mid);margin-bottom:22px}
.nf a.btn{display:inline-block;background:var(--ink);color:var(--paper);padding:12px 26px;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
@media (max-width:600px){
  .sp-header-inner{flex-direction:column;align-items:center;gap:10px;padding:12px 14px}
  .sp-logo{align-items:center;text-align:center}
  .sp-nav{justify-content:center;gap:14px}
  .sp-wrap{padding:24px 14px 48px}
  .arch-head h1{font-size:28px}
  .nf h1{font-size:30px}
}
