/*
Theme Name: OpsCorp Content-Forward v2 (Preview)
Theme URI: https://opscorp.co
Author: OpsCorp
Author URI: https://opscorp.co
Description: A content-forward WordPress theme for OpsCorp — boutique management consultancy. Features a narrative homepage layout aligned with the Direction B brand identity (Merriweather + Source Sans 3 typography, Midnight/Burnished Gold palette).
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opscorp-v2
Tags: blog, consultancy, editorial, custom-menu, featured-images, custom-logo
*/

/* ═══════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════ */

:root {
    /* ── Colors (Direction B — "The Field Manual") ── */
    --midnight:     #1A2332;
    --gold:         #B8913A;
    --copper:       #A67C52;
    --warm-charcoal:#3A3A3A;
    --stone:        #7A7A72;
    --sand:         #EDE8E0;
    --warm-white:   #F9F6F1;
    --white:        #FFFFFF;

    /* ── Semantic aliases ── */
    --foreground:   #1A2332;
    --background:   #F9F6F1;
    --primary:      #3A3A3A;
    --secondary:    #7A7A72;
    --button-bg:    #B8913A;
    --button-text:  #1A2332;
    --button-hover-bg:   #A67C52;
    --button-hover-text: #FFFFFF;

    /* ── Typography ── */
    --font-heading: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-body:    'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* ── Layout ── */
    --max-width:    64rem;
    --nav-height:   72px;
    --radius:       0;
    --radius-lg:    6px;
    --shadow:       0 2px 12px rgba(26,35,50,0.06);
    --shadow-hover: 0 8px 28px rgba(26,35,50,0.10);
    --transition:   0.25s ease;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE STYLES
   ═══════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--warm-charcoal);
    background: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--midnight);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--midnight);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-bottom-color: rgba(26,35,50,0.06);
    box-shadow: 0 1px 8px rgba(26,35,50,0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sand);
}

.site-logo a {
    color: var(--sand);
}

.primary-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sand);
    border-radius: var(--radius);
    transition: color var(--transition), background var(--transition);
}

.menu-item > a:hover,
.menu-item.current-menu-item > a {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}

.menu-item > a .caret {
    font-size: 0.6em;
    margin-left: 2px;
    opacity: 0.5;
}

/* ── Sub-Menu (Dropdown) ── */

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(26,35,50,0.12);
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 100;
}

.sub-menu .menu-item > a {
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 400;
    border-radius: 0;
}

.sub-menu .menu-item > a:hover {
    background: var(--sand);
    color: var(--midnight);
}

.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Mega Menu (9-Beat Method) ── */

.mega-menu-method {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 12px 36px rgba(26,35,50,0.12);
    padding: 36px 24px 32px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 99;
}

.menu-item:hover > .mega-menu-method {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.mega-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 8px;
    transition: background var(--transition);
    cursor: pointer;
}

.mega-cell:hover {
    background: var(--sand);
}

.mega-cell a {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.mega-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--midnight);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mega-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--midnight);
}

/* ── Nav CTA ── */

.nav-cta .btn-primary {
    padding: 8px 22px;
    font-size: 0.85rem;
}

/* ── Mobile Toggle ── */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--sand);
}

.mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-toggle span,
.mobile-toggle .hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sand);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ── Mobile Menu Open State ── */

.mobile-menu-open .nav-cta {
    display: none !important;
}

.mobile-menu-open .primary-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--warm-white);
    padding: 0;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 998;
}

