/*
Theme Name: Arcovex
Theme URI: https://arcovex.com
Author: Arcovex
Author URI: https://arcovex.com
Description: Engineering / telemetry aesthetic single-page theme for Arcovex. Hero waveform, capability cards (custom post type), and a Customizer-driven front page. Built for a fast, self-managed site.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arcovex
*/

/* ARCOVEX — engineering / telemetry aesthetic
   NOTE: --accent / --accent-rgb / --grid-alpha are injected inline
   by the theme from Customizer settings (see inc/dynamic-css.php). */
:root {
  --bg: #05070a;
  --bg-2: #0b1014;
  --panel: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --fg: #e6ecf3;
  --muted: #7a8694;
  --dim: #4a5563;
  --accent: #2BA7E8;
  --accent-rgb: 43, 167, 232;
  --grid-alpha: 0.035;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;
  font-feature-settings: "ss01", "cv02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.mono {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

/* ---------- Background layers ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,var(--grid-alpha)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,var(--grid-alpha)) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black 30%, transparent 90%);
}
.bg-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(var(--accent-rgb), 0.10), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,0,0,0.7), transparent 70%);
}

.with-scanlines::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 3px
  );
  mix-blend-mode: overlay;
}

/* ---------- Corner frame ---------- */
.corner-frame {
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.005));
  backdrop-filter: blur(6px);
}
.cf {
  position: absolute;
  width: 10px; height: 10px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  opacity: 0.85;
}
.cf-tl { top: -1px; left: -1px; border-top-width: 1px; border-left-width: 1px; }
.cf-tr { top: -1px; right: -1px; border-top-width: 1px; border-right-width: 1px; }
.cf-bl { bottom: -1px; left: -1px; border-bottom-width: 1px; border-left-width: 1px; }
.cf-br { bottom: -1px; right: -1px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- Nav ---------- */
.nav {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px var(--pad);
  border-bottom: 1px solid var(--border);
  background: rgba(5,7,10,0.7);
  backdrop-filter: blur(10px);
}
.nav-left { display: flex; align-items: center; gap: 18px; }
.wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.32em;
}
.nav-sub { display: none; }
@media (min-width: 880px) { .nav-sub { display: inline; } }

.nav-links {
  display: none;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .15s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--fg); }
@media (min-width: 880px) { .nav-links { display: flex; } }

.nav-right { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.nav-coord { display: none; }
@media (min-width: 700px) { .nav-coord { display: inline; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) var(--pad) clamp(60px, 8vw, 100px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.waveform-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(40px, 5vw, 60px);
  padding: 0 4px;
}
.logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.logo {
  position: relative;
  z-index: 2;
  width: clamp(260px, 36vw, 420px);
  height: auto;
  display: block;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 30px rgba(var(--accent-rgb), 0.25));
}
.logo-glow {
  position: absolute;
  inset: -20%;
  z-index: 1;
  filter: blur(20px);
  animation: pulse-glow 4s ease-in-out infinite;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.35), transparent 70%);
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.headline {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #b8c4d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subhead {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto clamp(32px, 4vw, 44px);
  text-wrap: pretty;
}
.subhead em { color: var(--fg); font-style: normal; }

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: all .18s ease;
  position: relative;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #03161f;
  font-weight: 600;
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.5), 0 8px 30px -8px rgba(var(--accent-rgb), 0.6);
}
.btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18), 0 10px 40px -8px rgba(var(--accent-rgb), 0.8);
  transform: translateY(-1px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--accent);
  color: var(--fg);
}
.btn-shortcut { padding: 2px 6px; border: 1px solid var(--border); }

/* ---------- Status ticker ---------- */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
  margin: 0 auto;
  max-width: 980px;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 8px; padding: 0 18px; }
