@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Minimalist Brutalist Crimson & Slate Palette */
  --bg-main:            #f4f4f6; /* Off-white canvas */
  --bg-surface:         #e4e4e7; /* Light grey canvas */
  --bg-card:            #ffffff; /* Stark White Card */
  --color-burgundy:     #881337; /* Crimson Burgundy */
  --color-burgundy-light: #fda4af; /* Rose highlight */
  --color-slate:        #334155; /* Slate */
  --color-black:        #0d0d0d; /* Crisp Solid Black */
  
  --border-thick:       2px solid #0d0d0d;
  --border-thin:        1.5px solid #0d0d0d;
  --border-light:       1px solid rgba(13, 13, 13, 0.15);
  
  --shadow-brutal:      5px 5px 0px #0d0d0d;
  --shadow-brutal-hover: 8px 8px 0px #881337;
  --shadow-brutal-btn:  3px 3px 0px #0d0d0d;
  
  --font-display:       'Archivo Black', sans-serif;
  --font-heading:       'Space Grotesk', sans-serif;
  --font-body:          'Space Grotesk', sans-serif;
  --transition-snap:    all 0.1s steps(2, end); /* Instant Brutalist Snapping */
}

/* Base resets & stark layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-width: 0; /* prevents grid/flex children from overflowing */
}

/* Global: all media stays within its container */
img, video, iframe, embed, object, svg {
  max-width: 100%;
  height: auto;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-main);
  color: var(--color-black);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--color-black);
  text-decoration: none;
  transition: var(--transition-snap);
}

a:hover {
  color: var(--color-burgundy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.2;
}

/* Layout Utilities */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

.section {
  padding: 80px 0;
  border-bottom: var(--border-thick);
}

/* Brutalist Header for Subpages */
.page-header, .page-head {
  padding: 160px 0 60px;
  background: var(--color-slate);
  color: var(--bg-main);
  border-bottom: var(--border-thick);
  text-align: left;
}

.page-header h1, .page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 40px);
  color: var(--bg-main);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-breadcrumb, .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-surface);
}

.page-breadcrumb a, .crumb a {
  color: var(--color-burgundy-light);
  font-weight: 700;
}

/* Main Grid Layout for Subpages */
.main-layout, .layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 60px 0 80px;
}

.main-content-area, .main-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Stark Brutalist Card Containers */
.content-card, .card, .data-card, .sidebar-card {
  background: var(--bg-card);
  border: var(--border-thick);
  border-radius: 0px; /* Absolutely no rounding */
  padding: 35px;
  box-shadow: var(--shadow-brutal);
  transition: var(--transition-snap);
}

.content-card:hover, .card:hover, .data-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
}

/* Unified Brutalist Navigation Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: var(--border-thick);
  transition: var(--transition-snap);
  padding: 15px 0;
}

.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.header-brand {
  display: flex;
  flex-direction: column;
}

.header-firm-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.1;
  text-transform: uppercase;
}

.header-firm-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-burgundy);
  margin-top: 2px;
  font-weight: 700;
}

.header-nav-container {
  display: flex;
  align-items: center;
}

/* Header Integrated Links (Snappy Block styling) */
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  border: 1.5px solid transparent;
  transition: var(--transition-snap);
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--bg-main);
  background: var(--color-burgundy);
  border: var(--border-thin);
}

.nav-link.active, .nav-link.current {
  color: var(--bg-main) !important;
  background: var(--color-slate) !important;
  border: var(--border-thin) !important;
}

.dropdown-icon {
  font-size: 8px;
}

/* Brutalist Block Dropdown Boxes */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: var(--border-thick);
  border-radius: 0px;
  padding: 5px 0;
  box-shadow: var(--shadow-brutal);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-snap);
  z-index: 110;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black);
  transition: var(--transition-snap);
}

.nav-dropdown a:hover {
  background: var(--bg-surface);
  color: var(--color-burgundy);
  padding-left: 22px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hide hamburger toggle on desktop by default */
.mobile-toggle {
  display: none;
}

/* Header Brutalist CTA Button */
.btn-header-cta {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: var(--border-thick);
  color: var(--color-black);
  background: var(--bg-main);
  box-shadow: var(--shadow-brutal-btn);
  transition: var(--transition-snap);
}

.btn-header-cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #0d0d0d;
  background: var(--color-burgundy);
  color: var(--bg-main) !important;
}

