/* ================================================================
   JCFL — Journal of Corporate and Financial Laws
   National Law University Delhi · CCLGFL
   Dyslexia-Friendly, High-Legibility Academic Design System
   Featuring Lexend & Atkinson Hyperlegible (Braille Institute Standard)
   Uncluttered, Framed Architectural Layout
   ================================================================ */

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

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

:root {
  /* Classical Oxford / Ivy Law Review Palette */
  --navy-dark:     #081726;
  --navy:          #0D2035;
  --navy-mid:      #173454;
  --navy-light:    #244970;
  --navy-subtle:   #EBF2F8;
  
  /* Traditional Academic Gold & Bronze */
  --gold:          #946E33;
  --gold-warm:     #B88B46;
  --gold-deep:     #785623;
  --gold-pale:     #F4EDE0;
  --gold-light:    #FAF6EE;
  
  /* Archival Paper & Marble Surfaces (Low-Glare, Eye-Friendly) */
  --white:         #FFFFFF;
  --paper-cream:   #FAF8F4;
  --paper-vellum:  #F3EFE7;
  --paper-surface: #ECE6DA;
  --surface-tint:  #E6DFD2;
  
  /* Scholarly Typography Colors (Optimal Contrast without Eye Strain) */
  --text-primary:  #161E28;
  --text-body:     #2D3542;
  --text-muted:    #505A69;
  --text-subtle:   #727B8A;
  
  /* Structural Borders */
  --border:        #D6CFBF;
  --border-light:  #E8E2D6;
  --border-dark:   #B8AEA0;
  --border-gold:   #C8A66D;

  /* Dyslexia-Friendly, Eye-Pleasing Font Stacks */
  --font-heading:  'Lexend', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:     'Atkinson Hyperlegible', 'Lexend', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:     'Lexend', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing & Measures */
  --site-max:      1240px;
  --prose-max:     840px;

  /* Smooth, Gentle Fluid Timings */
  --t-fast:        160ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --t:             280ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --t-slow:        600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --t-enter:       750ms cubic-bezier(0.2, 0.85, 0.3, 1);
  
  /* Refined Elevation Shadows */
  --shadow-sm:     0 1px 3px rgba(13,32,53,0.05), 0 1px 2px rgba(13,32,53,0.03);
  --shadow-md:     0 4px 14px rgba(13,32,53,0.06), 0 1px 3px rgba(13,32,53,0.02);
  --shadow-lg:     0 10px 28px rgba(13,32,53,0.09), 0 3px 8px rgba(13,32,53,0.03);
  --shadow-frame:  0 8px 24px rgba(13,32,53,0.12), inset 0 0 0 1px rgba(184,139,70,0.3);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper-cream);
  color: var(--text-body);
  line-height: 1.85;
  letter-spacing: 0.012em;
  word-spacing: 0.018em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* ── Refined Non-Distracting Architectural Surface ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 12% 10%, rgba(184,139,70,0.035) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 18%, rgba(13,32,53,0.025) 0%, transparent 55%),
    linear-gradient(120deg, transparent 45%, rgba(211,204,190,0.1) 48%, transparent 51%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* ── Gentle Top Loading Progress Line ── */
#page-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(to right, var(--navy), var(--gold-warm), var(--gold));
  z-index: 9999;
  transition: width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 0 clamp(1.15rem, 3.8vw, 2.5rem);
}

/* ── Typography Scale (Dyslexia-Friendly & Eye-Pleasing) ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 3.8vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.85;
  letter-spacing: 0.012em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.65rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: var(--navy);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.section-rule {
  width: 44px;
  height: 2.5px;
  background: var(--gold);
  margin: 0.65rem 0 1.85rem;
  border-radius: 2px;
}

/* ── Refined Framed Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.45rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: all var(--t);
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(13,32,53,0.18);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border-dark);
}
.btn-outline:hover {
  background: var(--paper-vellum);
  border-color: var(--navy);
  color: var(--navy);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold-deep);
}
.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(148,110,51,0.18);
}

.btn-outline-white {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--white);
  color: var(--white);
}

/* ======================================================
   ARCHITECTURAL EMBLEM FRAME (Replaces broken images)
   ====================================================== */