.mobile-menu-open .menu-item > a {
    color: var(--midnight);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(26, 35, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}

.mobile-menu-open .menu-item > a:hover,
.mobile-menu-open .menu-item > a:active,
.mobile-menu-open .menu-item.current-menu-item > a {
    color: var(--midnight);
    background: rgba(26, 35, 50, 0.04);
}

/* Caret arrow for accordion parents */
.mobile-menu-open .caret {
    color: rgba(26, 35, 50, 0.4);
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    display: inline-block;
    margin-left: auto;
    padding-left: 12px;
}

.mobile-menu-open .menu-item.sub-open > a .caret {
    transform: rotate(180deg);
}

/* Sub-menus: hidden by default, shown via .sub-open */
.mobile-menu-open .sub-menu,
.mobile-menu-open .mega-menu-method {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(26, 35, 50, 0.03);
    padding: 0;
    margin: 0;
    min-width: 0;
    list-style: none;
}

.mobile-menu-open .menu-item.sub-open > .sub-menu,
.mobile-menu-open .menu-item.sub-open > .mega-menu-method {
    display: block;
}

.mobile-menu-open .sub-menu li > a,
.mobile-menu-open .mega-menu-method a {
    color: var(--midnight) !important;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 13px 24px 13px 40px;
    border-bottom: 1px solid rgba(26, 35, 50, 0.05);
    display: block;
    text-decoration: none;
}

.mobile-menu-open .sub-menu li > a:hover,
.mobile-menu-open .sub-menu li > a:active {
    background: rgba(26, 35, 50, 0.04);
}

.mobile-menu-open .mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

/* ── Mobile Menu Panel (hidden; nav handled via .mobile-menu-open on .primary-menu) ── */
.mobile-menu {
    display: none;
}

/* ═══════════════════════════════════════════════════
   CTA BUTTONS
   ═══════════════════════════════════════════════════ */

.btn-primary,
.wp-button {
    display: inline-block;
    padding: calc(0.667em + 2px) calc(1.333em + 2px);
    background: var(--button-bg);
    color: var(--button-text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.btn-primary:hover,
.wp-button:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--midnight);
    color: var(--warm-white);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: filter var(--transition), transform var(--transition);
}

.btn-secondary:hover {
    filter: brightness(1.3);
    transform: translateY(-1px);
    color: var(--warm-white);
}

.btn-outline {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--midnight);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    border: 2px solid var(--midnight);
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline:hover {
    background: var(--midnight);
    color: var(--warm-white);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */

.hero {
    background: var(--warm-white);
    padding: 64px 24px 40px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.25;
}

.filter-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.pill {
    display: inline-block;
    padding: 8px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stone);
    border: 1.5px solid var(--stone);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pill:hover,
.pill.active {
    background: var(--copper);
    color: var(--warm-white);
    border-color: var(--copper);
}

/* ═══════════════════════════════════════════════════
   FEATURED ARTICLE
   ═══════════════════════════════════════════════════ */

.featured-section {
    background: var(--sand);
    padding: 56px 24px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.featured-thumb {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--copper) 100%);
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cat-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.featured-meta h2 {
    font-size: 1.5rem;
    line-height: 1.35;
}

.featured-excerpt {
    font-size: 1.02rem;
    color: var(--stone);
    line-height: 1.65;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--stone);
}

.featured-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.featured-read {
    font-weight: 600;
    color: var(--gold);
    transition: color var(--transition);
}

.featured-read:hover {
    color: var(--copper);
}

/* ═══════════════════════════════════════════════════
   ARTICLE GRID
   ═══════════════════════════════════════════════════ */

.articles-section {
    background: var(--warm-white);
    padding: 64px 24px;
}

.section-heading {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.article-card a {
    display: block;
}

.article-card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--stone) 0%, var(--sand) 100%);
}

.article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card:hover .article-card-thumb img {
    transform: scale(1.03);
}

.article-card-body {
    padding: 22px;
}

.article-card-body .cat-tag {
    margin-bottom: 8px;
    display: block;
}

.article-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-card p {
    font-size: 0.88rem;
    color: var(--stone);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-date {
    display: block;
    margin-top: 12px;
    font-size: 0.78rem;
    color: var(--stone);
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════════ */

.cta-banner {
    background: var(--midnight);
    padding: 72px 24px;
    text-align: center;
}

.cta-banner h2 {
    color: var(--warm-white);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(249,246,241,0.65);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   FRAMEWORK SPOTLIGHT (9-Beat)
   ═══════════════════════════════════════════════════ */

.framework-section {
    background: var(--warm-white);
    padding: 80px 24px;
}

.framework-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.framework-text h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.framework-text p {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.7;
    margin-bottom: 24px;
}

.beat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.beat-cell {
    background: var(--sand);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
    transition: background var(--transition);
    cursor: pointer;
}

.beat-cell:hover {
    background: var(--midnight);
}

.beat-num {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
    transition: color var(--transition);
}

.beat-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--midnight);
    transition: color var(--transition);
}

.beat-cell:hover .beat-num {
    color: var(--gold);
}

.beat-cell:hover .beat-name {
    color: var(--warm-white);
}

/* ═══════════════════════════════════════════════════
   SERVICE STRIP
   ═══════════════════════════════════════════════════ */

.service-strip {
    background: var(--sand);
    padding: 52px 24px;
}

.service-strip h2 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 32px;
}

