/*
Theme Name: Viewer Ventures 1.0.1
Theme URI: https://viewerventures.com/
Author: Jesse Ryan Jensen & Viewer Ventures
Description: A colorful, Courier-first classic WordPress theme for Viewer Ventures, organized around Niches, Websites, Booths, and Physical outcomes.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: viewer-ventures
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-menu, featured-images, footer-widgets, full-width-template, threaded-comments, translation-ready
*/

:root {
  --vv-bg: #06111f;
  --vv-bg-soft: #0b1c31;
  --vv-panel: #102843;
  --vv-ink: #f4f8ff;
  --vv-muted: #b9c9dc;
  --vv-line: #2e4c69;
  --vv-cyan: #31d2f7;
  --vv-yellow: #ffd84d;
  --vv-pink: #ff5ec7;
  --vv-green: #6be585;
  --vv-orange: #ff9f43;
  --vv-purple: #9b7bff;
  --vv-width: 1240px;
  --vv-radius: 18px;
  --vv-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vv-ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(49, 210, 247, .13), transparent 30rem),
    radial-gradient(circle at 92% 18%, rgba(155, 123, 255, .12), transparent 28rem),
    var(--vv-bg);
  font-family: "Courier New", Courier, monospace;
  font-size: 17px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; }
a { color: var(--vv-cyan); text-underline-offset: .2em; }
a:hover { color: var(--vv-yellow); }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  z-index: 100000;
  color: #000;
  background: #fff;
}

.vv-wrap {
  width: min(calc(100% - 36px), var(--vv-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(49, 210, 247, .35);
  background: rgba(6, 17, 31, .94);
  backdrop-filter: blur(14px);
}
body.admin-bar .site-header { top: 32px; }
.site-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.site-branding { min-width: 0; }
.site-title {
  display: inline-block;
  color: var(--vv-ink);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 rgba(49, 210, 247, .24);
}
.site-title:hover { color: var(--vv-yellow); }

.primary-navigation ul,
.footer-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.primary-navigation a {
  display: block;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--vv-ink);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  border-color: var(--vv-cyan);
  color: var(--vv-yellow);
  background: rgba(49, 210, 247, .08);
}
.menu-toggle {
  display: none;
  padding: 9px 12px;
  border: 1px solid var(--vv-cyan);
  border-radius: 8px;
  color: var(--vv-ink);
  background: transparent;
  cursor: pointer;
}

.site-main { min-height: 64vh; }
.vv-hero {
  padding: clamp(72px, 9vw, 132px) 0 62px;
  text-align: center;
}
.vv-eyebrow,
.entry-kicker {
  margin: 0 0 12px;
  color: var(--vv-yellow);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.vv-hero h1,
.entry-title,
.archive-title {
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.vv-hero__text {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--vv-muted);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
}
.vv-hero__path {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 32px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 216, 77, .55);
  border-radius: 999px;
  color: var(--vv-yellow);
  background: rgba(255, 216, 77, .06);
  font-size: .92rem;
  font-weight: 700;
}

.vv-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 70px;
}
.vv-card {
  position: relative;
  min-height: 300px;
  padding: 26px;
  border: 2px solid var(--card-color, var(--vv-cyan));
  border-radius: var(--vv-radius);
  overflow: hidden;
  color: var(--vv-ink);
  background: linear-gradient(145deg, rgba(16, 40, 67, .96), rgba(8, 25, 44, .96));
  box-shadow: var(--vv-shadow);
}
.vv-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -48px;
  bottom: -48px;
  border-radius: 50%;
  background: var(--card-color, var(--vv-cyan));
  opacity: .1;
}
.vv-card--niches { --card-color: var(--vv-pink); }
.vv-card--websites { --card-color: var(--vv-cyan); }
.vv-card--booths { --card-color: var(--vv-orange); }
.vv-card--physical { --card-color: var(--vv-green); }
.vv-card__number {
  color: var(--card-color);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.vv-card h2 {
  margin: 22px 0 12px;
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.vv-card p { color: var(--vv-muted); }
.vv-card__link {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  color: var(--card-color);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.vv-card__link:hover { color: var(--vv-yellow); }

.vv-section { padding: 64px 0; }
.vv-section--soft {
  border-block: 1px solid rgba(49, 210, 247, .18);
  background: rgba(11, 28, 49, .65);
}
.vv-section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 28px;
}
.vv-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
}
.vv-section__header p {
  max-width: 560px;
  margin: 0;
  color: var(--vv-muted);
}
.vv-feature-grid,
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vv-mini-card,
.post-card {
  padding: 22px;
  border: 1px solid var(--vv-line);
  border-radius: 13px;
  background: rgba(16, 40, 67, .72);
}
.vv-mini-card h3,
.post-card h2 {
  margin-top: 0;
  font-size: 1.18rem;
  text-transform: uppercase;
}
.vv-mini-card p,
.post-card .entry-summary { color: var(--vv-muted); }

.content-area { padding: 62px 0 84px; }
.entry-header { margin-bottom: 32px; }
.entry-title { font-size: clamp(2.25rem, 6vw, 5.4rem); }
.entry-content {
  max-width: 900px;
  color: #e6eef9;
}
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2em;
  color: var(--vv-yellow);
  line-height: 1.16;
  text-transform: uppercase;
}
.entry-content h2 { font-size: clamp(1.55rem, 3vw, 2.45rem); }
.entry-content blockquote {
  margin-left: 0;
  padding: 18px 22px;
  border-left: 5px solid var(--vv-pink);
  background: rgba(255, 94, 199, .07);
}
.entry-content .wp-block-button__link,
.vv-button {
  border: 1px solid var(--vv-cyan);
  border-radius: 8px;
  color: #00121d;
  background: var(--vv-cyan);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer {
  padding: 44px 0 28px;
  border-top: 2px solid var(--vv-purple);
  background: #030a13;
}
.footer-navigation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}
.footer-navigation a {
  color: var(--vv-ink);
  font-size: .9rem;
  text-decoration: none;
  text-transform: uppercase;
}
.footer-navigation a:hover { color: var(--vv-yellow); }
.site-info {
  margin-top: 26px;
  color: #8193a8;
  font-size: .78rem;
  text-align: center;
}

