/*
Theme Name: Cheney.com
Theme URI: https://cheney.com
Author: Chase Cheney
Author URI: https://github.com/chasecheney
Description: Minimal, self-contained landing page for cheney.com — a private host that serves files and services used by other sites. Includes an inline, animated technology graphic and no external assets.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cheneycom
*/

:root {
  --bg: #0a0e14;
  --bg-2: #0d1320;
  --ink: #e6edf3;
  --muted: #8b97a7;
  --accent: #34d3ee;
  --accent-2: #6ee7b7;
  --line: rgba(120, 160, 200, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(80% 60% at 50% 0%, #11192a 0%, var(--bg) 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

#main { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 48px 22px; }

/* ----------------------------------------------------------------- hero */
.hero { width: 100%; max-width: 620px; text-align: center; }

.graphic { width: 100%; max-width: 460px; margin: 0 auto 36px; }
.graphic svg { width: 100%; height: auto; display: block; }

.hero h1 {
  font-size: clamp(36px, 9vw, 64px);
  margin: 0 0 12px;
  letter-spacing: -.03em;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { font-size: clamp(17px, 3vw, 21px); color: var(--ink); margin: 0 0 14px; font-weight: 500; }
.hero .muted { font-size: 15px; color: var(--muted); margin: 0 auto 28px; max-width: 440px; line-height: 1.6; }

/* status chip */
.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 980px; padding: 7px 15px;
  background: rgba(255, 255, 255, .02);
}
.status .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 0 0 rgba(110, 231, 183, .5);
  animation: ping 2.4s ease-out infinite;
}

/* ------------------------------------------------------------- graphic */
.g-link { stroke: url(#cc-grad); stroke-width: 1.2; opacity: .5; }
.g-node { fill: var(--accent); }
.g-node--alt { fill: var(--accent-2); }
.g-core { fill: url(#cc-grad); }
.g-pulse { transform-box: fill-box; transform-origin: center; animation: nodePulse 3.2s ease-in-out infinite; }
.g-pulse:nth-of-type(2n) { animation-delay: .8s; }
.g-pulse:nth-of-type(3n) { animation-delay: 1.6s; }
.g-ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .25; }
.g-ring--spin { transform-box: fill-box; transform-origin: center; animation: spin 28s linear infinite; }

/* ------------------------------------------------------------- footer */
.site-footer {
  flex-shrink: 0; text-align: center; padding: 26px 22px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------- motion */
@keyframes nodePulse { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(110, 231, 183, .45); }
  70%  { box-shadow: 0 0 0 10px rgba(110, 231, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .g-pulse, .g-ring--spin, .status .dot { animation: none; }
}
