/*
Theme Name: Achievement Stories
Theme URI: https://achievementstories.com
Author: Achievement Stories
Author URI: https://achievementstories.com
Description: A premium content-portal theme for founder & achievement journalism. Pre-loaded with categories, sample stories, and an admin panel for managing logo, colors, social links, footer, and a "Pitch Your Story" CTA system (used in place of empty ad slots until your AdSense is approved). Just write articles — everything else is configurable from Appearance → Customize.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: achievementstories
Tags: news, magazine, blog, three-columns, right-sidebar, custom-logo, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ========================================
   ACHIEVEMENT STORIES — Main Stylesheet
   ======================================== */

:root {
  --as-bg: #ffffff;
  --as-surface: #f6f4ee;
  --as-ink: #101816;
  --as-muted: #5b6b63;
  --as-line: #e8e4d8;
  --as-accent: #0f5132;
  --as-accent-ink: #ffffff;
  --as-tint: #e9efe9;
  --as-mark: #caa14a;
  --as-hot: #c2453a;
  --as-radius: 4px;
  --as-container: 1280px;
}

/* === Reset + base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--as-ink);
  background: var(--as-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
button, input, textarea, select { font-family: inherit; }
::selection { background: rgba(15, 81, 50, 0.2); }

.as-container { max-width: var(--as-container); margin: 0 auto; padding: 0 32px; }
.as-flex { display: flex; }
.as-grid { display: grid; }

/* === Top utility bar === */
.as-utilbar { background: var(--as-ink); color: var(--as-accent-ink); font-size: 12px; }
.as-utilbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 32px; max-width: var(--as-container); margin: 0 auto; gap: 16px; }
.as-utilbar-left { display: flex; gap: 14px; align-items: center; opacity: 0.9; flex: 1; min-width: 0; }
.as-utilbar-ticker { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: 0.8; }
.as-live-pill { color: var(--as-hot); font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.as-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--as-hot); box-shadow: 0 0 0 4px rgba(194,69,58,0.25); animation: as-pulse 2s infinite; }
@keyframes as-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.as-utilbar-right { display: flex; gap: 18px; align-items: center; }
.as-utilbar-right a { opacity: 0.85; }
.as-subscribe-btn { padding: 5px 14px; background: var(--as-mark); color: var(--as-ink) !important; font-weight: 700; letter-spacing: 0.6px; font-size: 11px; text-transform: uppercase; opacity: 1 !important; }

/* === Brand bar === */
.as-brand { background: var(--as-bg); border-bottom: 1px solid var(--as-line); }
.as-brand-inner { display: flex; align-items: center; justify-content: space-between; padding: 22px 32px; max-width: var(--as-container); margin: 0 auto; gap: 32px; }
.as-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.as-logo-mark { width: 36px; height: 36px; border-radius: 6px; background: var(--as-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.as-logo-name { font-size: 24px; font-weight: 800; letter-spacing: -0.8px; color: var(--as-ink); line-height: 1; }
.as-logo-name .as-dot { color: var(--as-accent); }
.as-logo-tag { font-size: 10px; letter-spacing: 4px; font-weight: 600; color: var(--as-muted); text-transform: uppercase; margin-top: 4px; }
.as-brand-search { flex: 1; max-width: 420px; position: relative; }
.as-brand-search input { width: 100%; padding: 11px 16px 11px 42px; border: 1px solid var(--as-line); background: var(--as-surface); color: var(--as-ink); font-size: 14px; outline: none; border-radius: var(--as-radius); }
.as-brand-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--as-muted); }
.as-brand-actions { display: flex; gap: 10px; align-items: center; }
.as-brand-actions .as-newsletter-link { color: var(--as-muted); font-size: 13px; font-weight: 500; }
.as-pitch-btn { padding: 12px 22px; background: var(--as-accent); color: var(--as-accent-ink); font-weight: 700; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }

