/* ═══════════════════════════════════════
   SORY & PARTNERS@LAW — ARTICLE PAGE
   Shared stylesheet for all insight pages
═══════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --ink:        #222222;
  --ink-2:      #444444;
  --ink-3:      #3A3A3A;
  --forest:     #555555;
  --forest-2:   #484848;
  --forest-3:   #3C3C3C;
  --leaf:       #686868;
  --gold:       #C49A22;
  --gold-2:     #A87C1A;
  --gold-3:     #B8901E;
  --gold-pale:  #F7EFCC;
  --sand:       #F5F3EF;
  --sand-2:     #E8E4DC;
  --white:      #FFFFFF;
  --muted:      #5A5450;
  --muted-2:    #8A8480;
  --border:     #DDD9D2;
  --border-2:   rgba(0,0,0,0.10);
  --f-display:  'Oswald', 'Arial Narrow', sans-serif;
  --f-body:     'Inter', system-ui, sans-serif;
  --ease:       cubic-bezier(0.25,0.1,0.25,1);
  --ease-out:   cubic-bezier(0,0,0.2,1);
  --r-sm:       3px;
  --r-md:       6px;
  --r-lg:       12px;
  --s-sm:  0 2px 8px rgba(0,0,0,0.06);
  --s-md:  0 8px 32px rgba(0,0,0,0.10);
  --s-lg:  0 24px 72px rgba(0,0,0,0.14);
  --s-xl:  0 48px 120px rgba(0,0,0,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-body); background: var(--white); color: var(--ink-3); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 { font-family: var(--f-display); line-height: 1.1; font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

.c        { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.c-narrow { max-width: 960px;  margin: 0 auto; padding: 0 40px; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ─── EYEBROW ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-body); font-size: 0.67rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; border: none; transition: all 0.28s var(--ease);
  white-space: nowrap;
}
.btn-gold  { background: var(--gold);   color: var(--ink); }
.btn-gold:hover  { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(191,155,48,0.32); }
.btn-dark  { background: var(--forest); color: var(--white); }
.btn-dark:hover  { background: var(--forest-2); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.3); }
.btn-ghost { background: transparent;  color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn svg { flex-shrink: 0; }

/* ═══════════════════════════════════════
   READING PROGRESS BAR
═══════════════════════════════════════ */
#read-progress {
  position: fixed; top: 0; left: 0; z-index: 1000;
  height: 2px; background: var(--gold);
  width: 0%; transition: width 0.1s linear;
  transform-origin: left;
}

/* ═══════════════════════════════════════
   NAV — matches main site exactly
═══════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  padding: 0;
  background: rgba(84,84,84,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#nav.solid {
  background: rgba(69,69,69,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), var(--s-md);
}
.nav-inner {
  display: flex; align-items: stretch; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px; padding-right: 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.nav-seal {
  height: 44px; width: auto; flex-shrink: 0;
}
.nav-logo-name {
  font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--white); letter-spacing: 0.08em; line-height: 1.2;
  text-transform: uppercase;
}
.nav-logo-name .at {
  color: inherit;
}
.nav-logo-sub {
  font-size: 0.52rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.88); margin-top: 2px;
}
.nav-links {
  display: flex; align-items: center; gap: 0; list-style: none;
  padding: 0 8px; margin: 0 auto;
}
.nav-links a {
  display: flex; align-items: center; padding: 0 13px; height: 100%;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.88);
  transition: color 0.25s; position: relative; white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 13px; right: 13px;
  height: 2px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s var(--ease-out); transform-origin: left;
}
.nav-links a:hover { color: var(--gold-2); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right {
  display: flex; align-items: center; gap: 14px;
  padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.12);
}
.nav-phone {
  font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.82);
  letter-spacing: 0.02em; white-space: nowrap;
}
.nav-cta { padding: 10px 18px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; white-space: nowrap; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  margin-right: -8px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: var(--white);
  transition: all 0.3s;
}

/* Mobile menu */
#mob-menu {
  display: none; position: fixed; inset: 0; z-index: 998;
  background: var(--forest); flex-direction: column; align-items: center;
  justify-content: center; gap: 40px;
}
#mob-menu.open { display: flex; }
#mob-menu a {
  font-family: var(--f-display); font-size: 2.2rem; font-weight: 500;
  color: var(--white); transition: color 0.2s;
}
#mob-menu a:hover { color: var(--gold-2); }
.mob-close {
  position: absolute; top: 24px; right: 28px; font-size: 1.5rem;
  background: none; border: none; color: var(--white); cursor: pointer;
}
.mob-tel {
  margin-top: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
}

