/*
Theme Name: Forerunner Business Arts
Theme URI: https://jamesgraybeal.com/
Author: James Graybeal (design by Eric Hullin)
Author URI: https://jamesgraybeal.com/
Description: A classic PHP WordPress theme for Forerunner Business Arts — done-for-you websites, email lists, and online presence for first-time authors, founders, and entrepreneurs. Editorial deep-indigo + warm-amber design with an interactive readiness quiz, embedded Koalendar booking, and a Resources blog.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: forerunner
Tags: business, blog, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar, full-width-template
*/

/* ============================================================
   Forerunner Business Arts — style.css
   Brand: deep indigo + warm amber on warm paper.
   Editorial, calm, sophisticated — built for authors & founders.
   ============================================================ */

:root{
  --ink:        #1A2A45;   /* deep indigo (primary)        */
  --ink-deep:   #111d33;   /* darker panels                */
  --ink-soft:   #2b3a57;   /* softened indigo              */
  --amber:      #D98A4E;   /* warm amber accent            */
  --amber-soft: #E7A66B;   /* lighter amber (hover)        */
  --amber-deep: #B86E36;   /* readable amber on light      */
  --paper:      #FBF8F3;   /* warm off-white background    */
  --paper-2:    #F4EDE2;   /* soft sand panel              */
  --line:       #E7DDCE;   /* hairline borders             */
  --text:       #25303F;   /* body text                    */
  --muted:      #6E7681;   /* secondary text               */
  --white:      #FFFFFF;
  --shadow:     0 18px 50px -22px rgba(20,30,55,.30);
  --shadow-sm:  0 8px 24px -14px rgba(20,30,55,.28);
  --radius:     14px;
  --radius-sm:  9px;
  --maxw:       1140px;
  --pad:        clamp(56px, 8vw, 104px);
  --serif:      'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:       'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--sans); color:var(--text);
  background:var(--paper); line-height:1.65; font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--amber-deep); text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
h1,h2,h3,h4{ font-family:var(--serif); color:var(--ink); line-height:1.12; font-weight:600; margin:0 0 .5em; letter-spacing:-.01em; }
h1{ font-size:clamp(2.3rem, 5vw, 3.6rem); }
h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1.1em; }
.lead{ font-size:1.18rem; color:var(--ink-soft); }
.eyebrow{
  font-family:var(--sans); font-weight:600; font-size:.78rem; letter-spacing:.18em;
  text-transform:uppercase; color:var(--amber-deep); margin:0 0 1rem;
  display:inline-flex; align-items:center; gap:.6rem;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--amber); display:inline-block; }
.center{ text-align:center; }
.center .eyebrow{ justify-content:center; }