.emblem-frame {
  width: 58px;
  height: 58px;
  border-radius: 4px;
  background: var(--navy);
  border: 2px solid var(--gold-warm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color var(--t), transform var(--t);
}
.emblem-frame:hover {
  border-color: var(--gold);
}
.emblem-frame-inner {
  border: 1px solid rgba(255,255,255,0.25);
  width: 100%;
  height: 100%;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.emblem-frame-sig {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold-pale);
  line-height: 1;
}
.emblem-frame-sub {
  font-family: var(--font-heading);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* Large Emblem Frame for Center Showcase */
.emblem-frame-large {
  width: 140px;
  height: 140px;
  border-radius: 4px;
  background: var(--navy);
  border: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 6px;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}
.emblem-frame-large .emblem-frame-inner {
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.emblem-frame-large .emblem-frame-sig {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}
.emblem-frame-large .emblem-frame-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold-pale);
}

/* ======================================================
   TOP BAR (Institutional Affiliation & Quick Utility)
   ====================================================== */
.top-bar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.top-bar-sep {
  color: rgba(255,255,255,0.28);
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.top-bar a {
  color: rgba(255,255,255,0.88);
}
.top-bar a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Font Size Switcher */
.font-resizer {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 0.75rem;
}
.font-resizer button {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  transition: all var(--t-fast);
}
.font-resizer button:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ======================================================
   MASTHEAD (Framed Identity & Journal Title)
   ====================================================== */
.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.masthead-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.masthead-journal-name {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
.masthead-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-family: var(--font-heading);
}
.masthead-sub strong {
  color: var(--navy-mid);
  font-weight: 600;
}

.masthead-meta-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.meta-badge {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--paper-vellum);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  white-space: nowrap;
}

/* ======================================================
   NAVBAR (Visible & Accessible Navigation)
   ====================================================== */
.nav-bar {
  background: var(--white);
  border-bottom: 2.5px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-bar .container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.95rem 1.15rem;
  white-space: nowrap;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2.5px;
  transition: all var(--t-fast);
  letter-spacing: 0.01em;
  font-family: var(--font-heading);
}
.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--gold-deep);
  border-bottom-color: var(--gold-deep);
  background: rgba(244,239,230,0.45);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--navy);
  box-shadow: var(--shadow-lg);
  z-index: 300;
  padding: 0.4rem 0;
  border-radius: 0 0 3px 3px;
  animation: navFade 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes navFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-primary);
  padding: 0.65rem 1.25rem;
  font-family: var(--font-heading);
  border-left: 3px solid transparent;
  transition: all var(--t-fast);
}
.dropdown a:hover {
  background: var(--paper-vellum);
  color: var(--navy);
  border-left-color: var(--gold);
  padding-left: 1.45rem;
}

/* Mobile Toggle */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.85rem;
  color: var(--navy);
  margin-left: auto;
  align-items: center;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu-item {
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-heading);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.mobile-menu-link:hover {
  background: var(--paper-cream);
}
.mobile-submenu {
  display: none;
  background: var(--paper-vellum);
}
.mobile-submenu.open {
  display: block;
}
.mobile-submenu a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-body);
  padding: 0.65rem 1.35rem 0.65rem 2.2rem;
  font-family: var(--font-heading);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border-light);
}
.mobile-submenu a:hover {
  background: var(--white);
  border-left-color: var(--gold);
  color: var(--navy);
}

/* ======================================================
   ACADEMIC DIRECTORY STRIP (Clean & Professional)
   ====================================================== */
.academic-directory-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.academic-directory-strip .container {
  display: flex;
  align-items: center;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
}
.directory-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}
.directory-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.75rem;
  flex-wrap: wrap;
}
.directory-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--paper-cream);
  border: 1px solid var(--border);
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.directory-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.directory-btn.highlight {
  background: var(--gold-pale);
  border-color: var(--border-gold);
  color: var(--gold-deep);
}
.directory-btn.highlight:hover {
  background: var(--gold-deep);
  color: var(--white);
  border-color: var(--gold-deep);
}

/* ======================================================
   HERO / INAUGURAL SHOWCASE
   ====================================================== */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(184,139,70,0.06) 0%, transparent 60%),
    linear-gradient(175deg, #FAF8F4 0%, #EFE9DE 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(2.25rem, 4vw, 3.5rem);
  position: relative;
}
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.95rem;
}
.hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.15rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.hero-description {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 1.85rem;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}
.hero-trust {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hero-trust-sep {
  color: var(--border-dark);
}

/* Journal Volume Frame (Architectural Inset Frame) */
.hero-cover-wrap {
  display: flex;
  justify-content: center;
}
.cover-frame-card {
  width: clamp(220px, 28vw, 280px);
  background: var(--navy);
  padding: clamp(1.5rem, 3.2vw, 2.25rem);
  text-align: center;
  box-shadow: var(--shadow-frame);
  position: relative;
  border-radius: 4px;
  transition: box-shadow var(--t-slow), border-color var(--t-slow);
  border: 2px solid var(--gold);
}
.cover-frame-card:hover {
  box-shadow: 0 12px 28px rgba(13,32,53,0.18);
  border-color: var(--gold-warm);
}
.cover-frame-card::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
}
.cover-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 0.95rem;
}
.cover-divider {
  width: 100%;
  height: 1px;
  background: rgba(184,139,70,0.4);
  margin: 0.95rem 0;
}
.cover-title {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1.15rem;
}
.cover-vol {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}
.cover-pub {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  line-height: 1.55;
}