/* Cinematic/Brutalist Hero Banner Layout */
.cinematic-hero {
  padding: 96px 0 0;
  background: var(--bg-surface);
  border-bottom: var(--border-thick);
  text-align: center;
}

.hero-overlay-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* Brutalist Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border: var(--border-thick);
  cursor: pointer;
  border-radius: 0px;
  transition: var(--transition-snap);
}

.btn-primary-clean {
  background: var(--color-burgundy);
  color: var(--bg-main) !important;
  box-shadow: var(--shadow-brutal);
}

.btn-primary-clean:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
  background: var(--color-black);
  color: var(--bg-main) !important;
}

.btn-secondary-clean {
  background: var(--bg-card);
  color: var(--color-black);
  box-shadow: var(--shadow-brutal);
}

.btn-secondary-clean:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
  background: var(--color-slate);
  color: var(--bg-main) !important;
}

/* Landscape Framed Image & Floating Stats (Full-bleed Overlay) */
.hero-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 50px;
}

.hero-frame-border {
  display: none;
}

.hero-image-box {
  position: relative;
  width: 100%;
  height: 520px; /* Increased height for full-screen overlay feel */
  overflow: hidden;
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
  border-left: none;
  border-right: none;
  z-index: 2;
  box-shadow: none;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.45) 0%, rgba(13, 13, 13, 0.8) 100%);
  z-index: 3;
}

.hero-image-content-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}

.hero-image-wide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: var(--transition-smooth);
}

.hero-frame-wrapper:hover .hero-image-wide {
  transform: scale(1.02);
}

.hero-badge-wrap {
  margin-bottom: 12px;
}

.hero-badge-clean {
  display: block;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--bg-main);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.5vw, 44px);
  color: var(--bg-main) !important; /* Force white over overlay */
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-desc-main {
  font-size: clamp(15px, 2.2vw, 17px);
  color: rgba(255, 255, 255, 0.9) !important; /* Readable light grey */
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 650px;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-btn-row .btn-secondary-clean {
  background: rgba(255, 255, 255, 0.15) !important;
  color: var(--bg-main) !important;
  border: var(--border-thick) solid var(--bg-main) !important;
  box-shadow: 4px 4px 0px var(--color-black) !important;
}

.hero-btn-row .btn-secondary-clean:hover {
  background: var(--bg-main) !important;
  color: var(--color-black) !important;
}

.hero-horizontal-stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg-card);
  border: var(--border-thick);
  box-shadow: var(--shadow-brutal);
  width: 100%;
  margin: -45px auto 0;
  padding: 25px 0;
  z-index: 10;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-block .stat-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-burgundy);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-block .stat-name {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-slate);
  font-weight: 700;
}

.stat-divider {
  width: 2px;
  height: 40px;
  background-color: var(--color-black);
}

/* Announcement Marquee scrolling block */
.scrolling-wrapper {
  background: var(--color-black);
  border-bottom: var(--border-thick);
  padding: 14px 0;
  overflow: hidden;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  display: inline-block;
  font-size: 13px;
  color: var(--color-burgundy-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 100%;
  animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}

/* Asymmetrical Storyteller Grid */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--bg-main);
  background: var(--color-slate);
  padding: 4px 10px;
  border: var(--border-thin);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  color: var(--color-black);
  margin-bottom: 25px;
  text-transform: uppercase;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.narrative-content {
  font-size: 15px;
  color: var(--color-slate);
  font-weight: 500;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow: hidden; /* contain any rogue DB content */
}

/* Constrain all HTML fetched from DB inside narrative-content */
.narrative-content * {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

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

.narrative-content table {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.narrative-content iframe {
  max-width: 100%;
}

.narrative-content p {
  margin-bottom: 20px;
}

.signature-block {
  margin-top: 30px;
  border-left: 4px solid var(--color-burgundy);
  padding-left: 15px;
}

.sig-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
}

.sig-firm {
  font-size: 13px;
  color: var(--color-burgundy);
  font-weight: 700;
  margin-top: 2px;
}

/* Overlapping graphic boxes in About Us */
.graphic-composite {
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.graphic-box.primary-box img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: var(--border-thick);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-brutal);
}