.ticker-key { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }
.ticker-val { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--fg); }
.ticker-sep { color: var(--dim); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Hero readouts ---------- */
.hero-readout {
  position: absolute;
  z-index: 3;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(5,7,10,0.6);
  backdrop-filter: blur(8px);
  min-width: 180px;
}
.hero-readout-tl { top: 40px; left: var(--pad); }
.hero-readout-br { bottom: 40px; right: var(--pad); }
@media (min-width: 1100px) { .hero-readout { display: flex; } }

.readout-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.readout-fill {
  height: 100%;
  box-shadow: 0 0 8px currentColor;
  background: var(--accent);
  width: 78%;
}
.readout-channels { display: flex; gap: 3px; }
.readout-ch { flex: 1; height: 16px; }

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 140px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: clamp(48px, 6vw, 72px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 880px) {
  .section-head {
    grid-template-columns: auto 1fr auto;
    align-items: end;
    gap: 40px;
  }
}
.section-head-left { display: flex; flex-direction: column; gap: 4px; }
.section-index { font-size: 12px; color: var(--accent); }
.section-eyebrow { font-size: 11px; }
.section-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.section-note { text-align: right; max-width: 280px; line-height: 1.5; }
@media (max-width: 879px) {
  .section-note { text-align: left; }
}

/* ---------- Capability cards ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cap-card {
  background: var(--bg);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background .2s;
  border: none !important;
}
.cap-card:hover { background: rgba(255,255,255,0.015); }
.cap-card .cf { opacity: 0; transition: opacity .2s; }
.cap-card:hover .cf { opacity: 1; }

.cap-head { display: flex; justify-content: space-between; align-items: center; }
.cap-code { color: var(--muted); }
.cap-status { font-size: 10px; color: var(--accent); }
.cap-icon-wrap {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: rgba(var(--accent-rgb), 0.04);
}
.cap-svg { width: 32px; height: 32px; stroke: var(--accent); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cap-svg .fill-accent { fill: var(--accent); }
.cap-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.cap-blurb {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty;
}
.cap-spec {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.cap-spec li { display: flex; align-items: center; gap: 8px; color: var(--fg); font-size: 11px; }
.cap-spec-dot { width: 4px; height: 4px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 4px currentColor; background: var(--accent); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
}
.about-lead {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.35;
  margin: 0 0 24px;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.about-lead em { font-style: normal; color: var(--accent); }
.about-body { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 32px; max-width: 56ch; text-wrap: pretty; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 600px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 18px 16px; }
.stat-n {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-label { font-size: 10px; }

.about-panel { padding: 22px; }
.panel-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 18px;
}
.panel-head .live { color: var(--accent); }
.proc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.proc-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.proc-k { font-size: 14px; padding-top: 2px; color: var(--accent); }
.proc-t { font-size: 16px; font-weight: 500; margin-bottom: 3px; }
.proc-d { display: block; line-height: 1.4; }

/* ---------- Tech grid ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-cell {
  padding: 22px 18px 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.012);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all .2s;
  cursor: default;
}
.tech-cell:hover {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.4), 0 0 30px rgba(var(--accent-rgb), 0.18);
}
.tech-id { color: var(--dim); font-size: 10px; }
.tech-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.tech-bar { height: 2px; background: rgba(255,255,255,0.06); overflow: hidden; margin-top: 6px; }
.tech-bar-fill { height: 100%; transition: width .4s; box-shadow: 0 0 6px currentColor; background: var(--accent); }
.tech-cell:hover .tech-bar-fill { width: 100% !important; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.04));
  padding: clamp(60px, 8vw, 100px) var(--pad) 24px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 880px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 60px; } }
.foot-block { display: flex; flex-direction: column; gap: 14px; }
.foot-headline {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
.foot-headline .accent { color: var(--accent); }
.foot-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: var(--accent);
  padding: 8px 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
  width: fit-content;
  transition: gap .2s;
}
.foot-mail:hover { gap: 16px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: padding-left .15s, color .15s;
}
.foot-links a:hover { padding-left: 8px; color: var(--accent); }
.foot-loc { font-size: 15px; line-height: 1.5; }
.foot-bar {
  max-width: var(--max);
  margin: clamp(50px, 6vw, 70px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Multi-page additions (nav dropdowns, mobile menu, linked cards,
   page content, compact footer)
   ========================================================================== */

/* ---------- Dropdown submenus ---------- */
.nav-links li { position: relative; }
.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 8px 0 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(5, 7, 10, 0.96);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 20;
}
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-links .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.nav-links .sub-menu a:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.nav-links .menu-item-has-children > a::after {
  content: "\25BE";
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.55;
}
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a { color: var(--fg); }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--fg); transition: transform .2s, opacity .2s; }
.nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 879px) {
  .nav-toggle { display: inline-flex; }
  .nav-links-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 8px var(--pad) 20px;
    background: rgba(5, 7, 10, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
  }
  .nav.nav-open .nav-links-wrap { display: block; }
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .nav-links > li > a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--fg);
  }
  .nav-links .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px 14px;
    border: none;
    background: transparent;
    backdrop-filter: none;
  }
  .nav-links .sub-menu a { padding: 10px 0; }
  .nav-links .menu-item-has-children > a::after { float: right; }
}

/* ---------- Linked service cards ---------- */
.cap-card--link { text-decoration: none; color: inherit; cursor: pointer; }
.cap-card--link:hover { background: rgba(255,255,255,0.02); }
.cap-more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 11px;
  transition: gap .18s ease;
}
.cap-card--link:hover .cap-more { gap: 12px; }
.services-cta { display: flex; justify-content: center; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.hero--short { padding-bottom: clamp(40px, 6vw, 72px); }

/* ---------- Page content (Services, Contact, service pages) ---------- */
.page-section { position: relative; z-index: 2; }
.arcovex-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: #c7d0da;
}
.arcovex-content > * { margin: 0 0 1.15em; }
.arcovex-content > *:last-child { margin-bottom: 0; }
.arcovex-content h2,
.arcovex-content h3,
.arcovex-content h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--fg);
  margin: 1.6em 0 0.5em;
}
.arcovex-content h2 { font-size: 28px; }
.arcovex-content h3 { font-size: 22px; }
.arcovex-content h4 { font-size: 18px; }
.arcovex-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.arcovex-content a:hover { opacity: 0.82; }
.arcovex-content strong { color: var(--fg); }
.arcovex-content em { color: var(--fg); font-style: italic; }
.arcovex-content ul,
.arcovex-content ol { padding-left: 1.25em; }
.arcovex-content li { margin: 0.4em 0; }
.arcovex-content blockquote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 1.4em 0;
  color: var(--fg);
}
.arcovex-content img { max-width: 100%; height: auto; }

/* Tables (incl. core table block) */
.arcovex-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 15px;
}
.arcovex-content figure.wp-block-table { margin: 1.4em 0; }
.arcovex-content th,
.arcovex-content td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.arcovex-content thead th {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border-strong);
}
.arcovex-content tbody tr:hover { background: rgba(255,255,255,0.02); }
.arcovex-content .is-style-stripes tbody tr:nth-child(odd),
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: rgba(255,255,255,0.015); }
.arcovex-content figcaption,
.arcovex-content .wp-element-caption { color: var(--dim); font-size: 12px; margin-top: 8px; }

/* ---------- Compact footer ---------- */
.footer--compact { padding-top: clamp(48px, 6vw, 72px); }
.foot-tagline { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 2px 0 4px; max-width: 34ch; }
.footer--compact .foot-links a { justify-content: flex-start; gap: 8px; }
.footer--compact .foot-links .sub-menu { display: none; }