/* ======================================================
   MAIN SCHOLARLY TWO-COLUMN WORKBENCH
   ====================================================== */
.workbench-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: flex-start;
}

/* ======================================================
   ARTICLE ENTRY & LAW REVIEW ROWS
   ====================================================== */
.pub-list {
  border-top: 2px solid var(--navy);
}

.pub-item {
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: background-color var(--t-fast);
}
.pub-item:hover {
  background: rgba(244,239,230,0.4);
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.pub-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.pub-category {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-family: var(--font-heading);
}
.pub-pages {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-weight: 500;
}

.pub-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.38;
}
.pub-title a:hover {
  color: var(--gold-deep);
  text-decoration: underline;
}

.pub-authors {
  font-size: 0.94rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}
.pub-authors strong {
  color: var(--navy);
  font-weight: 600;
}

.pub-abstract {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.85;
}

.pub-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}
.pub-meta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.pub-doi {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  color: var(--navy-light);
  font-weight: 600;
}

.pub-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cite-btn {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  transition: all var(--t-fast);
}
.cite-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ======================================================
   SIDEBAR ACADEMIC WIDGETS
   ====================================================== */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.45rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.sidebar-widget:hover {
  box-shadow: var(--shadow-md);
}
.sidebar-widget-gold {
  border-top: 3.5px solid var(--gold);
}
.sidebar-widget-navy {
  border-top: 3.5px solid var(--navy);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.95rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.fact-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.fact-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}
.fact-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 500;
}

.download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: var(--paper-cream);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  transition: all var(--t-fast);
}
.download-link:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: clamp(2.75rem, 5vw, 4rem) 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 0.95rem;
}
.footer-journal-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.footer-desc {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 1.15rem;
}
.footer-address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
}
.footer-address a {
  color: rgba(255,255,255,0.7);
}
.footer-address a:hover {
  color: var(--white);
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 0.95rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-heading);
  transition: all var(--t-fast);
}
.footer-col-links a:hover {
  color: var(--white);
  padding-left: 0.35rem;
}
.footer-bottom {
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-family: var(--font-heading);
  color: rgba(255,255,255,0.45);
}

/* ======================================================
   WIND-LIKE SMOOTH FLUID REVEALS
   ====================================================== */
@media (prefers-reduced-motion: no-preference) {
  body.page-loaded .hero,
  body.page-loaded .academic-directory-strip,
  body.page-loaded .workbench-grid {
    animation: gentleBreezeReveal var(--t-enter) cubic-bezier(0.2, 0.85, 0.3, 1) both;
  }

  .stagger-1 { animation-delay: 0.06s !important; }
  .stagger-2 { animation-delay: 0.14s !important; }
  .stagger-3 { animation-delay: 0.22s !important; }
  .stagger-4 { animation-delay: 0.30s !important; }

  @keyframes gentleBreezeReveal {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--t-slow), transform var(--t-slow);
    will-change: opacity, transform;
  }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Citation Toast */
#citation-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy-dark);
  color: var(--white);
  border-left: 4px solid var(--gold);
  padding: 0.85rem 1.45rem;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 99999;
}
#citation-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.footer-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--paper-cream);
  flex-shrink: 0;
}
.masthead-logo {
  width: 52px;
  height: 52px;
}
.cclgfl-logo-large {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  background: var(--white);
  box-shadow: var(--shadow-md);
  margin: 0 auto 1.5rem;
  display: block;
}

/* ======================================================
   RESPONSIVE ADAPTATIONS
   ====================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .workbench-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .top-bar-right {
    display: none;
  }
  .masthead .container {
    gap: 1rem;
  }
  .masthead-meta-badges {
    display: none;
  }
  .nav-list {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
  }
  .pub-item:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .academic-directory-strip .container {
    gap: 0.45rem;
  }
  .directory-btn {
    font-size: 0.74rem;
    padding: 0.25rem 0.55rem;
  }
}
