/* Shared styles for framework pages (velocitynowllc.com/frameworks/...).
   Rules copied from the batch-one framework page template. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0d2137; --navy-mid: #142d4c; --blue: #3b9fd4; --blue-light: #6bbce0;
  --cream: #f5f2ec; --off-white: #fafaf8; --text-dark: #0d1b2a; --text-mid: #3a4a5a;
  --text-light: #7a8a9a; --gold: #c9a84c;
  --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Syne', sans-serif; --body: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text-dark); background: var(--off-white); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 60px; display: flex; align-items: center; justify-content: space-between; transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease; }
nav.scrolled { background: rgba(13, 33, 55, 0.96); backdrop-filter: blur(12px); box-shadow: 0 2px 24px rgba(0,0,0,0.18); }
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.nav-logo img { height: 48px; width: auto; display: block; transition: opacity 0.2s; }
.nav-logo:hover img { opacity: 0.85; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-light); }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 3px; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.22); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.nav-linkedin svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.nav-linkedin:hover { color: var(--navy); background: var(--blue-light); border-color: var(--blue-light); }
.nav-toggle { display: none; width: 42px; height: 42px; background: none; border: 0; padding: 0; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars { display: block; width: 24px; height: 16px; position: relative; }
.nav-toggle-bars span { position: absolute; left: 0; height: 2px; width: 100%; background: rgba(255,255,255,0.9); border-radius: 2px; transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.2s ease, top 0.32s cubic-bezier(.4,0,.2,1); }
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.nav-mobile { position: fixed; inset: 0; background: rgba(13,33,55,0.985); backdrop-filter: blur(14px); z-index: 99; display: flex; flex-direction: column; justify-content: center; padding: 100px 40px 60px; opacity: 0; visibility: hidden; transition: opacity 0.32s ease, visibility 0.32s ease; overflow-y: auto; }
.nav-mobile.open { opacity: 1; visibility: visible; }
.nav-mobile ul { list-style: none; }
.nav-mobile li { border-bottom: 1px solid rgba(255,255,255,0.09); }
.nav-mobile a { display: block; padding: 19px 2px; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.86); text-decoration: none; transition: color 0.2s, padding-left 0.2s; }
.nav-mobile a:hover, .nav-mobile a:focus { color: var(--blue-light); padding-left: 10px; }
body.nav-open { overflow: hidden; }

/* SHARED PIECES */
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(59,159,212,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(59,159,212,0.04) 1px, transparent 1px); background-size: 80px 80px; pointer-events: none; }
.hero-glow { position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(59,159,212,0.12) 0%, transparent 70%); pointer-events: none; }
.hero-eyebrow { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--blue); }
.btn-primary { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 16px 36px; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.2s; }
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }
.btn-ghost { font-family: var(--sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 2px; transition: color 0.2s; }
.btn-ghost:hover { color: var(--blue-light); }
section { position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 60px; }
.section-label { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }

/* FOOTER */
footer { background: #060f19; padding: 48px 60px; display: flex; align-items: center; justify-content: space-between; }
.footer-logo img { height: 32px; width: auto; display: block; opacity: 0.75; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-family: var(--sans); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
footer .footer-links { flex-wrap: wrap; }

/* INNER PAGE SHELL */
.page-hero { position: relative; background: var(--navy); padding: 168px 0 84px; overflow: hidden; }
.page-hero .hero-grid-bg, .page-hero .hero-glow { position: absolute; }
.page-hero .section-inner { position: relative; z-index: 1; max-width: 900px; }
.page-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; color: #fff; margin-bottom: 20px; }
.page-hero h1 em { font-style: italic; color: var(--blue-light); }
.page-hero .page-lede { font-family: var(--body); font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.82); max-width: 720px; }
.page-body { padding: 80px 0 40px; }
.page-body .section-inner { max-width: 820px; }
.page-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.2; color: var(--navy); margin: 48px 0 14px; }
.page-body h2:first-child { margin-top: 0; }
.page-body h3 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); margin: 28px 0 8px; }
.page-body p, .page-body li { font-family: var(--body); font-size: 1.05rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 16px; }
.page-body ul, .page-body ol { padding-left: 22px; margin-bottom: 16px; }
.page-body li { margin-bottom: 8px; }
.page-body a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(59,159,212,0.35); }
.page-body a:hover { border-bottom-color: var(--blue); }
.page-body strong { color: var(--text-dark); font-weight: 500; }
.entity { background: var(--cream); border-left: 3px solid var(--gold); padding: 26px 30px; margin: 0 0 40px; }
.entity p { margin: 0; color: var(--text-dark); }
.fit-list li { margin-bottom: 12px; }
.coach-q { background: var(--navy); padding: 30px 34px; margin: 52px 0 40px; }
.coach-q .section-label { color: var(--gold); margin-bottom: 12px; }
.coach-q p { font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.5; color: #fff; margin: 0; }
.author { display: flex; gap: 22px; align-items: flex-start; padding: 28px 0; border-top: 1px solid rgba(13,33,55,0.1); }
.author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; }
.author p { font-size: 0.98rem; margin: 0; }
.author p.author-name { font-family: var(--sans); font-weight: 600; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 6px; }
.related { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(13,33,55,0.1); }
.related .section-label { margin-bottom: 14px; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 8px; }
.related + .related { margin-top: 32px; }
.page-cta { background: var(--navy); padding: 80px 0; text-align: center; margin-top: 60px; }
.page-cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #fff; margin-bottom: 14px; }
.page-cta p { color: rgba(255,255,255,0.75); font-family: var(--body); font-size: 1.05rem; margin-bottom: 32px; }
.page-cta a.btn-primary, .page-cta a.btn-ghost { margin: 0 8px 12px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .section-inner { padding: 0 32px; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 32px; }
}
@media (max-width: 720px) { .page-hero { padding: 132px 0 60px; } }
@media (max-width: 640px) {
  nav { padding: 18px 24px; }
  .nav-right { gap: 14px; }
  .section-inner { padding: 0 24px; }
}
@media (max-width: 560px) { .author { flex-direction: column; } .coach-q { padding: 24px 22px; } }