.service-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-link-card {
    background: var(--warm-white);
    border-left: 3px solid var(--gold);
    border-radius: 0 8px 8px 0;
    padding: 22px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.service-link-card h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.service-link-card p {
    font-size: 0.84rem;
    color: var(--stone);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════ */

.newsletter-section {
    background: var(--warm-white);
    padding: 72px 24px;
    text-align: center;
    border-top: 1px solid var(--sand);
}

.newsletter-section h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.newsletter-section p {
    color: var(--stone);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1.5px solid var(--stone);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--warm-charcoal);
    transition: border-color var(--transition);
    outline: none;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--copper);
}

.newsletter-form .btn-primary {
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.site-footer {
    background: var(--midnight);
    padding: 64px 0 40px;
    color: rgba(249,246,241,0.55);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer .footer-brand .site-logo {
    color: var(--warm-white);
    display: block;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(249,246,241,0.55);
}

.site-footer h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--warm-white);
    margin-bottom: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul a {
    font-size: 0.88rem;
    color: rgba(249,246,241,0.55);
    transition: color var(--transition);
}

.site-footer ul a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(249,246,241,0.1);
    margin-top: 40px;
    padding: 24px 24px 0;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(249,246,241,0.55);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ═══════════════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════════════ */

.single-post-header {
    padding: 80px 24px 40px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.single-post-header .cat-tag {
    display: inline-block;
    margin-bottom: 16px;
}

.single-post-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    margin-bottom: 16px;
    line-height: 1.3;
}

.single-post-header .post-meta {
    font-size: 0.9rem;
    color: var(--stone);
}

.single-post-header .post-meta a {
    color: var(--gold);
    font-weight: 600;
}

.single-post-featured-image {
    max-width: 900px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.single-post-featured-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.single-post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.single-post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: var(--warm-charcoal);
}

.single-post-content h2 {
    font-size: 1.45rem;
    margin: 2em 0 0.75em;
}

.single-post-content h3 {
    font-size: 1.2rem;
    margin: 1.75em 0 0.6em;
}

.single-post-content ul,
.single-post-content ol {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.single-post-content ol {
    list-style: decimal;
}

.single-post-content li {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 0.4em;
}

.single-post-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 2em 0;
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--midnight);
    font-size: 1.08rem;
}

.single-post-content blockquote p {
    margin-bottom: 0;
}

.single-post-content a {
    color: var(--gold);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.single-post-content a:hover {
    border-bottom-color: var(--gold);
}

.single-post-content img {
    border-radius: var(--radius);
    margin: 1.5em 0;
}

.single-post-content pre,
.single-post-content code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
}

.single-post-content pre {
    background: var(--midnight);
    color: var(--sand);
    padding: 20px 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1.5em;
}

.single-post-content code {
    background: var(--sand);
    padding: 2px 6px;
    border-radius: 3px;
}

.single-post-content pre code {
    background: none;
    padding: 0;
}

/* ── Post Navigation ── */

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px;
    border-top: 1px solid var(--sand);
}

.post-navigation a {
    font-weight: 600;
    color: var(--gold);
    font-size: 0.92rem;
    transition: color var(--transition);
}

.post-navigation a:hover {
    color: var(--copper);
}

.post-navigation .nav-previous a::before {
    content: '\2190\00a0';
}

.post-navigation .nav-next a::after {
    content: '\00a0\2192';
}

/* ═══════════════════════════════════════════════════
   PAGE STYLES
   ═══════════════════════════════════════════════════ */

.page-header {
    padding: 80px 24px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 12px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5em;
}

.page-content h2 {
    font-size: 1.45rem;
    margin: 2em 0 0.75em;
}

.page-content h3 {
    font-size: 1.2rem;
    margin: 1.75em 0 0.6em;
}