.graphic-box.accent-border {
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: var(--border-thick);
  background: transparent;
  z-index: 1;
}

.graphic-box.overlay-card {
  position: absolute;
  bottom: -25px;
  right: -15px;
  background: var(--color-burgundy);
  color: var(--bg-main);
  border: var(--border-thick);
  padding: 20px 24px;
  z-index: 3;
  box-shadow: var(--shadow-brutal);
  display: flex;
  flex-direction: column;
}

.graphic-box.overlay-card .num {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.0;
  margin-bottom: 4px;
  color: var(--bg-main);
}

.graphic-box.overlay-card .lbl {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
}

/* Minimalist Numbered Services Grid (NO IMAGES, NO ROUNDED CARDS) */
.section-heading-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: var(--border-thick);
}

.heading-desc {
  font-size: 15px;
  max-width: 480px;
  color: var(--color-slate);
  line-height: 1.6;
}

.editorial-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: var(--border-thick);
  box-shadow: var(--shadow-brutal);
}

.editorial-service-item {
  border-right: var(--border-thin);
  border-bottom: var(--border-thin);
  padding: 40px 30px;
  background: var(--bg-card);
  transition: var(--transition-snap);
}

.editorial-service-item:nth-child(4n) {
  border-right: none;
}

.editorial-service-item:last-child {
  border-right: none;
}

.editorial-service-item:nth-last-child(-n+4):nth-child(4n+1),
.editorial-service-item:nth-last-child(-n+3):nth-child(4n+2),
.editorial-service-item:nth-last-child(-n+2):nth-child(4n+3),
.editorial-service-item:nth-last-child(-n+1):nth-child(4n+4) {
  border-bottom: none;
}

.editorial-service-item:hover {
  background: var(--color-burgundy);
  color: var(--bg-main) !important;
}

.editorial-service-item:hover h3,
.editorial-service-item:hover p,
.editorial-service-item:hover .item-number,
.editorial-service-item:hover .item-icon,
.editorial-service-item:hover .item-link {
  color: var(--bg-main) !important;
}

.item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.item-number {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-slate);
}

.item-icon {
  font-size: 20px;
  color: var(--color-burgundy);
}

.item-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.item-content p {
  font-size: 13.5px;
  color: var(--color-slate);
  margin-bottom: 25px;
  line-height: 1.5;
  min-height: 64px;
}

.item-link {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-burgundy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.item-link i {
  transition: var(--transition-snap);
}

.item-link:hover i {
  transform: translateX(4px);
}

/* Asymmetric Brutalist Values Section */
.values-split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
}

.values-narrative-side {
  position: sticky;
  top: 130px;
}

.narrative-lead {
  font-size: 16px;
  color: var(--color-slate);
  margin-bottom: 30px;
}

.values-quote-box {
  background: var(--color-slate);
  color: var(--bg-main);
  border: var(--border-thick);
  box-shadow: var(--shadow-brutal);
  padding: 30px;
}

.values-quote-box p {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 12px;
}

.values-quote-box .quote-author {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--color-burgundy-light);
  font-weight: 700;
}

.values-items-side {
  display: flex;
  flex-direction: column;
  border: var(--border-thick);
  background: var(--bg-card);
  box-shadow: var(--shadow-brutal);
}

.value-editorial-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  border-bottom: var(--border-thin);
}

.value-editorial-item:last-child {
  border-bottom: none;
}

.value-editorial-item .val-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-burgundy);
  line-height: 1.0;
}

.value-editorial-item .val-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.value-editorial-item .val-body p {
  font-size: 13.5px;
  color: var(--color-slate);
  line-height: 1.5;
}

/* News & Notifications Feeds list blocks */
.feeds-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.feed-column {
  background: var(--bg-card);
  border: var(--border-thick);
  padding: 35px;
  box-shadow: var(--shadow-brutal);
}

.feed-col-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: var(--border-thick);
}

