/* ==========================================================================
   Toyin John Modern Theme — main.css
   Cloudrexx 5.1.1 · v2.0.2
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-bg:           #ffffff;
  --c-bg-alt:       #faf7fb;
  --c-bg-deep:      #1a0729;
  --c-bg-darker:    #110318;
  --c-text:         #1d1430;
  --c-text-muted:   #5b5172;
  --c-text-soft:    #7a7290;
  --c-border:       #e8e2ef;
  --c-border-soft:  #f1ecf6;

  /* Brand */
  --c-purple:       #3A0F5E;
  --c-purple-2:     #5a1a8a;
  --c-purple-3:     #2a0a45;
  --c-purple-4:     #1a0729;
  --c-magenta:      #c1267e;
  --c-magenta-2:    #d33d96;
  --c-gold:         #d4a843;
  --c-gold-2:       #b88a2a;
  --c-cream:        #fbf6e8;
  --c-lilac:        #e9dff5;

  /* Gradients */
  --grad-hero:      radial-gradient(ellipse at 30% 20%, #6a2196 0%, #3A0F5E 45%, #1f0a36 100%);
  --grad-band:      linear-gradient(135deg, #3A0F5E 0%, #5a1a8a 50%, #c1267e 100%);
  --grad-header:    linear-gradient(90deg, #1a0729 0%, #2a0a45 50%, #3A0F5E 100%);
  --grad-gold:      linear-gradient(135deg, #d4a843 0%, #b88a2a 100%);
  --grad-overlay:   linear-gradient(120deg, rgba(26,7,41,0.78) 0%, rgba(58,15,94,0.6) 50%, rgba(193,38,126,0.45) 100%);

  /* Type */
  --ff-display:     "Playfair Display", "Georgia", serif;
  --ff-body:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-hero: clamp(2.5rem, 5.5vw + 1rem, 5rem);

  --lh-tight: 1.1;
  --lh-snug:  1.35;
  --lh-base:  1.65;

  /* Spacing */
  --sp-1:  0.5rem;
  --sp-2:  1rem;
  --sp-3:  1.5rem;
  --sp-4:  2rem;
  --sp-5:  3rem;
  --sp-6:  4rem;
  --sp-7:  6rem;
  --sp-8:  8rem;

  /* Layout */
  --container:        1200px;
  --container-wide:   1320px;
  --radius-sm:        6px;
  --radius:           12px;
  --radius-lg:        20px;
  --radius-pill:      999px;

  --shadow-sm:        0 1px 2px rgba(31, 10, 54, 0.06), 0 1px 3px rgba(31, 10, 54, 0.05);
  --shadow:           0 6px 18px rgba(31, 10, 54, 0.08), 0 2px 6px rgba(31, 10, 54, 0.05);
  --shadow-lg:        0 24px 48px rgba(31, 10, 54, 0.12), 0 8px 16px rgba(31, 10, 54, 0.06);
  --shadow-purple:    0 14px 38px rgba(58, 15, 94, 0.28);
  --shadow-gold:      0 10px 30px rgba(212, 168, 67, 0.3);

  --t-fast:           160ms;
  --t-med:            260ms;
  --t-slow:           600ms;
  --ease:             cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
img { image-rendering: -webkit-optimize-contrast; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--c-purple); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--c-magenta); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--c-purple-3);
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); font-weight: 600; }
h6 { font-size: var(--fs-base); font-weight: 600; }
p { margin: 0 0 var(--sp-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-3); }
.container--wide { max-width: var(--container-wide); }