.skip-link{ position:absolute; left:-999px; background:var(--ink); color:#fff; padding:10px 16px; z-index:200; }
.skip-link:focus{ left:12px; top:12px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family:var(--sans); font-weight:600; font-size:.98rem; cursor:pointer;
  padding:.85rem 1.5rem; border-radius:var(--radius-sm); border:1.6px solid transparent;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-decoration:none; line-height:1;
}
.btn:hover{ text-decoration:none; transform:translateY(-2px); }
.btn-gold{ background:var(--amber); color:#241a10; box-shadow:var(--shadow-sm); }
.btn-gold:hover{ background:var(--amber-soft); }
.btn-ink{ background:var(--ink); color:#fff; }
.btn-ink:hover{ background:var(--ink-soft); }
.btn-ghost{ background:transparent; border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.btn-ghost-light{ background:transparent; border-color:rgba(255,255,255,.45); color:#fff; }
.btn-ghost-light:hover{ background:#fff; color:var(--ink); }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100; background:rgba(251,248,243,.82);
  backdrop-filter:saturate(140%) blur(12px); border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow:0 6px 24px -16px rgba(20,30,55,.45); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:74px; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.brand{ display:flex; align-items:center; gap:.7rem; color:var(--ink); }
.brand:hover{ text-decoration:none; }
.brand-mark{
  width:40px; height:40px; border-radius:10px; display:grid; place-items:center;
  background:var(--ink); color:var(--amber); font-family:var(--serif); font-weight:700; font-size:1.35rem;
}
.brand-logo{ max-height:48px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-family:var(--serif); font-weight:600; font-size:1.15rem; color:var(--ink); }
.brand-sub{ font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); }
.primary-nav{ display:flex; align-items:center; gap:1.6rem; }
.primary-nav ul{ display:flex; align-items:center; gap:1.6rem; list-style:none; margin:0; padding:0; }
.nav-link, .primary-nav a{ font-weight:500; color:var(--ink); font-size:.97rem; position:relative; padding:.3rem 0; }
.nav-link:hover, .primary-nav a:hover{ text-decoration:none; color:var(--amber-deep); }
.nav-link::after, .primary-nav li > a::after{ content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background:var(--amber); transition:width .25s ease; }
.nav-link:hover::after, .nav-link.is-active::after,
.primary-nav li > a:hover::after, .primary-nav .current-menu-item > a::after{ width:100%; }
.nav-link.is-active, .primary-nav .current-menu-item > a{ color:var(--amber-deep); }
.primary-nav .nav-cta::after{ display:none; }
.nav-cta{ margin-left:.4rem; color:#241a10 !important; }
.nav-cta:hover{ color:#241a10 !important; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:24px; height:2px; background:var(--ink); transition:.3s; }

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; background:
    radial-gradient(1100px 520px at 78% -10%, rgba(217,138,78,.16), transparent 60%),
    radial-gradient(900px 500px at 8% 110%, rgba(26,42,69,.08), transparent 55%),
    var(--paper); }
.hero-inner{ display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; padding:clamp(56px,7vw,96px) 0; }
.hero h1{ margin-bottom:.3em; }
.hero h1 .accent{ color:var(--amber-deep); font-style:italic; }
.hero .lead{ max-width:38ch; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:1.6rem; }
.hero-trust{ margin-top:1.7rem; font-size:.9rem; color:var(--muted); display:flex; align-items:center; gap:.5rem; }
.hero-trust b{ color:var(--ink); }
.hero-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:30px;
}
.hero-card h3{ font-size:1.05rem; }
.hero-card .price-pill{ display:inline-block; background:var(--paper-2); color:var(--amber-deep); font-weight:700; font-size:.82rem; padding:.3rem .7rem; border-radius:999px; margin-bottom:1rem; }
.checklist{ list-style:none; padding:0; margin:0; }
.checklist li{ position:relative; padding:.45rem 0 .45rem 1.9rem; border-bottom:1px dashed var(--line); font-size:.96rem; }
.checklist li:last-child{ border-bottom:0; }
.checklist li::before{ content:"✓"; position:absolute; left:0; top:.45rem; width:1.25rem; height:1.25rem; background:var(--ink); color:var(--amber); border-radius:50%; display:grid; place-items:center; font-size:.72rem; font-weight:700; }

/* ---------- Hero background video (deferred-inject, house standard) ----------
   Still image loads instantly; YouTube iframe is injected by JS after the page
   'load' event (desktop only) so it never hurts LCP/CLS. See main.js. */
.hero--video{ position:relative; overflow:hidden; background:var(--ink); }
.hero-video-bg{ position:absolute; inset:0; overflow:hidden; z-index:0; background:var(--ink); }
/* Brand-tinted dark overlay keeps hero text readable over any footage */
.hero-video-bg::after{ content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(17,29,51,.78), rgba(17,29,51,.62) 55%, rgba(17,29,51,.86)),
    radial-gradient(900px 520px at 80% -8%, rgba(217,138,78,.18), transparent 60%); }
.hero-video-fallback{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:1; transition:opacity 1.2s ease; }
.hero-video-bg iframe{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:177.78vh; height:100vh; min-width:100%; min-height:56.25vw; border:0; pointer-events:none; z-index:1; }
/* Light text when the hero sits over video */
.hero--video .hero-inner{ position:relative; z-index:3; }
.hero--video .eyebrow{ color:var(--amber-soft); }
.hero--video h1{ color:#fff; }
.hero--video h1 .accent{ color:var(--amber-soft); }
.hero--video .lead{ color:#e7ecf5; }
.hero--video .hero-trust{ color:#cdd6e6; }
.hero--video .hero-trust b{ color:#fff; }

/* ---------- Page hero banner with background image ---------- */
.hero--image{ position:relative; overflow:hidden; background:var(--ink); }
.hero--image .hero-bg{ position:absolute; inset:0; z-index:0; }
.hero--image .hero-bg img{ width:100%; height:100%; object-fit:cover; object-position:center; }
.hero--image .hero-bg::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(17,29,51,.80), rgba(17,29,51,.66) 55%, rgba(17,29,51,.88)); }
.hero--image .wrap{ position:relative; z-index:2; }
.hero--image .eyebrow{ color:var(--amber-soft); }
.hero--image h1{ color:#fff; }
.hero--image h1 .accent{ color:var(--amber-soft); }
.hero--image .lead{ color:#e7ecf5; }

/* ---------- Sections ---------- */
.section{ padding:var(--pad) 0; }
.section-tight{ padding:calc(var(--pad) * .6) 0; }
.section.alt{ background:var(--paper-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section.ink{ background:
    radial-gradient(900px 480px at 85% 0%, rgba(217,138,78,.18), transparent 55%), var(--ink); color:#dfe5ef; }
.section.ink h2, .section.ink h3{ color:#fff; }
.section.ink .lead{ color:#c4cde0; }
.section-head{ max-width:62ch; margin-bottom:2.6rem; }
.section-head.center{ margin-left:auto; margin-right:auto; }

/* ---------- Pain points ---------- */
.pain-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:1.4rem; }
.pain{ background:var(--white); border:1px solid var(--line); border-left:3px solid var(--amber); border-radius:var(--radius-sm); padding:18px 20px; font-style:italic; color:var(--ink-soft); }

/* ---------- Feature cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card .ico{ width:46px; height:46px; border-radius:11px; background:var(--paper-2); color:var(--amber-deep); display:grid; place-items:center; font-family:var(--serif); font-weight:700; font-size:1.3rem; margin-bottom:1rem; }
.card h3{ margin-bottom:.35em; }
.card p{ margin:0; color:var(--muted); font-size:.97rem; }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; counter-reset:step; }
.step{ position:relative; padding-top:18px; }
.step::before{ counter-increment:step; content:counter(step); font-family:var(--serif); font-weight:700; font-size:2.4rem; color:var(--amber); opacity:.55; line-height:1; }
.step h3{ margin:.3em 0 .3em; }
.step p{ color:var(--muted); margin:0; }

/* ---------- Pricing ---------- */
.pricing{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; }
.plan{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:32px 28px; display:flex; flex-direction:column; position:relative; }
.plan.featured{ border-color:var(--amber); box-shadow:var(--shadow); }
.plan .ribbon{ position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--amber); color:#241a10; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:.3rem .8rem; border-radius:999px; }
.plan h3{ font-size:1.35rem; margin-bottom:.1em; }
.plan .plan-sub{ color:var(--muted); font-size:.92rem; margin-bottom:1rem; }
.plan .amount{ font-family:var(--serif); font-size:2.3rem; color:var(--ink); font-weight:700; }
.plan .amount small{ font-size:.95rem; color:var(--muted); font-weight:500; font-family:var(--sans); }
.plan ul{ list-style:none; padding:0; margin:1.2rem 0 1.6rem; }
.plan ul li{ padding:.4rem 0 .4rem 1.6rem; position:relative; font-size:.95rem; border-bottom:1px dashed var(--line); }
.plan ul li:last-child{ border-bottom:0; }
.plan ul li::before{ content:"✓"; position:absolute; left:0; color:var(--amber-deep); font-weight:700; }
.plan .btn{ margin-top:auto; width:100%; }

/* ---------- Quiz (interactive sophistication piece) ---------- */
.quiz{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:clamp(26px,4vw,44px); max-width:720px; margin:0 auto; }
.quiz-progress{ height:6px; background:var(--paper-2); border-radius:999px; overflow:hidden; margin-bottom:1.6rem; }
.quiz-progress span{ display:block; height:100%; width:0; background:var(--amber); transition:width .4s ease; }
.quiz-q{ display:none; }
.quiz-q.active{ display:block; animation:fade .4s ease; }
.quiz-q h3{ font-size:1.4rem; }
.quiz-options{ display:grid; gap:12px; margin:1.3rem 0; }
.quiz-opt{ text-align:left; background:var(--paper); border:1.6px solid var(--line); border-radius:var(--radius-sm); padding:14px 18px; font-size:1rem; font-weight:500; color:var(--ink); cursor:pointer; transition:.2s; }
.quiz-opt:hover{ border-color:var(--amber); background:#fff; }
.quiz-result{ display:none; text-align:center; }
.quiz-result.active{ display:block; animation:fade .4s ease; }
.quiz-score{ font-family:var(--serif); font-size:3.4rem; color:var(--amber-deep); font-weight:700; line-height:1; }
.quiz-steplist{ text-align:left; max-width:460px; margin:1.4rem auto; }
@keyframes fade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

/* ---------- Testimonial / proof ---------- */
.quote{ max-width:760px; margin:0 auto; text-align:center; }
.quote blockquote{ font-family:var(--serif); font-size:clamp(1.3rem,2.6vw,1.9rem); line-height:1.4; color:var(--ink); margin:0 0 1.2rem; font-style:italic; }
.section.ink .quote blockquote{ color:#fff; }
.quote cite{ font-style:normal; color:var(--muted); font-weight:600; }
.section.ink .quote cite{ color:var(--amber-soft); }
.proof-note{ font-size:.85rem; color:var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq{ max-width:780px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{ width:100%; text-align:left; background:none; border:0; padding:1.15rem 2.2rem 1.15rem 0; font-family:var(--serif); font-size:1.12rem; font-weight:600; color:var(--ink); cursor:pointer; position:relative; }
.faq-q::after{ content:"+"; position:absolute; right:0; top:50%; transform:translateY(-50%); font-size:1.5rem; color:var(--amber-deep); transition:transform .25s ease; }
.faq-item.open .faq-q::after{ content:"−"; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p{ padding:0 0 1.2rem; margin:0; color:var(--muted); }

/* ---------- CTA band ---------- */
.cta-band{ text-align:center; }
.cta-band h2{ color:#fff; max-width:18ch; margin:0 auto .4em; }
.cta-band p{ color:#c4cde0; max-width:46ch; margin:0 auto 1.6rem; }

/* ---------- Contact / booking ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.form-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow-sm); }
.field{ margin-bottom:1.1rem; }
.field label{ display:block; font-weight:600; font-size:.9rem; margin-bottom:.35rem; color:var(--ink); }
.field input, .field textarea, .field select{ width:100%; padding:.8rem .9rem; border:1.5px solid var(--line); border-radius:var(--radius-sm); font-family:var(--sans); font-size:1rem; background:var(--paper); }
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color:var(--amber); background:#fff; }
.contact-list{ list-style:none; padding:0; margin:1.4rem 0 0; }
.contact-list li{ padding:.5rem 0; border-bottom:1px dashed var(--line); }

/* ---------- Koalendar booking embed (theme addition) ---------- */
.booking{ }
.booking-embed{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); overflow:hidden; max-width:920px; margin:0 auto;
}
.booking-embed iframe{ display:block; width:100%; min-height:760px; border:0; }
.booking-fallback{ text-align:center; margin:1.1rem auto 0; }
@media (max-width:600px){ .booking-embed iframe{ min-height:1040px; } }

/* ---------- Article list (resources / blog) ---------- */
.posts{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.post-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .25s ease; }
.post-card:hover{ transform:translateY(-4px); }
.post-card .post-thumb{ display:block; aspect-ratio:16/9; overflow:hidden; }
.post-card .post-thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .post-body{ padding:24px 26px; }
.post-tag{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--amber-deep); font-weight:700; }
.post-card h2, .post-card h3{ margin:.5rem 0 .4rem; font-size:1.25rem; }
.post-card h2 a, .post-card h3 a{ color:var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover{ color:var(--amber-deep); text-decoration:none; }
.post-card p{ color:var(--muted); font-size:.95rem; margin:0; }
.post-meta{ font-size:.82rem; color:var(--muted); margin:.4rem 0 0; }

/* ---------- Single post / page article ---------- */
.article{ max-width:760px; margin:0 auto; }
.article .post-meta{ margin-bottom:1.4rem; }
.article-content{ font-size:1.08rem; }
.article-content h2{ margin-top:1.8rem; }
.article-content h3{ margin-top:1.4rem; }
.article-content img{ border-radius:var(--radius-sm); margin:1.4rem 0; }
.article-content blockquote{ border-left:3px solid var(--amber); margin:1.6rem 0; padding:.4rem 0 .4rem 1.4rem; font-family:var(--serif); font-style:italic; color:var(--ink); font-size:1.2rem; }
.article-content ul, .article-content ol{ padding-left:1.3rem; margin:0 0 1.1em; }
.article-content li{ margin:.35rem 0; }
.article-content a{ text-decoration:underline; }
.article-content code{ background:var(--paper-2); padding:.15rem .4rem; border-radius:6px; font-size:.92em; }
.article-content pre{ background:var(--ink-deep); color:#e7ecf5; padding:1.1rem 1.2rem; border-radius:var(--radius-sm); overflow:auto; }
.entry-footer{ margin-top:2rem; padding-top:1.2rem; border-top:1px solid var(--line); font-size:.9rem; color:var(--muted); }
.entry-footer a{ font-weight:600; }

/* ---------- Post navigation / pagination ---------- */
.post-nav{ display:flex; justify-content:space-between; gap:18px; max-width:760px; margin:2.4rem auto 0; flex-wrap:wrap; }
.post-nav a{ font-weight:600; }
.pagination{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:3rem; }
.pagination .page-numbers{ display:inline-grid; place-items:center; min-width:42px; height:42px; padding:0 .7rem; border:1.5px solid var(--line); border-radius:var(--radius-sm); background:var(--white); color:var(--ink); font-weight:600; }
.pagination .page-numbers.current{ background:var(--ink); color:#fff; border-color:var(--ink); }
.pagination a.page-numbers:hover{ border-color:var(--amber); text-decoration:none; }

/* ---------- Comments ---------- */
.comments-area{ max-width:760px; margin:2.6rem auto 0; }
.comment-list{ list-style:none; padding:0; margin:0; }
.comment-list li{ margin:1.2rem 0; padding:1.2rem 1.4rem; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm); }
.comment-list .children{ list-style:none; margin:0 0 0 1.4rem; padding:0; }
.comment-author{ font-weight:700; color:var(--ink); }
.comment-meta{ font-size:.82rem; color:var(--muted); margin-bottom:.5rem; }
.comment-respond{ margin-top:2rem; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea{
  width:100%; padding:.8rem .9rem; border:1.5px solid var(--line); border-radius:var(--radius-sm);
  font-family:var(--sans); font-size:1rem; background:var(--paper); margin-bottom:1rem;
}

/* ---------- WordPress core helper classes ---------- */
.alignleft{ float:left; margin:0 1.4rem 1rem 0; }
.alignright{ float:right; margin:0 0 1rem 1.4rem; }
.aligncenter{ display:block; margin-left:auto; margin-right:auto; }
.wp-caption{ max-width:100%; }
.wp-caption-text{ font-size:.85rem; color:var(--muted); text-align:center; margin-top:.4rem; }
.screen-reader-text{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.sticky, .gallery-caption, .bypostauthor{}
.admin-bar .site-header{ top:32px; }
@media (max-width:782px){ .admin-bar .site-header{ top:46px; } }

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink-deep); color:#aeb8cb; padding:64px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
.site-footer .brand-name{ color:#fff; font-size:1.3rem; }
.footer-tag{ margin:.7rem 0 .5rem; font-size:.95rem; }
.footer-own{ color:var(--amber-soft); font-size:.9rem; font-weight:600; }
.footer-col h3{ color:#fff; font-size:.95rem; font-family:var(--sans); letter-spacing:.08em; text-transform:uppercase; margin-bottom:.9rem; }
.footer-col ul{ list-style:none; padding:0; margin:0; }
.footer-col li{ margin-bottom:.5rem; }
.footer-col a{ color:#aeb8cb; font-size:.95rem; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; border-top:1px solid rgba(255,255,255,.1); margin-top:48px; padding-top:22px; font-size:.85rem; color:#7e889c; }

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero-inner{ grid-template-columns:1fr; gap:32px; }
  .cards, .steps, .pricing, .posts{ grid-template-columns:1fr; }
  .pain-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
  .nav-toggle{ display:flex; }
  .primary-nav{
    position:fixed; inset:74px 0 auto 0; flex-direction:column; align-items:flex-start;
    gap:0; background:var(--paper); border-bottom:1px solid var(--line);
    padding:8px 24px 22px; transform:translateY(-130%); transition:transform .3s ease;
    box-shadow:var(--shadow); max-height:calc(100vh - 74px); overflow:auto;
  }
  .primary-nav.open{ transform:translateY(0); }
  .primary-nav ul{ flex-direction:column; align-items:flex-start; gap:0; width:100%; }
  .primary-nav li{ width:100%; }
  .nav-link, .primary-nav li > a{ width:100%; padding:.9rem 0; border-bottom:1px solid var(--line); }
  .nav-cta{ margin:1rem 0 0; width:100%; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
}