.page-content ul,
.page-content ol {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.page-content ol {
    list-style: decimal;
}

.page-content li {
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 0.4em;
}

.page-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 2em 0;
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ═══════════════════════════════════════════════════
   ARCHIVE STYLES
   ═══════════════════════════════════════════════════ */

.archive-header {
    background: var(--sand);
    padding: 56px 24px;
    text-align: center;
}

.archive-header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.archive-header .archive-description {
    font-size: 1rem;
    color: var(--stone);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════ */

.error-404 {
    text-align: center;
    padding: 100px 24px 120px;
    max-width: 600px;
    margin: 0 auto;
}

.error-404 h1 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.error-404 h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.error-404 p {
    color: var(--stone);
    font-size: 1rem;
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════
   SEARCH FORM
   ═══════════════════════════════════════════════════ */

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.search-form label {
    flex: 1;
}

.search-form .search-field {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1.5px solid var(--stone);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--warm-charcoal);
    outline: none;
    transition: border-color var(--transition);
}

.search-form .search-field:focus {
    border-color: var(--copper);
}

.search-form .search-submit {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--midnight);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: filter var(--transition);
}

.search-form .search-submit:hover {
    filter: brightness(1.08);
}

/* ═══════════════════════════════════════════════════
   WORDPRESS-SPECIFIC STYLES
   ═══════════════════════════════════════════════════ */

/* ── Page template: demote content h1 to h2 size (page title is the real h1) ── */
.page-template .entry-content h1 {
    font-size: 1.75rem;
    margin-top: 2em;
}

/* ── Alignment ── */

.alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
}

.alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
    display: block;
    margin: 1.5em auto;
}

.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Prevent alignfull/alignwide from breaking out of constrained page templates */
.page-template .entry-content .alignfull,
.page-template .entry-content .alignwide {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ── Captions ── */

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
}

.wp-caption img {
    display: block;
    width: 100%;
    border-radius: var(--radius);
}

.wp-caption-text {
    font-size: 0.82rem;
    color: var(--stone);
    text-align: center;
    padding: 8px 0;
    font-style: italic;
}

/* ── Gallery ── */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 1.5em;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    font-size: 0.78rem;
    color: var(--stone);
    padding: 6px 8px;
    text-align: center;
}

/* ── Screen Reader Text (Accessibility) ── */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--warm-white);
    border-radius: var(--radius);
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
    clip: auto !important;
    clip-path: none;
    color: var(--midnight);
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ── Sticky Post ── */

.sticky .article-card,
.article-card.sticky {
    border: 2px solid var(--gold);
    position: relative;
}

.sticky .article-card::before,
.article-card.sticky::before {
    content: 'Featured';
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--midnight);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}

/* ── Comments ── */

.comments-area {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.comments-title {
    font-size: 1.3rem;
    margin-bottom: 28px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--sand);
}

.comment-list .comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

.comment-meta {
    font-size: 0.8rem;
    color: var(--stone);
    margin-bottom: 10px;
}

.comment-content {
    font-size: 0.95rem;
    line-height: 1.7;
}

.comment-content p {
    margin-bottom: 0.75em;
}

.comment-reply-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--copper);
}

.comment-reply-link:hover {
    color: var(--gold);
}

.comment-list .children {
    list-style: none;
    padding-left: 32px;
    margin: 0;
}

.comment-respond {
    margin-top: 32px;
}

.comment-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    border: 1.5px solid var(--stone);
    border-radius: var(--radius);
    background: var(--white);
    margin-bottom: 16px;
    outline: none;
    transition: border-color var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--copper);
}

.comment-form .submit {
    padding: 12px 28px;
    background: var(--gold);
    color: var(--midnight);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: filter var(--transition);
}

.comment-form .submit:hover {
    filter: brightness(1.08);
}

/* ── Pagination ── */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 40px 0;
}

.pagination .page-numbers,
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--warm-charcoal);
    background: var(--white);
    border: 1.5px solid var(--sand);
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
    background: var(--sand);
    border-color: var(--stone);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
    background: var(--midnight);
    color: var(--warm-white);
    border-color: var(--midnight);
}

.pagination .page-numbers.dots {
    border: none;
    background: none;
    min-width: auto;
    padding: 0 4px;
}

/* ── Gutenberg Block Styles ── */

.wp-block-image {
    margin-bottom: 1.5em;
}

.wp-block-image img {
    border-radius: var(--radius);
}