.section-head { text-align: center; margin: 0 auto var(--sp-4); max-width: 760px; }
.section-head .eyebrow { color: var(--c-magenta); }
.section-head .section-title { margin-bottom: var(--sp-1); }
.section-head--left { text-align: left; margin-left: 0; }
.section-cta { text-align: center; margin-top: var(--sp-4); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin: 0 0 var(--sp-1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-med) var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--grad-band);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(58,15,94,0.4); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--c-purple);
  border-color: var(--c-purple);
}
.btn-ghost:hover { background: var(--c-purple); color: #fff; }

.btn-on-dark { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-on-dark:hover { background: #fff; color: var(--c-purple); border-color: #fff; }

.btn-gold {
  background: var(--grad-gold);
  color: var(--c-purple-3);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(212,168,67,0.4); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: var(--fs-xs); }

/* ---------- Utility (top) bar ---------- */
.utility-bar {
  background: var(--c-bg-darker);
  color: rgba(255,255,255,0.82);
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.utility-bar a { color: rgba(255,255,255,0.85); }
.utility-bar a:hover { color: var(--c-gold); }
.utility-social { display: flex; align-items: center; gap: var(--sp-1); }
.utility-social ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; }
.utility-social a {
  display: inline-flex;
  width: 30px; height: 30px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--c-gold);
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  overflow: hidden;
  color: #2a0a45; /* SVG glyph color via currentColor */
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.utility-social a:hover {
  background: var(--c-gold);
  border-color: #ffffff;
  color: #1a0729;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212,168,67,0.55);
}
.utility-social svg {
  width: 16px;
  height: 16px;
  display: block;
}
.utility-social img {
  /* Fallback if a Cloudrexx Block injects PNG icons instead of our SVGs */
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(8%) sepia(53%) saturate(2520%) hue-rotate(263deg) brightness(70%) contrast(99%);
}
.utility-links ul { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--sp-3); }
.utility-links a {
  font-weight: 500;
  letter-spacing: 0.02em;
}
.utility-links a:hover { color: var(--c-gold); }

/* ---------- Site header (DARK so the brand PNG reads) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--grad-header);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 20px rgba(26, 7, 41, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 132px;
  padding-top: var(--sp-1);
  padding-bottom: var(--sp-1);
}

/* Brand — dark surface, the transparent PNG sits naturally on it */
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo a { display: inline-flex; align-items: center; line-height: 0; }
.brand-logo img,
.brand-logo a img {
  width: auto !important;
  height: auto !important;
  max-height: 120px;
  max-width: 340px;
  display: block;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35));
}
@media (max-width: 960px) {
  .header-inner { min-height: 96px; }
  .brand-logo img,
  .brand-logo a img { max-height: 84px; max-width: 240px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 84px; }
  .brand-logo img,
  .brand-logo a img { max-height: 64px; max-width: 200px; }
}

/* Nav toggle (hamburger) */
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  padding: 8px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 28px; height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 5px auto;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Primary nav (white text on dark header) — sits close to the brand,
   matches the proximity of the original new.toyinjohn.com layout */
.primary-nav { margin-left: var(--sp-4, 1.5rem); }
.header-inner > .brand { margin-right: 0; }
@media (min-width: 1100px) {
  .primary-nav { margin-left: var(--sp-5, 2rem); }
}
.nav-list,
.nav-list--root { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 0.25rem; }
.nav-item--l1 { position: relative; }
.nav-item--l1 > .nav-link {
  display: inline-flex; align-items: center;
  padding: 0.7rem 1.05rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  position: relative;
  transition: all var(--t-fast) var(--ease);
}
.nav-item--l1 > .nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-item--l1 > .nav-link.active,
.nav-item--l1.active > .nav-link,
.nav-item--l1.selected > .nav-link {
  color: var(--c-purple-3);
  background: var(--c-gold);
  box-shadow: 0 4px 14px rgba(212,168,67,0.35);
}
.nav-item--l1.starter_active > .nav-link {
  color: var(--c-purple-3);
  background: var(--c-gold);
  box-shadow: 0 4px 14px rgba(212,168,67,0.35);
}

/* Dropdown */
.nav-list--l2 {
  list-style: none;
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.nav-item--l1:hover > .nav-list--l2,
.nav-item--l1:focus-within > .nav-list--l2 { display: block; }
.nav-item--l2 { position: relative; list-style: none; }
.nav-item--l2 > .nav-link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.nav-item--l2 > .nav-link:hover {
  background: var(--c-lilac);
  color: var(--c-purple);
}
.nav-list--l3 {
  list-style: none;
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  padding: 0.5rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.nav-item--l2:hover > .nav-list--l3 { display: block; }
.nav-item--l3 > .nav-link { display: block; padding: 0.5rem 0.75rem; font-size: var(--fs-xs); }

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  background: var(--c-purple-4);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-slides {
  position: relative;
  min-height: clamp(440px, 60vw, 640px);
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms var(--ease), visibility 800ms var(--ease);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-overlay);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--sp-7) var(--sp-3);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  animation: heroIn 900ms var(--ease) both;
}
.hero-slide.is-active .hero-content { animation: heroIn 900ms var(--ease) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 var(--sp-2);
}
.hero-title {
  font-family: var(--ff-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 var(--sp-3);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-title em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 700;
}
.hero-lede {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 auto var(--sp-4);
  text-shadow: 0 1px 12px rgba(0,0,0,0.3);
}
.hero-cta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}