.vv-sitemap-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.vv-sitemap-card {
  padding: 24px;
  border: 1px solid var(--vv-line);
  border-radius: 14px;
  background: rgba(16, 40, 67, .74);
}
.vv-sitemap-card h2 { margin-top: 0; }
.vv-sitemap-card ul { margin-bottom: 0; }

.post-meta { color: var(--vv-muted); font-size: .83rem; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
  padding: 7px 10px;
  border: 1px solid var(--vv-line);
  border-radius: 6px;
  text-decoration: none;
}
.page-numbers.current { border-color: var(--vv-yellow); color: var(--vv-yellow); }

@media (max-width: 980px) {
  .vv-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vv-feature-grid, .posts-grid { grid-template-columns: 1fr 1fr; }
  .site-header__inner { min-height: 70px; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: inline-block; }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 14px 18px 20px;
    border-bottom: 1px solid var(--vv-line);
    background: #06111f;
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: block; }
  .primary-navigation a { border-radius: 7px; }
  .vv-card-grid,
  .vv-feature-grid,
  .posts-grid,
  .vv-sitemap-groups { grid-template-columns: 1fr; }
  .vv-card { min-height: 250px; }
  .vv-section__header { display: block; }
  .vv-section__header p { margin-top: 14px; }
  .vv-hero__path { border-radius: 12px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .vv-wrap { width: min(calc(100% - 24px), var(--vv-width)); }
  .site-title { font-size: 1.1rem; }
  .vv-hero h1 { font-size: 2.65rem; }
}