.wp-block-image figcaption {
    font-size: 0.82rem;
    color: var(--stone);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

.wp-block-quote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 2em 0;
    background: var(--sand);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.wp-block-quote p {
    font-style: italic;
    font-size: 1.08rem;
    color: var(--midnight);
}

.wp-block-quote cite {
    font-size: 0.85rem;
    color: var(--stone);
    font-style: normal;
    font-weight: 600;
}

.wp-block-code {
    background: var(--midnight);
    color: var(--sand);
    padding: 20px 24px;
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: 1.5em;
}

.wp-block-code code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.88rem;
    background: none;
    padding: 0;
    color: inherit;
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 960px
   ═══════════════════════════════════════════════════ */

@media (max-width: 960px) {

    .primary-menu,
    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mega-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-card {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .framework-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 640px
   ═══════════════════════════════════════════════════ */

@media (max-width: 640px) {

    .hero {
        padding: 48px 16px 32px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .featured-section {
        padding: 40px 16px;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .beat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-links {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
    }

    .newsletter-form .btn-primary {
        width: 100%;
        text-align: center;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form label {
        width: 100%;
    }

    .search-form .search-submit {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-banner {
        padding: 52px 16px;
    }

    .framework-section {
        padding: 56px 16px;
    }

    .articles-section {
        padding: 48px 16px;
    }

    .post-navigation {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .single-post-header {
        padding: 56px 16px 28px;
    }

    .single-post-content {
        padding: 0 16px 56px;
    }

    .comments-area {
        padding: 28px 16px 40px;
    }

    .comment-list .children {
        padding-left: 16px;
    }

    .mega-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
  .archetype-row,
  .archetype-row--reversed {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem 1.5rem;
  }
  .archetype-row__image {
    flex: 0 0 auto;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ══════════════════════════════════════════════════════════
   ADDITIONAL STYLES — Site-Specific Templates
   ══════════════════════════════════════════════════════════ */

/* ── Yoast Breadcrumbs ───────────────────────────────────── */
.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  font-size: .82rem;
  color: var(--stone);
  font-weight: 400;
}
.breadcrumbs a {
  color: var(--stone);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumbs a:hover {
  color: var(--copper);
}
.breadcrumbs .breadcrumb_last {
  color: var(--midnight);
  font-weight: 600;
}

/* ── Phase Indicator Bar ─────────────────────────────────── */
.phase-bar {
  background: var(--sand);
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,35,50,.06);
}
.phase-bar .container {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
}
.phase-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--midnight);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.phase-label .phase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}
.beat-indicator {
  color: var(--stone);
  font-weight: 400;
}

/* ── Context Bar (for deliverable pages) ─────────────────── */
.context-bar {
  background: var(--warm-white);
  padding: 12px 0;
  border-bottom: 1px solid rgba(26,35,50,.06);
}
.context-bar .container {
  font-size: .85rem;
  color: var(--stone);
}
.context-bar a {
  color: var(--copper);
  font-weight: 600;
  transition: color .2s;
}
.context-bar a:hover {
  color: var(--gold);
}

/* ── Method Overview ─────────────────────────────────────── */
.method-hero {
  background: var(--sand);
  padding: 72px 0 56px;
  text-align: center;
}
.method-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}
.method-hero .subtitle {
  font-size: 1.1rem;
  color: var(--stone);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.phase-band {
  padding: 64px 0;
}
.phase-band.alt-bg {
  background: var(--sand);
}
.phase-band-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.phase-band-header h2 {
  font-size: 1.35rem;
}
.phase-band-header .phase-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--midnight);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
}

.beat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.beat-card {
  background: white;
  border-radius: 10px;
  padding: 28px 24px;
  border-left: 3px solid var(--copper);
  box-shadow: 0 2px 12px rgba(26,35,50,.06);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
  display: block;
}
.beat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,35,50,.1);
}
.beat-card .beat-num {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.beat-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--midnight);
}
.beat-card p {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.6;
}
.beat-card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--copper);
  transition: color .2s;
}
.beat-card:hover .card-link {
  color: var(--gold);
}

/* ── Dimensions Table ────────────────────────────────────── */
.dimensions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
}
.dimensions-table th {
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  padding: 12px 16px;
  border-bottom: 2px solid var(--midnight);
}
.dimensions-table td {
  padding: 14px 16px;
  font-size: .92rem;
  border-bottom: 1px solid rgba(26,35,50,.08);
  color: var(--charcoal);
}
.dimensions-table tr:hover td {
  background: var(--sand);
}
.dimensions-table .dim-num {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: var(--gold);
  width: 40px;
}
.dimensions-table .dim-name {
  font-weight: 600;
  color: var(--midnight);
}
.dimensions-table .dim-phase {
  color: var(--copper);
  font-weight: 600;
  font-size: .82rem;
}
.dimensions-table a {
  color: var(--copper);
  font-weight: 600;
  transition: color .2s;
}
.dimensions-table a:hover {
  color: var(--gold);
}