/* ═══════════════════════════════════════
   ARTICLE HERO
═══════════════════════════════════════ */
.article-hero {
  position: relative; min-height: 580px;
  display: flex; align-items: flex-end;
  padding-bottom: 80px; overflow: hidden;
}
.article-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #1a1a1a 0%, var(--forest) 55%, #2a2a2a 100%);
}
/* Kente geometric accent — matches main hero */
.article-hero-kente {
  position: absolute; inset: 0; opacity: 0.045; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0px, var(--gold) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(-45deg, var(--gold) 0px, var(--gold) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, var(--gold-3) 0px, var(--gold-3) 1px, transparent 1px, transparent 48px);
}
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.65) 100%);
}
.article-hero-content {
  position: relative; z-index: 2;
  padding-top: 140px; width: 100%;
}
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.42);
  margin-bottom: 22px;
}
.article-breadcrumb a { color: rgba(255,255,255,0.42); transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb-sep { color: rgba(255,255,255,0.22); }

.article-tag {
  display: inline-flex; align-items: center; padding: 5px 16px;
  border-radius: 100px; font-size: 0.59rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(191,155,48,0.15); color: var(--gold-2);
  border: 1px solid rgba(191,155,48,0.28); margin-bottom: 22px;
}
.article-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 600; color: var(--white);
  line-height: 1.08; max-width: 860px;
  margin-bottom: 36px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}
.article-hero-meta {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.article-author-chip {
  display: flex; align-items: center; gap: 12px;
}
.author-chip-img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid rgba(191,155,48,0.55);
  box-shadow: 0 0 0 3px rgba(191,155,48,0.12);
}
.author-chip-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.author-chip-role {
  font-size: 0.61rem; font-weight: 500; color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px;
}
.article-meta-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.14); }
.article-meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.7rem; font-weight: 500; color: rgba(255,255,255,0.52);
}

/* ═══════════════════════════════════════
   ARTICLE LAYOUT
═══════════════════════════════════════ */
.article-main {
  padding: 80px 0 120px; background: var(--white);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: start;
}

/* ═══════════════════════════════════════
   ARTICLE CONTENT TYPOGRAPHY
═══════════════════════════════════════ */
.article-content { min-width: 0; }

.article-feat-img {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: var(--r-lg); margin-bottom: 48px;
  box-shadow: var(--s-lg);
}