.feed-col-header .icon-ring {
  width: 40px;
  height: 40px;
  border: var(--border-thick);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy);
  font-size: 15px;
}

.feed-col-header h3 {
  font-size: 20px;
  text-transform: uppercase;
}

.feed-list-container {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.feed-list-container::-webkit-scrollbar {
  width: 4px;
}

.feed-list-container::-webkit-scrollbar-thumb {
  background: var(--color-black);
}

.feed-row-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--color-black);
}

.feed-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feed-row-date {
  font-size: 11px;
  color: var(--color-burgundy);
  font-weight: 700;
  text-transform: uppercase;
}

.feed-row-title {
  font-size: 14px;
  color: var(--color-black);
  line-height: 1.4;
  font-weight: 600;
}

.feed-row-title:hover {
  color: var(--color-burgundy);
  text-decoration: underline;
}

/* Sidebar scroll-feed styling for right.php */
.sidebar {
  background: var(--bg-card) !important;
  border: var(--border-thick) !important;
  border-radius: 0px !important;
  padding: 25px !important;
  box-shadow: var(--shadow-brutal) !important;
}

.sidebar h3 {
  font-family: var(--font-heading) !important;
  color: var(--color-black) !important;
  border-bottom: var(--border-thick) !important;
  text-transform: uppercase !important;
}

#news-ticker-container strong, #notif-ticker-container strong {
  color: var(--color-burgundy) !important;
  font-family: var(--font-heading) !important;
}

.sidebar-service-list li {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

.sidebar-service-list li a {
  color: var(--color-black) !important;
  font-weight: 600 !important;
}

.sidebar-service-list li a:hover {
  color: var(--color-burgundy) !important;
}

/* Editorial Tables (Acts, Rules, Calculators lists) */
.table-container {
  overflow-x: auto;
  border: var(--border-thick);
  box-shadow: var(--shadow-brutal);
}

.premium-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-card);
}

.premium-table th, .premium-table td {
  padding: 15px 20px;
  border-bottom: var(--border-thin);
}

.premium-table th {
  background: var(--bg-surface);
  color: var(--color-black);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}

.premium-table tr:hover td {
  background: var(--bg-surface);
}

.btn-outline {
  padding: 6px 14px;
  border: var(--border-thick);
  background: var(--bg-card);
  color: var(--color-black);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: var(--shadow-brutal-btn);
}

.btn-outline:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #0d0d0d;
  background: var(--color-burgundy);
  color: var(--bg-main) !important;
}

/* Contact Details Cards list styling */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.contact-detail-card {
  background: var(--bg-card);
  border: var(--border-thick);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-brutal);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border: var(--border-thick);
  background: var(--bg-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy);
  font-size: 16px;
  margin-bottom: 15px;
}

.contact-detail-card h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-detail-card p {
  font-size: 13.5px;
  color: var(--color-slate);
  font-weight: 500;
}

/* Form inputs styling */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 6px;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  background: var(--bg-card) !important;
  border: var(--border-thick) !important;
  color: var(--color-black) !important;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 0px !important;
}

.form-control:focus {
  outline: none;
  background: var(--bg-surface) !important;
}

/* Call to Action Section */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-surface);
}

.editorial-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 42px);
  color: var(--color-black);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.editorial-cta p {
  font-size: 16px;
  color: var(--color-slate);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.btn-cta-primary {
  background: var(--color-burgundy);
  color: var(--bg-main) !important;
  box-shadow: var(--shadow-brutal);
}

.btn-cta-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
  background: var(--color-black);
}

.btn-cta-secondary {
  background: var(--bg-card);
  color: var(--color-black);
  box-shadow: var(--shadow-brutal);
}

.btn-cta-secondary:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-brutal-hover);
  background: var(--color-slate);
  color: var(--bg-main) !important;
}

/* Contrast Grounding Footer styling */
.site-footer {
  background: var(--color-black) !important;
  padding: 80px 0 40px;
  color: var(--bg-surface);
  font-size: 15px;
  border-top: var(--border-thick);
}

.site-footer h3, .site-footer h4, .site-footer a {
  color: #ffffff;
}