/* ── Readiness Tiers ─────────────────────────────────────── */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.tier-card {
  border-radius: 10px;
  padding: 28px 24px;
  background: white;
  box-shadow: 0 2px 12px rgba(26,35,50,.06);
}
.tier-card.tier-fragmented {
  border-top: 4px solid #A94442;
}
.tier-card.tier-foundation {
  border-top: 4px solid var(--gold);
}
.tier-card.tier-execution {
  border-top: 4px solid #3D7A5F;
}
.tier-range {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.tier-fragmented .tier-range { color: #A94442; }
.tier-foundation .tier-range { color: var(--gold); }
.tier-execution .tier-range { color: #3D7A5F; }
.tier-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--midnight);
  margin-bottom: 10px;
}
.tier-desc {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ── Archetype Rows (alternating two-column) ────────────── */
.archetype-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.archetype-row--reversed {
  flex-direction: row-reverse;
}
.archetype-row__image {
  flex: 0 0 42%;
}
.archetype-row__image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(26,35,50,.1);
}
.archetype-row__text {
  flex: 1;
}
.archetype-row__text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--midnight);
  margin: 0 0 0.35rem;
}
.archetype-row__tagline {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--copper);
  font-style: italic;
  margin: 0 0 1rem;
}
.archetype-row__diag {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--warm-charcoal);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.archetype-row__link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.95rem;
}
.archetype-row__link:hover {
  text-decoration: underline;
}

/* ── Scorecard Hero ──────────────────────────────────────── */
.scorecard-hero {
  background: var(--midnight);
  padding: 80px 0 72px;
  text-align: center;
}
.scorecard-hero h1 {
  color: var(--warm-white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}
.scorecard-hero .subtitle {
  color: rgba(249,246,241,.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ── Services Page ───────────────────────────────────────── */
.services-hero {
  background: var(--sand);
  padding: 72px 0 56px;
}
.service-block {
  padding: 64px 0;
}
.service-block.alt-bg {
  background: var(--sand);
}
.service-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-bottom: 16px;
}
.service-block .service-duration {
  display: inline-block;
  padding: 4px 14px;
  background: var(--midnight);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 16px;
}
.service-block .deliverables-label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.service-block ul {
  list-style: none;
  padding: 0;
}
.service-block ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: .95rem;
  color: var(--charcoal);
}
.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 0;
}
.contact-details {
  padding: 48px 0;
  border-top: 1px solid rgba(26,35,50,.06);
}
.contact-details .detail-row {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  font-size: .95rem;
}
.contact-details .detail-label {
  font-weight: 600;
  color: var(--midnight);
  min-width: 80px;
}

/* ── "Not Sure" CTA Section ──────────────────────────────── */
.not-sure-section {
  background: var(--midnight);
  padding: 72px 0;
  text-align: center;
}
.not-sure-section h2 {
  color: var(--warm-white);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 16px;
}
.not-sure-section p {
  color: rgba(249,246,241,.65);
  font-size: 1.02rem;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Triple CTA Block (Workbook + Scorecard + Call) ──────── */
.triple-cta {
  background: var(--sand);
  padding: 56px 0;
}
.triple-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.triple-cta-card {
  background: white;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26,35,50,.06);
}
.triple-cta-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.triple-cta-card p {
  font-size: .88rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 20px;
}
.triple-cta-card .price {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ── Sibling Nav (for deliverable/archetype pages) ───────── */
.sibling-nav {
  padding: 48px 0;
  border-top: 1px solid rgba(26,35,50,.06);
}
.sibling-nav-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--stone);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sibling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.sibling-card {
  display: block;
  text-decoration: none;
  padding: 16px 18px;
  background: var(--sand);
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--midnight);
  transition: background .2s, color .2s;
}
.sibling-card:hover {
  background: var(--midnight);
  color: var(--warm-white);
}
.sibling-card.current {
  background: var(--midnight);
  color: var(--gold);
}

/* ── Child Pages Grid (for method beat pages) ────────────── */
.child-pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.child-page-card {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: 10px;
  padding: 24px 22px;
  border-left: 3px solid var(--copper);
  box-shadow: 0 2px 12px rgba(26,35,50,.06);
  transition: transform .25s, box-shadow .25s;
}
.child-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,35,50,.1);
}
.child-page-card h3 {
  font-size: .95rem;
  color: var(--midnight);
  margin-bottom: 8px;
}
.child-page-card p {
  font-size: .85rem;
  color: var(--stone);
  line-height: 1.55;
}