/* === Category nav === */
.as-catnav { background: var(--as-bg); border-bottom: 1px solid var(--as-line); }
.as-catnav-inner { display: flex; justify-content: space-between; align-items: center; padding: 0 32px; max-width: var(--as-container); margin: 0 auto; }
.as-catnav ul { list-style: none; padding: 0; margin: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
.as-catnav ul::-webkit-scrollbar { display: none; }
.as-catnav li { flex-shrink: 0; }
.as-catnav a { padding: 14px 18px; color: var(--as-ink); font-size: 13px; font-weight: 600; letter-spacing: 0.3px; white-space: nowrap; border-bottom: 3px solid transparent; display: block; }
.as-catnav a:hover, .as-catnav .current-cat a, .as-catnav .current-menu-item a, .as-catnav a.active { color: var(--as-accent); border-bottom-color: var(--as-accent); }
.as-catnav-end { color: var(--as-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; padding-right: 8px; flex-shrink: 0; }

/* === Hero band === */
.as-hero { padding: 24px 32px 0; max-width: var(--as-container); margin: 0 auto; }
.as-hero-grid { display: grid; grid-template-columns: 1.4fr 0.85fr 0.75fr; gap: 24px; }
.as-hero-featured { position: relative; border-radius: var(--as-radius); overflow: hidden; min-height: 540px; }
.as-hero-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.as-hero-featured::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.88) 100%); }
.as-hero-featured-body { position: absolute; inset: 0; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; z-index: 1; }
.as-hero-tags { display: flex; gap: 8px; align-items: center; }
.as-hero-tag { padding: 6px 12px; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.as-hero-tag.hot { background: var(--as-hot); color: #fff; }
.as-hero-tag.cat { background: rgba(255,255,255,0.16); backdrop-filter: blur(8px); color: #fff; }
.as-hero-featured h2 { margin: 0 0 14px; font-size: 42px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; max-width: 660px; color: #fff; }
.as-hero-featured h2 a { color: #fff; }
.as-hero-featured-dek { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.85); max-width: 580px; }
.as-hero-byline { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.9); }
.as-mono { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--as-tint); color: var(--as-accent); font-weight: 600; font-size: 13px; flex-shrink: 0; }
.as-mono.inverse { background: rgba(255,255,255,0.2); color: #fff; }
.as-hero-side h3 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.as-hero-side-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--as-ink); }
.as-hero-side-head.hot { border-bottom-color: var(--as-hot); }
.as-headline-item { padding: 12px 0; border-bottom: 1px solid var(--as-line); }
.as-headline-item:last-child { border-bottom: none; }
.as-kicker { font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: var(--as-accent); text-transform: uppercase; margin-bottom: 4px; }
.as-headline-item h4 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -0.2px; }
.as-headline-meta { font-size: 11px; color: var(--as-muted); margin-top: 6px; }
.as-topnum-item { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--as-line); }
.as-topnum-item:last-child { border-bottom: none; }
.as-topnum-num { font-size: 20px; font-weight: 800; color: var(--as-hot); letter-spacing: -0.6px; line-height: 1; }
.as-topnum-item h4 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: -0.1px; }
.as-topnum-meta { font-size: 10px; color: var(--as-muted); margin-top: 4px; }

/* === Funding ticker === */
.as-funding-band { background: var(--as-surface); border-top: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); margin-top: 32px; }
.as-funding-inner { padding: 20px 32px; max-width: var(--as-container); margin: 0 auto; }
.as-funding-head { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.as-funding-head .as-hot-pill { padding: 4px 10px; background: var(--as-hot); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.as-funding-head-summary { font-size: 12px; color: var(--as-muted); font-weight: 600; flex: 1; }
.as-funding-head a { color: var(--as-accent); font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; }
.as-funding-row { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.as-fund-card { flex: 0 0 240px; padding: 16px; background: var(--as-bg); border: 1px solid var(--as-line); border-top: 3px solid var(--as-hot); }
.as-fund-card-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.as-fund-logo { width: 40px; height: 40px; background: var(--as-surface); border: 1px solid var(--as-line); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: var(--as-accent); letter-spacing: -0.4px; }
.as-fund-co { font-size: 14px; font-weight: 800; }
.as-fund-sector { font-size: 10px; color: var(--as-muted); letter-spacing: 0.8px; text-transform: uppercase; font-weight: 600; }
.as-fund-amount { font-size: 22px; font-weight: 800; color: var(--as-accent); letter-spacing: -0.6px; }
.as-fund-round { font-size: 10px; font-weight: 800; letter-spacing: 1.2px; color: var(--as-hot); text-transform: uppercase; margin-left: 8px; }
.as-fund-lead { font-size: 11px; color: var(--as-muted); margin-top: 4px; }

/* === Main body grid === */
.as-main { padding: 40px 32px 0; max-width: var(--as-container); margin: 0 auto; }
.as-main-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }

/* === Category section bands === */
.as-cat-section { margin-bottom: 48px; }
.as-cat-band { display: flex; align-items: stretch; margin-bottom: 20px; border-bottom: 3px solid var(--as-accent); }
.as-cat-band-label { padding: 12px 22px; background: var(--as-accent); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.as-cat-band-label::before { content: ''; width: 6px; height: 6px; background: var(--as-mark); display: inline-block; }
.as-cat-band-spacer { flex: 1; }
.as-cat-band-link { padding: 0 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--as-accent); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }

/* Horizontal cards */
.as-hcard { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--as-line); margin-bottom: 22px; align-items: start; }
.as-hcard.lead { grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
.as-hcard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--as-radius); }
.as-hcard.lead img { aspect-ratio: 3/2; }
.as-hcard-body { display: flex; flex-direction: column; }
.as-hcard-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.as-hcard-meta .as-kicker { margin: 0; }
.as-hcard-date { font-size: 11px; color: var(--as-muted); }
.as-hcard h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -0.2px; }
.as-hcard.lead h3 { font-size: 30px; letter-spacing: -0.7px; }
.as-hcard p { margin: 0 0 10px; font-size: 13px; line-height: 1.5; color: var(--as-muted); }
.as-hcard.lead p { font-size: 15px; margin-bottom: 14px; }
.as-hcard-byline { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--as-muted); }
.as-hcard-byline .as-mono { width: 20px; height: 20px; font-size: 9px; }
.as-hcard-byline strong { color: var(--as-ink); font-weight: 600; }
.as-hcard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.as-cat-section.solo .as-hcard-grid .as-hcard:last-child,
.as-cat-section.solo .as-hcard-grid .as-hcard:nth-last-child(2) { border-bottom: none; }