/* Slider arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background var(--t-fast), transform var(--t-fast);
}
.hero-arrow:hover { background: rgba(255,255,255,0.22); transform: translateY(-50%) scale(1.05); }
.hero-arrow--prev { left: var(--sp-3); }
.hero-arrow--next { right: var(--sp-3); }

/* Slider dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: var(--sp-3);
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.4);
  padding: 0;
  cursor: pointer;
  transition: all var(--t-fast);
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.is-active {
  background: var(--c-gold);
  width: 28px;
  border-radius: 999px;
}

/* ---------- Quick strip ---------- */
.quick-strip {
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-border-soft);
  padding: var(--sp-4) 0;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-2);
}
.quick-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.65rem;
  background: #fff;
  padding: 1.2rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-border-soft);
  text-align: center;
  transition: transform var(--t-med) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
  color: var(--c-text);
}
.quick-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-purple);
  box-shadow: var(--shadow);
  color: var(--c-purple);
}
.quick-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--grad-band);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}
.quick-icon svg { width: 20px; height: 20px; }
.quick-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Page sections ---------- */
.home-featured { padding: var(--sp-6) 0; }
.home-featured .home-content { max-width: 880px; margin: 0 auto; }
.home-featured .home-content:empty { display: none; }
.home-featured:has(.home-content:empty) .section-head { margin-bottom: 0; }

.home-headlines {
  background: var(--c-bg-alt);
  padding: var(--sp-6) 0;
}

.home-promos { padding: var(--sp-5) 0; }
.home-promos:empty,
.home-promos:has(.promo-content:empty) { display: none; }
.promo-content { max-width: var(--container); margin: 0 auto; }
.promo-content:empty { display: none; }

.home-cta { padding: var(--sp-5) 0 var(--sp-7); }
.cta-card {
  background: var(--grad-band);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--sp-4);
  align-items: center;
  box-shadow: var(--shadow-purple);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(212,168,67,0.25), transparent 50%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card .eyebrow { color: var(--c-gold); }
.cta-title { color: #fff; }
.cta-desc { color: rgba(255,255,255,0.88); margin-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: stretch; }

/* ---------- Content pages ---------- */
.content-page { padding: var(--sp-5) 0 var(--sp-7); }
.content-page .breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.content-page .breadcrumb a { color: var(--c-text-muted); }
.content-page .breadcrumb a:hover { color: var(--c-purple); }
.crumb-sep { color: var(--c-border); }
.crumb-current { color: var(--c-purple); font-weight: 600; }

.page-head { margin-bottom: var(--sp-4); border-bottom: 2px solid var(--c-border-soft); padding-bottom: var(--sp-3); }
.page-title { margin: 0; }

.content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-5);
  align-items: start;
}
.content-aside { position: sticky; top: 130px; }

/* Sub-nav */
.aside-nav { margin-bottom: var(--sp-3); }
.aside-section-title {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: var(--c-purple-3);
  margin: 0 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--c-magenta);
  display: inline-block;
}
.subnav-list { list-style: none; padding: 0; margin: 0; }
.subnav-item { border-bottom: 1px solid var(--c-border-soft); }
.subnav-item:last-child { border-bottom: 0; }
.subnav-link {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: var(--fs-sm);
  color: var(--c-text);
  font-weight: 500;
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.subnav-link:hover { background: var(--c-bg-alt); color: var(--c-purple); }
.subnav-item.active > .subnav-link,
.subnav-item.selected > .subnav-link {
  color: var(--c-purple);
  border-left-color: var(--c-magenta);
  background: var(--c-bg-alt);
  font-weight: 600;
}
.subnav-list--child { padding-left: var(--sp-2); margin-top: 0; }
.subnav-item--child .subnav-link { font-size: var(--fs-xs); padding: 0.5rem 0.85rem; }

.aside-block {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
  padding: var(--sp-2);
  margin-bottom: var(--sp-2);
  box-shadow: var(--shadow-sm);
}
.aside-block:empty { display: none; }
.aside-title {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: var(--c-purple);
  margin: 0 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--c-magenta);
  display: inline-block;
}
.aside-headlines .headline + .headline { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--c-border-soft); }
.aside-address address { font-style: normal; font-size: var(--fs-sm); color: var(--c-text-muted); }

/* Main content */
.content-main {
  background: #fff;
  border-radius: var(--radius);
  padding: var(--sp-3);
}
.content-main--wide { padding: 0; background: transparent; }