/* ── Simple Footer ───────────────────────────────────────── */
.footer-simple {
  text-align: center;
  padding: 48px 0;
}
.footer-simple .site-logo {
  display: inline-block;
  margin-bottom: 12px;
}
.footer-simple .footer-tagline {
  color: rgba(249,246,241,.55);
  font-size: .95rem;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(249,246,241,.08);
  color: rgba(249,246,241,.55);
  transition: background .2s, color .2s;
  text-decoration: none;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--midnight);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 960px) {
  .beat-cards { grid-template-columns: 1fr 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  /* archetypes use .archetype-row flexbox */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .triple-cta-grid { grid-template-columns: 1fr; }
  .dimensions-table { font-size: .85rem; }
  .dimensions-table th,
  .dimensions-table td { padding: 10px 12px; }
}
@media (max-width: 640px) {
  .beat-cards { grid-template-columns: 1fr; }
  /* archetypes use .archetype-row flexbox */
  .sibling-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: center; }
  .phase-band-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ══════════════════════════════════════════════════════════
   FRONT PAGE — opscorp.co homepage layout
   ══════════════════════════════════════════════════════════ */

/* ── Content Width Container ─────────────────────────────── */
.content-width {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Generic Section ─────────────────────────────────────── */
.section {
    padding: 72px 0;
    background: var(--warm-white);
}
.section--alt {
    background: var(--sand);
}
.section__heading {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.3;
    margin: 0 0 1.5rem;
}

/* ── Hero Cover ──────────────────────────────────────────── */
.hero-cover {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--midnight);
    overflow: hidden;
}

/* Background image layer */
.hero-cover__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-cover__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Semi-transparent overlay for text legibility */
.hero-cover__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(26, 35, 50, 0.72) 0%,
        rgba(26, 35, 50, 0.55) 50%,
        rgba(26, 35, 50, 0.72) 100%
    );
}

/* Text content on top */
.hero-cover__content {
    position: relative;
    z-index: 3;
    padding: 80px 24px;
}
.hero-cover h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--warm-white);
    max-width: 780px;
    margin: 0 auto 1.25rem;
}
.hero-cover__subtext {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
    color: var(--sand);
    max-width: 680px;
    margin: 0 auto 2.25rem;
}
.hero-cover .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ── Problems Grid ───────────────────────────────────────── */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.problem-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow);
}
.problem-block h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.35;
    margin: 0 0 0.875rem;
}
.problem-block p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--stone);
    margin: 0;
}

/* ── Thesis Section ──────────────────────────────────────── */
.thesis-section .section__heading {
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.thesis-body {
    max-width: 720px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.thesis-body p {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--warm-charcoal);
    margin: 0 0 1.25rem;
}
.thesis-body p:last-child {
    margin-bottom: 0;
}
.thesis-body strong {
    color: var(--midnight);
    font-weight: 700;
}

/* ── Services Grid (2x2) ────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.service-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.service-item h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--midnight);
    margin: 0 0 0.625rem;
}
.service-item p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--stone);
    margin: 0 0 1rem;
}
.service-item__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
.service-item__link:hover {
    color: var(--copper);
}

/* ── Differentiators (3 columns) ─────────────────────────── */
.differentiators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.differentiator-item {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--warm-charcoal);
    margin: 0;
    padding: 1.5rem;
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

/* ── Audience / Who We Serve ─────────────────────────────── */
.audience-section {
    background: var(--warm-white);
}
.audience-section__body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--warm-charcoal);
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* ── Front Page Responsive: 960px ────────────────────────── */
@media (max-width: 960px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .differentiators {
        grid-template-columns: 1fr;
    }
}

/* ── Front Page Responsive: 640px ────────────────────────── */
@media (max-width: 640px) {
    .hero-cover {
        min-height: 420px;
    }
    .hero-cover__content {
        padding: 48px 16px;
    }
    .hero-cover h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .section {
        padding: 48px 0;
    }
    .content-width {
        padding: 0 16px;
    }
}

/* Fix dropdown text color */
.primary-nav .sub-menu a{color:#1A2332!important}

/* Logo image sizing */
.site-logo img { max-height: 40px; width: auto; }
.footer-logo img { max-height: 36px; width: auto; }