.article-lead {
  font-family: var(--f-display);
  font-size: 1.4rem; font-weight: 400; font-style: italic;
  color: var(--ink-2); line-height: 1.78;
  border-left: 3px solid var(--gold);
  padding-left: 30px;
  margin-bottom: 48px;
}
.article-content p {
  font-size: 1.02rem; color: var(--ink-3);
  line-height: 1.95; margin-bottom: 26px;
}
.article-content h2 {
  font-family: var(--f-display);
  font-size: 2rem; font-weight: 600;
  color: var(--ink); line-height: 1.15;
  margin: 56px 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.article-content h3 {
  font-family: var(--f-display);
  font-size: 1.45rem; font-weight: 600;
  color: var(--ink); margin: 40px 0 14px;
}
.article-content blockquote {
  background: var(--sand);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  margin: 40px 0;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.article-content blockquote p {
  font-family: var(--f-display);
  font-size: 1.18rem; font-style: italic;
  color: var(--ink-2); margin: 0; line-height: 1.72;
}
.article-content em { color: var(--forest-3); font-style: italic; }
.article-content strong { color: var(--ink); font-weight: 700; }
.article-content a { color: var(--forest-3); border-bottom: 1px solid rgba(60,60,60,0.3); transition: border-color 0.2s; }
.article-content a:hover { border-color: var(--forest-3); }
.article-content ul,
.article-content ol { margin: 20px 0 28px 28px; color: var(--ink-3); line-height: 1.9; }
.article-content li { margin-bottom: 8px; font-size: 1rem; }

/* ─── ARTICLE SECTION RULE ─── */
.article-rule {
  border: none; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 56px 0;
}

/* ─── PDF / DOWNLOAD BLOCK ─── */
.article-pdf-block {
  display: flex; align-items: center; gap: 24px;
  background: var(--forest-3);
  border-radius: var(--r-lg);
  padding: 30px 36px;
  margin-top: 60px;
  color: var(--white);
  box-shadow: var(--s-md);
}
.pdf-icon-wrap {
  width: 58px; height: 58px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold-2);
}
.pdf-label { font-size: 0.92rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.pdf-desc  { font-size: 0.78rem; color: rgba(255,255,255,0.52); }
.pdf-text  { flex: 1; }
.pdf-btn   { padding: 12px 24px; flex-shrink: 0; }

/* ─── ARTICLE CTA BANNER ─── */
.article-cta-banner {
  margin-top: 64px; padding: 48px;
  background: linear-gradient(135deg, var(--forest-3) 0%, var(--forest-2) 100%);
  border-radius: var(--r-lg); text-align: center;
  border: 1px solid rgba(191,155,48,0.15);
  box-shadow: var(--s-md);
}
.article-cta-banner h3 {
  font-family: var(--f-display); font-size: 1.9rem; font-weight: 600;
  color: var(--white); margin-bottom: 12px;
}
.article-cta-banner p {
  font-size: 0.9rem; color: rgba(255,255,255,0.55);
  max-width: 440px; margin: 0 auto 28px; line-height: 1.7;
}

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.article-sidebar {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 20px;
}
.sidebar-card {
  background: var(--sand);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.sidebar-card-label {
  font-size: 0.59rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.sidebar-card-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--gold); }

.sidebar-author-img {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(191,155,48,0.12);
  margin-bottom: 14px;
}
.sidebar-author-name {
  font-family: var(--f-display); font-size: 1.12rem; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
}
.sidebar-author-role {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.sidebar-author-bio { font-size: 0.82rem; color: var(--muted); line-height: 1.78; }

/* Related articles */
.sidebar-related { display: flex; flex-direction: column; gap: 0; }
.related-item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.related-item:first-child { padding-top: 0; }
.related-item:last-child  { border-bottom: none; padding-bottom: 0; }
.related-item:hover { opacity: 0.7; }
.related-tag {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.related-title { font-size: 0.84rem; font-weight: 600; color: var(--ink); line-height: 1.42; }
.related-date  { font-size: 0.63rem; color: var(--muted-2); }

/* CTA sidebar card */
.sidebar-cta {
  background: var(--forest-3);
  border-color: rgba(255,255,255,0.06);
}
.sidebar-cta .sidebar-card-label { color: var(--gold-2); border-color: rgba(255,255,255,0.1); }
.sidebar-cta .sidebar-card-label::before { background: var(--gold-2); }
.sidebar-cta-title {
  font-family: var(--f-display); font-size: 1.4rem; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.sidebar-cta-text {
  font-size: 0.82rem; color: rgba(255,255,255,0.52);
  line-height: 1.72; margin-bottom: 22px;
}

/* ═══════════════════════════════════════
   FOOTER — matches main site exactly
═══════════════════════════════════════ */
footer {
  background: var(--forest); padding: 80px 0 0; color: var(--white);
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-row svg { filter: none; }
.footer-logo-row img { height: 44px; width: auto; display: block; }
.footer-logo-name {
  font-family: var(--f-display); font-size: 1.25rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.02em;
}
.footer-logo-name .at {
  color: inherit;
}
.footer-tagline {
  font-size: 0.86rem; color: rgba(255,255,255,0.68);
  line-height: 1.80; margin-bottom: 24px; max-width: 280px;
}
.footer-socials { display: flex; gap: 8px; }
.footer-soc {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); transition: all 0.25s;
}
.footer-soc:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-col-h {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.86rem; color: rgba(255,255,255,0.68); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.footer-copy a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-copy a:hover { color: rgba(255,255,255,0.85); }
.footer-bar-links { display: flex; gap: 20px; }
.footer-bar-links a { font-size: 0.68rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bar-links a:hover { color: rgba(255,255,255,0.85); }

/* ─── BACK TO TOP ─── */
#btt {
  position: fixed; bottom: 32px; right: 32px; z-index: 800;
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold);
  color: var(--ink); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--s-md); opacity: 0; transform: translateY(12px);
  transition: all 0.3s var(--ease); pointer-events: none;
}
#btt.show { opacity: 1; transform: none; pointer-events: all; }
#btt:hover { background: var(--gold-2); transform: translateY(-4px); }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr 290px; gap: 48px; }
}
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-pdf-block { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .c { padding: 0 20px; }
  .article-hero { min-height: 480px; padding-bottom: 56px; }
  .article-hero-title { font-size: 2rem; }
  .article-hero-content { padding-top: 110px; }
  .article-lead { font-size: 1.2rem; padding-left: 20px; }
  .article-content h2 { font-size: 1.6rem; }
  .nav-logo-sub { display: none; }
  .article-cta-banner { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