/* Rich text */
.rich h1, .rich h2 { color: var(--c-purple-3); margin-top: var(--sp-3); }
.rich h2 { font-size: var(--fs-xl); }
.rich h3 { font-size: var(--fs-lg); margin-top: var(--sp-3); color: var(--c-purple); }
.rich p { color: var(--c-text); }
.rich a { color: var(--c-magenta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rich a:hover { color: var(--c-purple); }
.rich ul, .rich ol { padding-left: 1.4rem; margin-bottom: var(--sp-2); }
.rich li { margin-bottom: 0.35rem; }
.rich img {
  border-radius: var(--radius-sm);
  margin: var(--sp-2) 0;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  height: auto;
}
.rich blockquote {
  border-left: 4px solid var(--c-magenta);
  background: var(--c-bg-alt);
  padding: var(--sp-2) var(--sp-3);
  margin: var(--sp-3) 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: var(--fs-md);
  color: var(--c-purple-3);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.rich table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-3) 0;
  font-size: var(--fs-sm);
}
.rich th, .rich td { padding: 0.7rem 0.9rem; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.rich th { background: var(--c-bg-alt); color: var(--c-purple); font-weight: 600; }

/* ---------- Headlines ---------- */
.headlines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.headline {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.headline:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.headline-date {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: 0.5rem;
}
.headline-title { font-size: var(--fs-md); margin-bottom: 0.5rem; }
.headline-title a { color: var(--c-purple-3); }
.headline-title a:hover { color: var(--c-magenta); }
.headline-text { color: var(--c-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }

.aside-headlines .headlines { grid-template-columns: 1fr; gap: 0; }
.aside-headlines .headline { border: 0; padding: 0.5rem 0; background: transparent; }
.aside-headlines .headline:hover { transform: none; box-shadow: none; }
.aside-headlines .headline-title { font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(193,38,126,0.18), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(212,168,67,0.10), transparent 60%),
    var(--c-bg-deep);
  color: rgba(255,255,255,0.78);
  margin-top: var(--sp-7);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-band);
}
.footer-main { padding: var(--sp-6) 0 var(--sp-5); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(6, 1fr);
  gap: var(--sp-3);
}
.footer-col { font-size: var(--fs-sm); }
.footer-col:empty { display: none; }

.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  color: #fff;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-brand-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0.25rem 0 var(--sp-2);
  font-weight: 500;
}
.footer-brand .footer-address {
  font-style: normal;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-sm);
}
.footer-brand .footer-address a { color: rgba(255,255,255,0.9); }
.footer-brand .footer-address a:hover { color: var(--c-gold); }
.footer-phone { color: var(--c-gold); }
.footer-contact-cta { margin: 0.85rem 0 0; }
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--c-gold);
  color: #1a0729;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  box-shadow: 0 4px 14px rgba(212,168,67,0.28);
}
.footer-contact-link:hover { transform: translateY(-1px); background: #ffffff; color: #2a0a45; }

.site-footer h3, .site-footer h4 {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  color: #fff;
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.005em;
  font-weight: 600;
}
.footer-col a { color: rgba(255,255,255,0.78); transition: color var(--t-fast); }
.footer-col a:hover { color: var(--c-gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.site-footer li:last-child { border-bottom: 0; }
.site-footer li a { display: inline-block; font-size: var(--fs-sm); }

.footer-bottom {
  background: rgba(0,0,0,0.35);
  padding: var(--sp-2) 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--c-gold); }

/* Envelope icon + © Toyin John on one row */
.footer-copyright {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.footer-copyright a { display: inline-flex; align-items: center; }
.footer-copyright img {
  width: 16px;
  height: 11px;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ---------- Forms ---------- */
input[type="text"], input[type="email"], input[type="search"], input[type="password"],
input[type="tel"], input[type="number"], textarea, select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(58,15,94,0.12);
}
input[type="submit"], button[type="submit"] {
  background: var(--grad-band);
  color: #fff;
  border: 0;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
input[type="submit"]:hover, button[type="submit"]:hover { transform: translateY(-1px); }

/* ---------- Sidebar block "Latest News" / "Quick Links" injected in aside ---------- */
.sidebar-block {
  background: #fff;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--radius);
  padding: var(--sp-2);
  margin-bottom: var(--sp-2);
  box-shadow: var(--shadow-sm);
}
.sidebar-block:empty { display: none; }
.sidebar-block img { border-radius: var(--radius-sm); width: 100%; height: auto; }
.sidebar-block .contact-us img,
.sidebar-block.contact-us img { display: none; }
.sidebar-block.contact-us {
  background: var(--grad-band);
  color: #fff;
  border: 0;
  text-align: center;
  padding: var(--sp-3) var(--sp-2);
}
.sidebar-block.contact-us a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 2px solid #fff;
  border-radius: var(--radius-pill);
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sidebar-block.contact-us a:hover { background: #fff; color: var(--c-purple); }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--sp-2); top: var(--sp-2); padding: var(--sp-1); background: #fff; z-index: 1000; }

@media print {
  .site-header, .site-footer, .quick-strip, .home-cta, .hero-arrow, .hero-dots { display: none; }
  .container { max-width: 100%; }
}