/* Tag pill */
.as-tag-pill { display: inline-flex; align-items: center; padding: 3px 8px; font-size: 10px; letter-spacing: 1.4px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.as-tag-pill.sponsored { background: var(--as-mark); color: #fff; }
.as-tag-pill.featured { background: var(--as-accent); color: var(--as-accent-ink); }
.as-tag-pill.live { background: var(--as-hot); color: #fff; }
.as-tag-pill.default { border: 1px solid var(--as-accent); color: var(--as-accent); }

/* === AS Originals dark band (inside main) === */
.as-originals { background: var(--as-ink); color: #fff; padding: 32px; margin-bottom: 48px; }
.as-originals-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--as-mark); }
.as-originals-head-left { display: flex; align-items: baseline; gap: 14px; }
.as-originals-kicker { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--as-mark); text-transform: uppercase; }
.as-originals-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.as-originals-head a { color: var(--as-mark); font-weight: 700; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.as-originals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.as-originals-card { display: grid; grid-template-columns: 140px 1fr; gap: 14px; background: rgba(255,255,255,0.04); }
.as-originals-card img { width: 100%; height: 100%; aspect-ratio: 7/5; object-fit: cover; }
.as-originals-card-body { padding: 14px 14px 14px 0; }
.as-originals-card-tag { font-size: 9px; font-weight: 800; letter-spacing: 1.4px; color: var(--as-mark); text-transform: uppercase; margin-bottom: 6px; }
.as-originals-card h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.3px; color: #fff; }
.as-originals-card p { margin: 0; font-size: 12px; line-height: 1.45; opacity: 0.65; }

/* === Sidebar widgets === */
.as-sidebar { display: flex; flex-direction: column; gap: 24px; }
.as-sw { background: var(--as-bg); }
.as-sw-head { padding: 10px 14px; background: var(--as-ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.as-sw-head.hot { background: var(--as-hot); }
.as-sw-head a { color: #fff; font-size: 10px; font-weight: 700; opacity: 0.9; }
.as-sw-head-sub { font-size: 9px; opacity: 0.6; font-weight: 600; }
.as-sw-body { border: 1px solid var(--as-line); border-top: none; }
.as-sw-mostread a { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px; border-bottom: 1px solid var(--as-line); }
.as-sw-mostread a:last-child { border-bottom: none; }
.as-sw-mostread .as-num { font-size: 28px; font-weight: 800; color: var(--as-accent); letter-spacing: -1px; line-height: 0.9; }
.as-sw-mostread h4 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; }
.as-sw-mostread .as-kicker { margin-bottom: 4px; }
.as-sw-videos { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.as-sw-videos a { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.as-sw-videos .as-thumb { position: relative; }
.as-sw-videos img { aspect-ratio: 3/2; border-radius: 3px; object-fit: cover; }
.as-sw-videos .as-dur { position: absolute; bottom: 4px; right: 4px; padding: 2px 5px; background: rgba(0,0,0,0.75); color: #fff; font-size: 9px; font-weight: 700; }
.as-sw-videos h4 { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.3; }
.as-sw-videos .as-views { font-size: 10px; color: var(--as-muted); margin-top: 4px; }
.as-sw-newsletter { background: var(--as-accent); color: var(--as-accent-ink); padding: 22px; }
.as-sw-newsletter .as-kicker { color: var(--as-mark); }
.as-sw-newsletter h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.as-sw-newsletter p { margin: 0 0 14px; font-size: 13px; opacity: 0.85; line-height: 1.5; }
.as-sw-tags { background: var(--as-surface); padding: 18px; }
.as-sw-tags .as-kicker { margin-bottom: 12px; }
.as-sw-tags-list { display: flex; flex-wrap: wrap; gap: 6px; }
.as-sw-tags-list a { padding: 4px 10px; background: var(--as-bg); border: 1px solid var(--as-line); font-size: 11px; font-weight: 600; color: var(--as-ink); }

/* === Newsletter form (shared) === */
.as-newsletter-form { display: flex; gap: 8px; }
.as-newsletter-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--as-line); background: var(--as-bg); color: var(--as-ink); font-size: 14px; border-radius: var(--as-radius); outline: none; }
.as-newsletter-form button { padding: 12px 18px; background: var(--as-ink); color: #fff; border: none; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; cursor: pointer; border-radius: var(--as-radius); }
.as-sw-newsletter .as-newsletter-form button { background: var(--as-mark); color: var(--as-ink); }

/* === Ad slot === */
.as-ad { width: 100%; background: repeating-linear-gradient(45deg, var(--as-tint), var(--as-tint) 8px, var(--as-line) 8px, var(--as-line) 9px); border: 1px dashed var(--as-line); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--as-muted); font-size: 11px; letter-spacing: 2px; font-weight: 600; }
.as-ad img { object-fit: contain; }
.as-ad a { display: block; width: 100%; height: 100%; }
.as-ad-300x250 { height: 250px; }
.as-ad-300x600 { height: 600px; }
.as-ad-728x90 { height: 90px; max-width: 728px; margin: 16px auto; }
.as-ad-leaderboard { height: 120px; max-width: 970px; margin: 24px auto; }

/* === Pitch Your Story CTA (replaces empty ad slots until AdSense is live) === */
.as-pitch-card { display: block; text-decoration: none; color: inherit; overflow: hidden; position: relative; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease; cursor: pointer; }
.as-pitch-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -16px rgba(15, 81, 50, 0.35); opacity: 1; }
.as-pitch-card:hover .as-pitch-arrow-btn svg { transform: translateX(4px); }
.as-pitch-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; opacity: 0.8; margin-bottom: 6px; }
.as-pitch-badge { display: inline-block; padding: 5px 12px; background: var(--as-mark); color: var(--as-ink); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
.as-pitch-h { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #fff; }
.as-pitch-h-md { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #fff; margin-bottom: 14px; }
.as-pitch-h-lg { font-size: 32px; font-weight: 800; letter-spacing: -0.8px; line-height: 1.05; color: #fff; margin-bottom: 22px; }
.as-pitch-arrow-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--as-mark); color: var(--as-ink); font-weight: 800; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; }
.as-pitch-arrow-btn.small { padding: 10px 16px; font-size: 12px; }
.as-pitch-arrow-btn svg { transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.as-pitch-fineprint { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 14px; line-height: 1.5; }
.as-pitch-fineprint-2 { font-size: 12px; color: rgba(255,255,255,0.7); margin-bottom: 18px; line-height: 1.5; }
.as-pitch-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.as-pitch-stat-grid > div { padding: 12px 14px; background: rgba(255,255,255,0.07); }
.as-pitch-stat-v { font-size: 22px; font-weight: 800; color: var(--as-mark); letter-spacing: -0.6px; line-height: 1; }
.as-pitch-stat-l { font-size: 9px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.8; margin-top: 6px; }

/* Square 300×250 */
.as-pitch-square { background: linear-gradient(135deg, var(--as-accent) 0%, var(--as-ink) 100%); height: 250px; }
.as-pitch-square-inner { padding: 22px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden; }
.as-pitch-square-inner::after { content: '★'; position: absolute; top: -20px; right: -10px; font-size: 140px; line-height: 1; color: rgba(255,255,255,0.06); pointer-events: none; }

/* Tall 300×600 */
.as-pitch-tall { background: var(--as-accent); min-height: 600px; }
.as-pitch-tall-bg { position: absolute; inset: 0; background: linear-gradient(180deg, var(--as-accent) 0%, var(--as-ink) 100%); pointer-events: none; }
.as-pitch-tall-bg::before { content: ''; position: absolute; top: -60px; right: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,0.06); }
.as-pitch-tall-bg::after { content: '★'; position: absolute; bottom: 20px; left: 20px; font-size: 110px; line-height: 1; color: rgba(255,255,255,0.05); }
.as-pitch-tall-inner { padding: 32px 28px; color: #fff; position: relative; display: flex; flex-direction: column; height: 100%; }
.as-pitch-tall .as-pitch-arrow-btn { align-self: flex-start; }

/* Leaderboard 970×90 */
.as-pitch-leader { background: linear-gradient(90deg, var(--as-ink) 0%, var(--as-accent) 100%); max-width: 970px; margin: 24px auto; }
.as-pitch-leader-inner { padding: 22px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; color: #fff; position: relative; overflow: hidden; }
.as-pitch-leader-inner::after { content: '★'; position: absolute; top: -30px; right: 200px; font-size: 130px; line-height: 1; color: rgba(255,255,255,0.06); pointer-events: none; }

/* === Animations === */
@keyframes asFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes asFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes asShimmer { 0% { background-position: -800px 0; } 100% { background-position: 800px 0; } }
.as-reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.as-reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .as-reveal { opacity: 1 !important; transform: none !important; }
  .as-pitch-card:hover { transform: none !important; }
  .as-live-dot { animation: none !important; }
  * { transition: none !important; animation: none !important; }
}

/* Subtle hover lifts and image zooms everywhere */
.as-hero-featured img,
.as-hcard img,
.as-story-card img,
.as-sw-mostread img,
.as-originals-card img,
.as-related .as-story-card img { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.as-hero-featured:hover img,
.as-hcard:hover img,
.as-story-card:hover img,
.as-originals-card:hover img { transform: scale(1.04); }
.as-hcard h3 a, .as-headline-item h4 a, .as-topnum-item h4 a, .as-story-card h3 a, .as-hero-featured h2 a, .as-sw-mostread h4 { transition: color 0.2s; }
.as-hcard:hover h3 a, .as-headline-item:hover h4 a, .as-topnum-item:hover h4 a, .as-story-card:hover h3 a, .as-sw-mostread a:hover h4 { color: var(--as-accent); }
.as-cat-band-link svg, .as-pitch-btn svg, .as-submit-btn svg { transition: transform 0.3s; }
.as-cat-band-link:hover svg, .as-pitch-btn:hover svg, .as-submit-btn:hover svg { transform: translateX(4px); }
.as-pitch-btn, .as-subscribe-btn, .as-submit-btn, .as-newsletter-form button { transition: transform 0.15s ease, opacity 0.15s ease; }
.as-pitch-btn:hover, .as-subscribe-btn:hover, .as-submit-btn:hover, .as-newsletter-form button:hover { transform: translateY(-1px); opacity: 1; }
.as-fund-card { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s; }
.as-fund-card:hover { transform: translateY(-2px); border-color: var(--as-accent); }
.as-sw-tags-list a { transition: background 0.2s, color 0.2s, border-color 0.2s; }
.as-sw-tags-list a:hover { background: var(--as-accent); color: var(--as-accent-ink); border-color: var(--as-accent); }
.as-press-logos span { transition: opacity 0.2s, color 0.2s; }
.as-press-logos span:hover { opacity: 1; color: var(--as-ink); }
.as-share-btn { transition: background 0.2s, color 0.2s, border-color 0.2s; }
.as-share-btn:hover { background: var(--as-accent); color: var(--as-accent-ink); border-color: var(--as-accent); }
.as-pagination .page-numbers { transition: background 0.2s, color 0.2s; }
.as-pagination .page-numbers:hover { background: var(--as-tint); color: var(--as-accent); }
.as-footer-col a { transition: opacity 0.2s, color 0.2s; }
.as-footer-col a:hover { opacity: 1; color: var(--as-mark); }
.as-catnav a { transition: color 0.2s, border-color 0.2s; }
.as-utilbar-right a { transition: opacity 0.2s; }
.as-brand-search input { transition: border-color 0.2s, background 0.2s; }
.as-brand-search input:focus { border-color: var(--as-accent); background: var(--as-bg); }

/* === Submit CTA band === */
.as-submit-cta { background: var(--as-accent); color: var(--as-accent-ink); margin-top: 56px; position: relative; overflow: hidden; }
.as-submit-cta::before { content: 'AS'; position: absolute; top: -60px; right: -60px; font-size: 360px; line-height: 0.7; font-weight: 800; color: rgba(255,255,255,0.05); letter-spacing: -10px; user-select: none; }
.as-submit-inner { max-width: var(--as-container); margin: 0 auto; padding: 56px 32px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; position: relative; }
.as-submit-cta .as-kicker { color: var(--as-mark); margin-bottom: 14px; }
.as-submit-cta h2 { margin: 0 0 18px; font-size: 42px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.05; }
.as-submit-cta p { margin: 0 0 22px; font-size: 16px; line-height: 1.55; opacity: 0.85; max-width: 540px; }
.as-submit-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; background: var(--as-mark); color: var(--as-ink); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.as-submit-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.as-submit-stat { padding: 22px; border: 1px solid rgba(255,255,255,0.15); }
.as-submit-stat-v { font-size: 32px; font-weight: 800; color: var(--as-mark); letter-spacing: -1px; line-height: 1; }
.as-submit-stat-l { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.85; margin-top: 8px; }

/* === Bottom newsletter + testimonials === */
.as-bottom { max-width: var(--as-container); margin: 0 auto; padding: 64px 32px; }
.as-bottom-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.as-bottom .as-kicker { margin-bottom: 14px; }
.as-bottom h2 { margin: 0 0 14px; font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.as-bottom p { margin: 0 0 22px; font-size: 16px; line-height: 1.55; color: var(--as-muted); }
.as-bottom-meta { margin-top: 12px; font-size: 12px; color: var(--as-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.as-testimonials { background: var(--as-surface); padding: 28px; }
.as-testimonials figure { margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--as-line); margin-bottom: 16px; }
.as-testimonials figure:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.as-testimonials blockquote { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.as-testimonials figcaption { display: flex; gap: 10px; align-items: center; font-size: 11px; }
.as-testimonials .as-mono { width: 26px; height: 26px; font-size: 10px; }
.as-testimonials strong { display: block; font-weight: 700; }
.as-testimonials .as-role { color: var(--as-muted); }

/* === Press logos strip === */
.as-press { border-top: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); }
.as-press-inner { max-width: var(--as-container); margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.as-press-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--as-muted); text-transform: uppercase; }
.as-press-logos { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.as-press-logos span { font-size: 12px; font-weight: 800; color: var(--as-muted); letter-spacing: 2px; opacity: 0.7; }

/* === Footer === */
.as-footer { background: var(--as-ink); color: var(--as-accent-ink); margin-top: auto; }
.as-footer-inner { max-width: var(--as-container); margin: 0 auto; padding: 64px 32px 32px; }
.as-footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.as-footer .as-logo-name { color: #fff; }
.as-footer .as-logo-name .as-dot { color: var(--as-mark); }
.as-footer .as-logo-tag { color: rgba(255,255,255,0.5); }
.as-footer .as-logo-mark { background: var(--as-mark); color: var(--as-ink); }
.as-footer-tag { margin-top: 18px; font-size: 14px; line-height: 1.6; opacity: 0.7; max-width: 320px; }
.as-footer-apps { margin-top: 22px; padding: 18px; background: rgba(255,255,255,0.06); border-left: 3px solid var(--as-mark); }
.as-footer-apps-label { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--as-mark); text-transform: uppercase; margin-bottom: 6px; }
.as-footer-apps-btns { display: flex; gap: 8px; }
.as-footer-apps-btns a { padding: 8px 14px; background: rgba(255,255,255,0.08); color: #fff; font-size: 12px; font-weight: 600; border-radius: 3px; }
.as-footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--as-mark); margin: 0 0 16px; text-transform: uppercase; }
.as-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.as-footer-col a { color: var(--as-accent-ink); font-size: 14px; opacity: 0.85; }
.as-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: 0.6; flex-wrap: wrap; gap: 12px; }
.as-footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* === Single post / article === */
.as-article { max-width: var(--as-container); margin: 0 auto; padding: 0 32px; }
.as-breadcrumb { padding: 14px 0; font-size: 12px; color: var(--as-muted); border-bottom: 1px solid var(--as-line); }
.as-breadcrumb a { color: inherit; }
.as-breadcrumb .current { color: var(--as-ink); }
.as-article-head { max-width: 860px; margin: 56px auto 32px; text-align: left; }
.as-article-head .as-hero-tags { justify-content: center; margin-bottom: 22px; }
.as-article-head h1 { margin: 0 0 22px; font-size: 56px; font-weight: 800; line-height: 1.02; letter-spacing: -1.6px; text-align: center; }
.as-article-head .as-dek { margin: 0; font-size: 21px; line-height: 1.55; color: var(--as-muted); text-align: center; max-width: 720px; margin-inline: auto; }
.as-article-byline { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--as-line); }
.as-article-byline > div { display: flex; gap: 12px; align-items: center; }
.as-article-byline .as-mono { width: 44px; height: 44px; font-size: 14px; }
.as-article-author-name { font-weight: 700; font-size: 14px; }
.as-article-author-role { font-size: 12px; color: var(--as-muted); }
.as-article-meta { font-size: 13px; color: var(--as-muted); }
.as-article-hero-img { max-width: var(--as-container); margin: 0 auto; padding: 0 32px; }
.as-article-hero-img img { aspect-ratio: 16/9; object-fit: cover; }
.as-article-caption { font-size: 12px; color: var(--as-muted); margin-top: 10px; font-style: italic; }
.as-article-body-wrap { max-width: var(--as-container); margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 320px; gap: 80px; }
.as-article-body { max-width: 720px; justify-self: end; width: 100%; }
.as-article-body p { font-size: 17px; line-height: 1.75; margin: 0 0 1.2em; }
.as-article-body p:first-child { font-size: 21px; line-height: 1.6; }
.as-article-body p:first-child::first-letter { float: left; font-size: 84px; line-height: 0.85; font-weight: 800; margin-right: 12px; margin-top: 8px; color: var(--as-accent); }
.as-article-body h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; margin-top: 1.5em; margin-bottom: 0.5em; }
.as-article-body h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-top: 1.4em; margin-bottom: 0.5em; }
.as-article-body blockquote { margin: 1.5em -20px; padding: 24px 32px; border-left: 4px solid var(--as-accent); background: var(--as-tint); font-size: 24px; line-height: 1.4; font-weight: 600; letter-spacing: -0.4px; }
.as-article-body img { margin: 1.5em 0 0.5em; }
.as-article-body ul, .as-article-body ol { padding-left: 24px; font-size: 17px; line-height: 1.75; }
.as-article-body li { margin-bottom: 0.4em; }
.as-article-body a { color: var(--as-accent); text-decoration: underline; }
.as-article-tags { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--as-line); display: flex; gap: 8px; flex-wrap: wrap; }
.as-article-tags a { padding: 6px 14px; border: 1px solid var(--as-line); color: var(--as-ink); font-size: 13px; font-weight: 500; }
.as-article-share { margin-top: 28px; display: flex; gap: 12px; align-items: center; color: var(--as-muted); font-size: 13px; }
.as-article-share-label { letter-spacing: 1px; text-transform: uppercase; font-weight: 600; font-size: 11px; }
.as-share-btn { width: 32px; height: 32px; border: 1px solid var(--as-line); background: transparent; color: var(--as-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.as-related { max-width: var(--as-container); margin: 0 auto; padding: 0 32px 80px; }
.as-related h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; padding-bottom: 12px; border-bottom: 2px solid var(--as-ink); margin-bottom: 24px; }
.as-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Story card (grid version) */
.as-story-card { display: flex; flex-direction: column; }
.as-story-card img { aspect-ratio: 3/2; object-fit: cover; margin-bottom: 14px; border-radius: var(--as-radius); }
.as-story-card .as-kicker { margin-bottom: 10px; }
.as-story-card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 800; line-height: 1.15; letter-spacing: -0.4px; }
.as-story-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; color: var(--as-muted); }

/* Archive / category */
.as-archive-head { background: var(--as-surface); border-bottom: 1px solid var(--as-line); }
.as-archive-head-inner { max-width: var(--as-container); margin: 0 auto; padding: 56px 32px; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.as-archive-head h1 { margin: 0 0 14px; font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.as-archive-head .as-desc { margin: 0; font-size: 18px; line-height: 1.5; color: var(--as-muted); max-width: 720px; }
.as-archive-head .as-count { text-align: right; }
.as-archive-head .as-count-v { font-size: 44px; font-weight: 800; color: var(--as-accent); letter-spacing: -1.4px; line-height: 1; }
.as-archive-head .as-count-l { font-size: 12px; color: var(--as-muted); letter-spacing: 1.4px; font-weight: 600; text-transform: uppercase; }

/* Generic page */
.as-page { max-width: 820px; margin: 0 auto; padding: 64px 32px; }
.as-page h1 { font-size: 56px; font-weight: 800; letter-spacing: -1.5px; margin: 0 0 24px; }
.as-page-content { font-size: 17px; line-height: 1.7; }
.as-page-content h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-top: 1.5em; }
.as-page-content blockquote { margin: 1.5em 0; padding: 20px 28px; border-left: 4px solid var(--as-accent); background: var(--as-tint); font-size: 22px; font-weight: 600; }

/* Submit story form */
.as-submit-page { max-width: var(--as-container); margin: 0 auto; padding: 0 32px; }
.as-submit-hero { background: var(--as-ink); color: var(--as-accent-ink); padding: 72px 32px; text-align: center; margin-top: 0; }
.as-submit-hero .as-kicker { color: var(--as-mark); }
.as-submit-hero h1 { margin: 14px 0 18px; font-size: 56px; font-weight: 800; letter-spacing: -1.4px; line-height: 1; }
.as-submit-hero p { margin: 0 auto; font-size: 18px; line-height: 1.5; opacity: 0.85; max-width: 600px; }
.as-submit-form { max-width: 820px; margin: 0 auto; padding: 64px 32px; }
.as-submit-form h2 { margin: 0 0 28px; font-size: 28px; font-weight: 800; letter-spacing: -0.6px; }
.as-field { margin-bottom: 22px; }
.as-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--as-muted); margin-bottom: 8px; }
.as-field input, .as-field textarea, .as-field select { width: 100%; padding: 14px 16px; border: 1px solid var(--as-line); background: var(--as-bg); color: var(--as-ink); font-size: 15px; outline: none; border-radius: var(--as-radius); }
.as-field textarea { resize: vertical; line-height: 1.5; }
.as-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.as-submit-form button { margin-top: 12px; padding: 16px 36px; background: var(--as-accent); color: var(--as-accent-ink); border: none; font-weight: 700; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; border-radius: var(--as-radius); }
.as-submit-success { padding: 20px 24px; background: var(--as-tint); border-left: 4px solid var(--as-accent); color: var(--as-accent); font-weight: 600; margin-bottom: 24px; }
.as-submit-error { padding: 20px 24px; background: #fdebe8; border-left: 4px solid var(--as-hot); color: var(--as-hot); font-weight: 600; margin-bottom: 24px; }

/* WP-specific layout helpers */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.screen-reader-text { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Pagination */
.as-pagination { display: flex; justify-content: center; gap: 4px; margin: 48px 0; }
.as-pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; background: transparent; color: var(--as-ink); border: 1px solid var(--as-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.as-pagination .page-numbers.current { background: var(--as-accent); color: var(--as-accent-ink); border-color: var(--as-accent); }

/* Comments */
.as-comments { max-width: 720px; margin: 0 auto; padding: 32px; }
.as-comments h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 24px; }

/* Mobile responsive */
@media (max-width: 1024px) {
  .as-hero-grid { grid-template-columns: 1fr; }
  .as-hero-featured { min-height: 420px; }
  .as-main-grid { grid-template-columns: 1fr; }
  .as-footer-cols { grid-template-columns: 1fr 1fr; }
  .as-submit-inner { grid-template-columns: 1fr; }
  .as-related-grid { grid-template-columns: repeat(2, 1fr); }
  .as-article-body-wrap { grid-template-columns: 1fr; gap: 48px; }
  .as-article-body { max-width: none; justify-self: stretch; }
  .as-bottom-grid { grid-template-columns: 1fr; }
  .as-pitch-leader-inner { grid-template-columns: 1fr; gap: 16px; }
  .as-pitch-leader-inner::after { display: none; }
}
@media (max-width: 720px) {
  .as-utilbar-inner { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 16px; }
  .as-utilbar-right { justify-content: center; }
  .as-brand-inner { flex-direction: column; padding: 16px; gap: 14px; }
  .as-catnav-inner { padding: 0 16px; }
  .as-hero, .as-main, .as-submit-inner, .as-bottom { padding-left: 16px; padding-right: 16px; }
  .as-hero-featured h2 { font-size: 28px; }
  .as-article-head h1 { font-size: 32px; }
  .as-article-head .as-dek { font-size: 17px; }
  .as-article-body p:first-child::first-letter { font-size: 56px; }
  .as-article-byline { flex-wrap: wrap; gap: 14px; }
  .as-archive-head-inner { flex-direction: column; padding: 32px 16px; }
  .as-archive-head h1 { font-size: 36px; }
  .as-footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .as-submit-cta h2 { font-size: 28px; }
  .as-hcard.lead { grid-template-columns: 1fr; }
  .as-hcard.lead img { aspect-ratio: 16/9; }
  .as-related-grid { grid-template-columns: 1fr; }
  .as-hcard-grid { grid-template-columns: 1fr; }
  .as-cat-band-link { display: none; }
  .as-cat-band { flex-wrap: wrap; }
  .as-originals-grid { grid-template-columns: 1fr; }
  .as-originals-card { grid-template-columns: 100px 1fr; }
  .as-funding-row { padding-bottom: 12px; }
  .as-field-row { grid-template-columns: 1fr; }
  .as-pitch-h-lg { font-size: 26px; }
  .as-pitch-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .as-submit-hero h1 { font-size: 36px; }
  .as-submit-page > div { grid-template-columns: 1fr !important; }
}

/* WP Admin bar offset */
.admin-bar .as-utilbar { margin-top: 0; }
