/*
Theme Name: ApeX Resource Group
Theme URI: https://example.com/apex-resource-group
Author: ApeX Resource Group
Author URI: https://example.com
Description: A basic WordPress theme scaffold for ApeX Resource Group based on the existing one-page marketing site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: apex-resource-group
*/

:root {
  --bg-1: #03060d;
  --bg-2: #07101b;
  --bg-3: #0b1726;
  --ink-main: #eaf6ff;
  --ink-soft: #9cb7ca;
  --line: #1f4560;
  --accent: #11c8ff;
  --accent-strong: #228dff;
  --accent-violet: #6d3bc3;
  --signal: #a8ee63;
  --card-bg: rgba(8, 20, 34, 0.76);
  --radius-lg: 1.1rem;
  --radius-md: 0.75rem;
  --shadow: 0 24px 60px -32px rgba(2, 11, 21, 0.8);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Bahnschrift", "Segoe UI Variable", "Segoe UI", sans-serif;
  color: var(--ink-main);
  background:
    radial-gradient(circle at 18% 10%, rgba(17, 200, 255, 0.24), transparent 35%),
    radial-gradient(circle at 82% 20%, rgba(109, 59, 195, 0.26), transparent 31%),
    radial-gradient(circle at 70% 78%, rgba(168, 238, 99, 0.17), transparent 30%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 60%, var(--bg-3));
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 96, 128, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 96, 128, 0.2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.site-header,
.section,
.site-footer {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  padding: 5rem 0 2.5rem;
  align-items: start;
}

.brand-block {
  padding-top: 0.2rem;
}

.site-main {
  display: block;
}

.section-label {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.company-name {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin: 0 0 0.75rem;
  line-height: 1.1;
  max-width: 20ch;
}

.tagline {
  max-width: 58ch;
  color: var(--ink-soft);
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
}

h1,
h2,
h3 {
  font-family: "Segoe UI Semibold", "Franklin Gothic Medium", sans-serif;
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.45rem);
  max-width: 22ch;
}
      display: block;
.lead {
  display: none;
}

.logo-shell {
  margin: 0 0 1.35rem;
  width: min(340px, 76vw);
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.logo-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.45rem;
  filter: drop-shadow(0 16px 32px rgba(4, 14, 27, 0.6));
}

.logo-shell figcaption {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.logo-shell.is-ready figcaption {
  display: none;
}

.logo-shell.is-missing {
  width: min(380px, 85vw);
  padding: 0.7rem;
  border-radius: 0.9rem;
  border-style: dashed;
  border-width: 1px;
  border-color: rgba(45, 102, 142, 0.7);
  background: linear-gradient(120deg, rgba(7, 18, 32, 0.86), rgba(8, 24, 42, 0.74));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent), var(--accent-strong) 52%, var(--accent-violet));
  color: #fff;
  box-shadow: 0 14px 24px -16px rgba(17, 200, 255, 0.62);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--ink-main);
  background: rgba(10, 26, 45, 0.7);
}

.status-panel,
.service-card {
  background: var(--card-bg);
  border: 1px solid rgba(45, 102, 142, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.status-panel {
  padding: 1.2rem;
}

.status-panel h2 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.status-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.status-panel li {
  display: grid;
  gap: 0.25rem;
  border-left: 3px solid var(--signal);
  padding-left: 0.7rem;
}

.status-panel span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
      color: white;
  color: var(--ink-soft);
}

.section {
  padding: 2rem 0;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45, 102, 142, 0.7);
  background: linear-gradient(120deg, rgba(10, 25, 42, 0.93), rgba(11, 19, 34, 0.96));
}

.site-footer p {
  color: var(--ink-soft);
}

.reveal-on-load,
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.js .reveal-on-load,
.js .reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
}

.js .reveal-on-load {
  animation: rise-in 700ms ease forwards;
}

.js .reveal-on-load.delay-1 {
  animation-delay: 140ms;
}

.js .reveal-on-scroll.is-visible {
  animation: rise-in 650ms ease forwards;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-top: 3.5rem;
      background:
        linear-gradient(120deg, rgba(10, 25, 42, 0.93), rgba(11, 19, 34, 0.96));

  .logo-shell {
    width: min(320px, 88vw);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 3rem 0 2rem;
    gap: 1.5rem;
  }

  .brand-block {
    padding-top: 0;
  }

  .company-name {
    font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  }

  h1 {
    font-size: clamp(1.5rem, 4.5vw, 2.5rem);
    max-width: 18ch;
  }

  .logo-shell {
    margin-bottom: 1rem;
    width: min(300px, 85vw);
  }

  .status-panel {
    padding: 1rem;
  }

  .status-panel h2 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
      .split,
  .status-panel li {
    gap: 0.2rem;
    padding-left: 0.6rem;
  }

  .status-panel span {
    font-size: 0.7rem;
  }

  .section {
    padding: 1.5rem 0;
  }

  .section h2 {
    font-size: clamp(1.35rem, 4vw, 1.9rem);
    margin-bottom: 0.85rem;
  }

  .service-grid {
    gap: 0.8rem;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .site-footer {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  .site-footer h2 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 0.75rem;
  }

  .site-footer p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .site-header,
  .section,
  .site-footer {
    width: min(1100px, 95vw);
  }

  .site-header {
    padding: 2.5rem 0 1.5rem;
  }

  .company-name {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  h1 {
    font-size: clamp(1.3rem, 5vw, 2rem);
    max-width: 16ch;
    line-height: 1.15;
  }

  .lead {
    max-width: 100%;
    font-size: 0.9rem;
    margin: 0.8rem 0 1.1rem;
    line-height: 1.55;
  }

  .logo-shell {
    width: min(280px, 90vw);
    margin-bottom: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }

  .btn {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    min-height: 48px;
  }

  .status-panel {
    padding: 0.9rem;
    margin-top: 1.2rem;
  }

  .status-panel h2 {
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
  }

  .status-panel ul {
    gap: 0.7rem;
  }

  .status-panel span {
    font-size: 0.65rem;
  }

  .section-label {
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
  }

  .section h2 {
    font-size: clamp(1.2rem, 5.5vw, 1.6rem);
    margin-bottom: 0.75rem;
  }

  .service-card {
    padding: 0.9rem;
  }

  .service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .site-footer {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    margin-left: -2.5vw;
    margin-right: -2.5vw;
    border-radius: 0;
  }

  .site-footer h2 {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 0.65rem;
    line-height: 1.2;
  }

  .site-footer p {
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
    line-height: 1.5;
  }
}