.footer-top {
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--bg-surface);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-main);
  color: var(--color-black) !important;
  border: var(--border-thin);
  font-size: 18px;
  transition: var(--transition-snap);
  box-shadow: 4px 4px 0px var(--color-burgundy-light);
}

.footer-social a:hover {
  background: var(--color-burgundy-light);
  color: var(--color-black) !important;
  box-shadow: 0px 0px 0px var(--color-black);
  transform: translate(4px, 4px);
}

.footer-social a.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--color-burgundy-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 6px;
  font-weight: 700;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-burgundy-light);
}

.footer-col a {
  display: block;
  color: var(--bg-surface);
  padding: 2px 0;
}

.footer-col a:hover {
  color: var(--color-burgundy-light);
  padding-left: 4px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--bg-surface);
}

.footer-contact p i {
  color: var(--color-burgundy-light);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--bg-surface);
}

.footer-bottom a {
  color: var(--bg-surface);
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg-main);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 44px;
  border: var(--border-thick);
  background: var(--bg-card);
  animation: spinnerBrutal 1s steps(4, end) infinite;
}

@keyframes spinnerBrutal {
  to { transform: rotate(360deg); }
}

/* Accessibility tool zoom widget */
.zoom-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--bg-card);
  border: var(--border-thick);
  padding: 6px;
  box-shadow: var(--shadow-brutal);
}

.zoom-btn {
  width: 32px;
  height: 32px;
  border: var(--border-thin);
  background: var(--bg-main);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: var(--transition-snap);
}

.zoom-btn:hover {
  background: var(--color-burgundy);
  color: var(--bg-main);
}

/* Back to Top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: var(--border-thick);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-brutal);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-snap);
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-burgundy);
  color: var(--bg-main);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #0d0d0d;
}

/* Scroll reveal classes */
.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-stagger {
  opacity: 0;
  transition: transform 0.6s steps(4, end), opacity 0.6s steps(4, end);
}

.reveal { transform: translateY(20px); }
.reveal-left { transform: translateX(-20px); }
.reveal-right { transform: translateX(20px); }
.reveal-scale { transform: scale(0.97); }

.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible, .reveal-stagger.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Mobile drawer navigation block styling overrides */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--bg-card);
  border-left: var(--border-thick);
  box-shadow: var(--shadow-brutal);
  padding: 100px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: var(--transition-snap);
  z-index: 105;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu .nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 15px;
}

.mobile-menu .nav-item {
  width: 100%;
}

.mobile-menu .nav-link {
  font-size: 16px;
  padding: 8px 0;
  width: 100%;
  border-bottom: 1.5px solid var(--color-black);
  border-radius: 0;
  display: flex;
  justify-content: space-between;
}

.mobile-menu .nav-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--color-black);
  width: 100%;
}

.mobile-menu .nav-link-row .nav-link {
  border-bottom: none;
  flex: 1;
}

.mobile-menu .dropdown-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 10px;
  color: var(--color-black);
  font-size: 12px;
  transition: color 0.2s ease;
}

.mobile-menu .dropdown-toggle-btn:hover {
  color: var(--color-burgundy);
}

.mobile-menu .nav-item.open .dropdown-toggle-btn .dropdown-icon {
  transform: rotate(180deg);
}

.mobile-menu .nav-link.active {
  background: transparent !important;
  color: var(--color-burgundy) !important;
}

.mobile-menu .nav-dropdown {
  position: static;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: 5px 0 5px 15px;
  display: none;
  width: 100%;
}

.mobile-menu .nav-item.open .nav-dropdown {
  display: block;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.4);
  opacity: 0;
  pointer-events: none;
  z-index: 95;
  transition: var(--transition-snap);
}

.menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Responsiveness overrides */
@media (max-width: 1200px) {
  .editorial-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial-service-item:nth-child(4n) {
    border-right: var(--border-thin);
  }
  .editorial-service-item:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 1024px) {
  .main-layout, .layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-narrative-side {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  .site-header {
    padding: 12px 0;
  }
  .page-header, .page-head {
    padding: 110px 0 40px;
  }
  .header-nav-container {
    display: none;
  }
  .btn-header-cta {
    display: none !important;
  }
  .header-logo img {
    height: 34px !important;
  }
  .header-firm-name {
    font-size: 15px !important;
  }
  .header-firm-sub {
    font-size: 8px !important;
    letter-spacing: 1px !important;
  }
  .header-left {
    gap: 8px !important;
  }
  
  /* About Us Graphics Mobile fixes */
  .graphic-box.primary-box img {
    height: 260px !important;
  }
  .graphic-box.overlay-card {
    position: static !important;
    margin-top: 15px !important;
    width: 100% !important;
    text-align: center !important;
    box-shadow: var(--shadow-brutal) !important;
    padding: 15px !important;
  }
  .graphic-box.accent-border {
    display: none !important;
  }
  .graphic-composite {
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  /* About story text stacks nicely */  
  .about-story-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  /* Mobile toggle hamburger visible */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 120;
    padding: 0;
  }
  .mobile-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--color-black);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(6.75px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6.75px) rotate(-45deg);
  }
  
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-visual-side {
    justify-content: center;
  }
  .hero-image-container {
    width: 100%;
    max-width: 320px;
  }
  .hero-horizontal-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    padding: 20px 10px;
    width: 100%;
    margin: -30px auto 0 !important;
  }
  .stat-block {
    flex: 1 1 30%;
    min-width: 90px;
  }
  .stat-divider {
    display: none;
  }
  
  /* Services grid: 2 cols on tablet/mobile */
  .editorial-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    border-right: none;
    border-bottom: none;
  }
  .editorial-service-item {
    border-right: var(--border-thin) !important;
    border-bottom: var(--border-thin) !important;
  }
  .editorial-service-item:nth-child(2n) {
    border-right: none !important;
  }
  .editorial-service-item:nth-child(4n) {
    border-right: none !important;
  }
  
  /* Feeds stack on mobile */
  .feeds-split-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 35px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .section-heading-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  /* Ensure all content visible on mobile (no animation hiding) */
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-stagger {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* CTA buttons stack on mobile */
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .hero-btn-row {
    flex-direction: column;
    gap: 12px;
  }

  /* ===== OVERFLOW / RESPONSIVE CONTENT FIXES ===== */

  /* Force ALL sections and containers to stay within viewport */
  .section, .page-header, .page-head,
  .main-layout, .layout, .container,
  .about-intro, .mv-section, .about-values, .about-team {
    overflow: hidden;
    max-width: 100%;
  }

  /* Section title must never overflow on mobile */
  .section-title {
    font-size: clamp(18px, 5.5vw, 26px) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
  }

  /* Page-level h1 titles */
  .page-header h1, .page-head h1 {
    font-size: clamp(22px, 7vw, 36px) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Hero title on mobile */
  .hero-title-main {
    font-size: clamp(22px, 7vw, 36px) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* All headings must wrap */
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* DB content must not overflow */
  .narrative-content,
  .narrative-content * {
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .narrative-content table {
    display: block !important;
    overflow-x: auto !important;
    width: 100% !important;
  }

  /* Values grid single column */
  .editorial-services-grid .editorial-service-item {
    min-width: 0;
  }

  /* Graphic composite overflow fix */
  .graphic-composite {
    overflow: visible;
    max-width: 100%;
  }

  /* Contact cards */
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
  }

  /* Main content layout single column */
  .main-layout, .layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 500px) {
  .page-header, .page-head {
    padding: 100px 0 30px;
  }
  .feeds-split-grid {
    grid-template-columns: 1fr !important;
  }
  .editorial-services-grid {
    grid-template-columns: 1fr !important;
  }
  .editorial-service-item {
    border-right: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .section-title {
    font-size: clamp(16px, 5vw, 22px) !important;
  }
  .hero-title-main {
    font-size: clamp(20px, 6.5vw, 30px) !important;
  }
  .stat-block .stat-val {
    font-size: 26px !important;
  }
  .footer-grid {
    gap: 25px !important;
  }
}

/* Global Custom Scrollbars for Brutalist Elements */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
  border-left: 1px solid rgba(13, 13, 13, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--color-black);
  border: 1px solid var(--bg-card);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-burgundy);
}

/* Ensure horizontal scroll on overflow tables */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}