/*
Theme Name: AiSuNe Foundation
Theme URI: https://aisunefoundation.org
Author: AiSuNe Foundation
Author URI: https://aisunefoundation.org
Description: Custom WordPress theme for the AiSuNe Foundation — runtime governance research and advisory. Lightweight, responsive, and built for architectural authority.
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aisune-foundation
Tags: custom-theme, responsive, accessibility-ready, one-column
*/


/* ============================================
   1. DESIGN TOKENS
   ============================================ */

:root {
    /* Brand colors
     * --color-accent (was --color-coral) is a restrained dark green chosen
     * over saturated coral to keep contrast high without distracting from
     * content. The legacy --color-coral* aliases are kept for backwards
     * compatibility with existing selectors. */
    --color-navy:        #1E2D5E;
    --color-accent:      #2E6B4A;
    --color-accent-light: #4B8E67;
    --color-coral:       var(--color-accent);
    --color-coral-light: var(--color-accent-light);
    --color-teal:        #2E7A74;
    --color-offwhite:    #F8F9FA;
    --color-white:       #FFFFFF;
    --color-text:        #2C2C2C;
    --color-text-light:  #6B7280;
    --color-border:      #E5E7EB;

    /* Product accent colors */
    --color-cora:             var(--color-accent);
    --color-space:            #1A3A6B;
    --color-studio:           #B85C1E;
    --color-risk:             #8B2252;
    --color-governance-twin:  #2E6060;

    /* Typography
     * Merriweather (serif, heading) pairs with Open Sans (sans-serif, body)
     * for long-form legibility on screens. */
    --font-heading: 'Merriweather', serif;
    --font-body:    'Open Sans', sans-serif;

    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Layout */
    --container-max:    1200px;
    --container-narrow: 800px;
    --header-height:    72px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;

    /* Depth: navy-tinted layered shadows */
    --shadow-sm:  0 1px 2px rgba(30, 45, 94, 0.04), 0 1px 3px rgba(30, 45, 94, 0.06);
    --shadow-md:  0 4px 6px rgba(30, 45, 94, 0.05), 0 10px 20px rgba(30, 45, 94, 0.04);
    --shadow-lg:  0 8px 16px rgba(30, 45, 94, 0.06), 0 20px 40px rgba(30, 45, 94, 0.06);
    --shadow-xl:  0 12px 24px rgba(30, 45, 94, 0.08), 0 32px 64px rgba(30, 45, 94, 0.06);

    /* Gradient stops */
    --grad-navy-deep: #161F45;
    --grad-navy-mid:  #1E2D5E;

    /* Animation tokens */
    --ease-out-expo:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quad:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration-entrance:  600ms;
    --duration-hover:     250ms;
}

/* ------------------------------------------------------------------
 * Additional accessibility and readability tweaks
 *
 * Researchers, executives and policy makers benefit from layouts that
 * facilitate quick scanning and comprehension. These rules make all
 * regular paragraphs and headings left aligned to improve readability.
 */
body p,
h1,
h2,
h3,
h4,
h5,
h6 {
    text-align: left;
}

/* Ensure hero text elements align left as well. */
.hero-eyebrow,
.hero-headline,
.hero-subheading {
    text-align: left;
}


/* ============================================
   2. RESET & BASE
   ============================================ */

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-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.2;
    color: var(--color-navy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--color-coral);
    /* Underline links for clear affordance. Underlining helps users
     * identify interactive text. */
    text-decoration: underline;
    transition: color var(--transition-fast);
}

a:hover,
a:focus {
    color: var(--color-navy);
}

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

ul, ol {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--color-navy);
    outline-offset: 2px;
}

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}

.screen-reader-text:focus {
    clip: auto;
    position: fixed;
    top: 5px;
    left: 5px;
    z-index: 100000;
    background: var(--color-white);
    color: var(--color-navy);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
    width: auto;
    height: auto;
}


/* ============================================
   2B. SCROLL ENTRANCE ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-entrance) var(--ease-out-expo),
                transform var(--duration-entrance) var(--ease-out-expo);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--left {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity var(--duration-entrance) var(--ease-out-expo),
                transform var(--duration-entrance) var(--ease-out-expo);
}

.reveal--left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal--scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 800ms var(--ease-out-expo),
                transform 800ms var(--ease-out-expo);
}

.reveal--scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }

.reveal-stagger > .reveal--left:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal--left:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal--left:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal--left:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal--left:nth-child(5) { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal--left,
    .reveal--scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal-stagger > .reveal,
    .reveal-stagger > .reveal--left {
        transition-delay: 0ms;
    }
}


/* ============================================
   2C. REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .wolf-svg--hero,
    .section-hero {
        animation: none !important;
    }
}


/* ============================================
   3. LAYOUT UTILITIES
   ============================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-xl);
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    /* Present section labels in title case rather than uppercase. All caps
     * reduce readability by making words harder to recognise. */
    text-transform: none;
    letter-spacing: 1.5px;
    color: var(--color-coral);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--color-coral);
    flex-shrink: 0;
}


/* ============================================
   4. BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.5px;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 2px 4px rgba(46, 107, 74, 0.2);
}

.btn--primary:hover,
.btn--primary:focus {
    background-color: #245538;
    border-color: #245538;
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(46, 107, 74, 0.3);
    transform: translateY(-1px);
}

.btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(46, 107, 74, 0.2);
}

.btn--ghost {
    background-color: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn--ghost:hover,
.btn--ghost:focus {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(46, 107, 74, 0.2);
    transform: translateY(-1px);
}

.btn--ghost:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn--ghost-light {
    background-color: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost-light:hover,
.btn--ghost-light:focus {
    background-color: var(--color-white);
    color: var(--color-navy);
    border-color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn--ghost-light:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
}


/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    transition: box-shadow 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(30, 45, 94, 0.06);
    border-bottom-color: transparent;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    color: var(--color-navy);
}

.site-branding:hover,
.site-branding:focus {
    color: var(--color-navy);
}

.wolf-svg--header {
    width: 36px;
    height: auto;
    flex-shrink: 0;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.site-title .ai {
    color: var(--color-coral);
}

/* Navigation */
.primary-navigation .nav-menu {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.primary-navigation .nav-menu > li {
    position: relative;
}

.primary-navigation .nav-menu li a {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    /* Avoid all caps and excessive letter spacing. Uppercase words can be
     * difficult to recognise and reduce readability.
     * We retain a modest weight and remove letter spacing to support
     * quick scanning of navigation labels. */
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-navy);
    text-decoration: none;
    padding: 0.25rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.primary-navigation .nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-coral);
    transition: width var(--transition-base);
}

.primary-navigation .nav-menu li a:hover::after,
.primary-navigation .nav-menu li.current-menu-item a::after {
    width: 100%;
}

.primary-navigation .nav-menu li a:hover,
.primary-navigation .nav-menu li.current-menu-item a {
    color: var(--color-coral);
}

.primary-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 13rem;
    margin: 0;
    padding: 0.75rem 0;
    list-style: none;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--transition-fast),
                transform var(--transition-fast),
                visibility var(--transition-fast);
    z-index: 50;
}

.primary-navigation .sub-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.primary-navigation .sub-menu li a::after {
    display: none;
}

.primary-navigation .menu-item-has-children:hover > .sub-menu,
.primary-navigation .menu-item-has-children:focus-within > .sub-menu,
.primary-navigation .menu-item-has-children.current-menu-item > .sub-menu,
.primary-navigation .menu-item-has-children.current-menu-ancestor > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hamburger toggle (hidden on desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: all var(--transition-base);
}


/* ============================================
   6. HOMEPAGE — HERO
   ============================================ */

.section-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    /* Simplify the hero background to a static, subtle gradient and remove the
     * continuous animation. Moving gradients can be distracting and
     * unnecessary for a professional audience. */
    background: linear-gradient(170deg, var(--color-offwhite) 0%, #F5F6FA 100%);
    background-size: auto;
    animation: none;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    /* Avoid all caps on eyebrows; instead rely on sentence case to
     * preserve word shapes for fast recognition. */
    text-transform: none;
    letter-spacing: 1px;
    color: var(--color-coral);
    display: block;
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
}

.hero-headline-accent {
    display: block;
    color: var(--color-coral);
}

.hero-subheading {
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-wolf {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.wolf-svg--hero {
    width: 100%;
    max-width: 260px;
    /* Remove float animation on the hero illustration for a calmer visual. */
    animation: none;
}


/* ============================================
   7. HOMEPAGE — BORROMEAN RINGS
   ============================================ */

.section-borromean {
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-borromean > .container {
    position: relative;
    z-index: 1;
}

.section-borromean::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--color-white);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

.borromean-visual {
    position: relative;
    max-width: 600px;
    margin: 0 auto var(--space-md);
}

.borromean-image,
.borromean-rings {
    width: 100%;
    height: auto;
}

.borromean-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 42%;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-navy);
    text-align: center;
    pointer-events: none;
}

.borromean-rings-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto var(--space-lg);
}

.borromean-ring-block__name {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.borromean-ring-block__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.borromean-ring-block__link {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-accent);
}

.borromean-ring-block__link:hover,
.borromean-ring-block__link:focus {
    color: var(--color-navy);
}

.borromean-caption {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: center;
}

@media (max-width: 640px) {
    .borromean-rings-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .borromean-center-text {
        font-size: 0.75rem;
        max-width: 56%;
    }
}



/* ============================================
   8. HOMEPAGE — GOVERNANCE ASYMMETRY
   ============================================ */

.section-asymmetry {
    background: linear-gradient(160deg, var(--grad-navy-deep) 0%, var(--grad-navy-mid) 40%, #243568 100%);
    color: var(--color-white);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-asymmetry > .container {
    position: relative;
    z-index: 1;
}

.section-asymmetry::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 32px;
    background: inherit;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 1;
}

.section-asymmetry::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 41px
    );
    pointer-events: none;
    z-index: 0;
}

.asymmetry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.asymmetry-definition .section-label {
    color: var(--color-coral-light);
}

.asymmetry-definition .section-label::before {
    background: var(--color-coral-light);
}

.asymmetry-def-text {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -0.25px;
    color: rgba(255, 255, 255, 0.95);
}

.asymmetry-context p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-lg);
}

.asymmetry-context p:last-child {
    margin-bottom: 0;
}


/* ============================================
   9. HOMEPAGE — DEFINITIONS
   ============================================ */

.section-definitions {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-offwhite) 0%, #F3F4F8 100%);
    position: relative;
    overflow: hidden;
}

.section-definitions > .container {
    position: relative;
    z-index: 1;
}

.section-definitions::before {
    content: '';
    position: absolute;
    top: -36px;
    left: 0;
    width: 100%;
    height: 36px;
    background: var(--color-offwhite);
    clip-path: polygon(100% 100%, 0 0, 100% 0);
    z-index: 1;
}

.section-definitions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(30, 45, 94, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.definitions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.definition-block {
    padding-left: var(--space-lg);
    border-left: 4px solid var(--color-border);
}

.definition-block--coral {
    border-left-color: var(--color-coral);
    background: linear-gradient(90deg, rgba(200, 80, 80, 0.04) 0%, transparent 40%);
}
.definition-block--navy {
    border-left-color: var(--color-navy);
    background: linear-gradient(90deg, rgba(30, 45, 94, 0.04) 0%, transparent 40%);
}
.definition-block--teal {
    border-left-color: var(--color-teal);
    background: linear-gradient(90deg, rgba(46, 122, 116, 0.04) 0%, transparent 40%);
}

.definition-term {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
}

.definition-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}


/* ============================================
   10. HOMEPAGE — PLATFORM TILES
   ============================================ */

.section-platforms {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-platforms > .container {
    position: relative;
    z-index: 1;
}

.section-platforms .section-label {
    text-align: center;
}

.section-platforms .section-heading {
    text-align: center;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Reduce the gap between platform tiles to make the layout more compact. */
    gap: var(--space-md);
}

.platform-tile {
    background: var(--color-white);
    border-top: 4px solid var(--color-border);
    /* Reduce vertical padding on platform tiles so the cards are not as tall. */
    padding: var(--space-lg) var(--space-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
}

.platform-tile:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.platform-tile--cora             { border-top-color: var(--color-cora); }
.platform-tile--space            { border-top-color: var(--color-space); }
.platform-tile--studio           { border-top-color: var(--color-studio); }
.platform-tile--risk             { border-top-color: var(--color-risk); }
.platform-tile--governance-twin  { border-top-color: var(--color-governance-twin); }

.platform-tile h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: -0.25px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.platform-tile p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    /* Reduce bottom margin inside tiles to tighten card height. */
    margin-bottom: var(--space-md);
}

.platform-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-coral);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color var(--transition-fast), gap var(--duration-hover) var(--ease-out-expo);
}

.platform-link:hover {
    color: var(--color-navy);
    gap: 0.625rem;
}


/* ============================================
   11. HOMEPAGE — AUDIENCES
   ============================================ */

.section-audiences {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, #F3F4F8 0%, var(--color-offwhite) 100%);
    position: relative;
    overflow: hidden;
}

.section-audiences > .container {
    position: relative;
    z-index: 1;
}

.section-audiences::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(30, 45, 94, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.section-audiences .section-heading {
    text-align: center;
}

.audiences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Reduce space between audience cards. */
    gap: var(--space-md);
}

.audience-block {
    background: var(--color-white);
    /* Reduce audience block padding to make cards less tall. */
    padding: var(--space-lg) var(--space-md);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
    position: relative;
    overflow: hidden;
}

.audience-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-hover) var(--ease-out-expo);
}

.audience-block:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.audience-block:hover::before {
    transform: scaleX(1);
}

.audience-block h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
    /* Section headings should use title case for readability rather than
     * uppercase. Letter spacing is reduced to zero to avoid unnecessary
     * cognitive load. */
    text-transform: none;
    letter-spacing: 0;
}

.audience-block p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.7;
}


/* ============================================
   12. HOMEPAGE — HOW IT ALL BEGAN
   ============================================ */

.section-origins {
    background: linear-gradient(160deg, var(--grad-navy-deep) 0%, var(--grad-navy-mid) 40%, #243568 100%);
    color: var(--color-white);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.section-origins > .container {
    position: relative;
    z-index: 1;
}

.section-origins::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 32px;
    background: inherit;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    z-index: 1;
}

.section-origins::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 41px
    );
    pointer-events: none;
    z-index: 0;
}

.section-origins.who-values {
    background: none;
    color: var(--color-text);
    padding: var(--space-xl) 0 var(--space-2xl);
    position: static;
    overflow: visible;
}

.section-origins.who-values::before,
.section-origins.who-values::after {
    display: none;
}

.origins-papers-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: var(--space-md);
}

.origins-papers-heading {
    margin-top: var(--space-2xl);
}

.origins-papers-grid .value-block h3 a {
    color: var(--color-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.origins-papers-grid .value-block h3 a:hover {
    border-color: var(--color-coral);
    color: var(--color-coral);
}

.origins-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
}


/* ============================================
   13. HOMEPAGE — FINAL CTA
   ============================================ */

.section-final-cta {
    background: linear-gradient(200deg, #243568 0%, var(--grad-navy-mid) 50%, var(--grad-navy-deep) 100%);
    color: var(--color-white);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-final-cta > .container {
    position: relative;
    z-index: 1;
}

.section-final-cta::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 0;
    width: 100%;
    height: 32px;
    background: inherit;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

.section-final-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255, 255, 255, 0.015) 40px,
        rgba(255, 255, 255, 0.015) 41px
    );
    pointer-events: none;
    z-index: 0;
}

.section-final-cta h2 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-xl);
}

.final-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}


/* ============================================
   14. INNER PAGE TEMPLATES
   ============================================ */

/* Page hero */
.page-hero {
    padding: var(--space-2xl) 0;
    background: var(--color-offwhite);
}

.page-hero--navy {
    background: var(--color-navy);
    color: var(--color-white);
}

.page-hero--navy .page-hero__title {
    color: var(--color-white);
}

.page-hero--navy .page-hero__eyebrow {
    color: var(--color-coral-light);
}

.page-hero__eyebrow {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    /* Use sentence case for page hero eyebrows; uppercase text hinders readability
     * and scanning. */
    text-transform: none;
    letter-spacing: 1px;
    color: var(--color-coral);
    display: block;
    margin-bottom: var(--space-md);
}

.page-hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.page-hero__desc {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-top: var(--space-md);
}

/* Page content */
.page-content {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.page-content p,
.page-content li {
    font-size: 1.0625rem;
    line-height: 1.8;
    max-width: 70ch;
    margin-bottom: var(--space-lg);
}

.page-content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.page-content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
}

.page-content ul,
.page-content ol {
    list-style: disc;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

/* 404 page */
.page-404 {
    text-align: center;
    padding: var(--space-xl) 0;
}

.page-404__wolf {
    max-width: 150px;
    margin: 0 auto var(--space-xl);
    opacity: 0.2;
}

.page-404__wolf .wolf-svg--hero {
    max-width: 150px;
    color: var(--color-white);
    opacity: 1;
}

.page-404__text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: var(--space-lg) auto;
    max-width: 400px;
}

/* Runtime Governance page */
.rg-section {
    padding: var(--space-xl) 0;
}

.rg-section--risks {
    background: var(--color-offwhite);
    padding: var(--space-2xl) 0;
}

.rg-risks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.rg-risk {
    padding: var(--space-lg);
    border-left: 3px solid var(--color-coral);
}

.rg-risk h3 {
    margin-bottom: var(--space-sm);
}

.rg-risk p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.rg-section--response {
    padding: var(--space-2xl) 0;
}

/* Strategy page services */
.strategy-services {
    padding: var(--space-2xl) 0;
    background: var(--color-offwhite);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-white);
    padding: var(--space-xl) var(--space-lg);
    border-left: 4px solid var(--color-navy);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
}

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

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Execution page */
.execution-intro {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-light);
    border-left: 4px solid var(--color-coral);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.execution-platform {
    padding: var(--space-2xl) 0;
    border-top: 4px solid var(--color-border);
}

.execution-platform--cora             { border-top-color: var(--color-cora); }
.execution-platform--space            { border-top-color: var(--color-space); }
.execution-platform--studio           { border-top-color: var(--color-studio); }
.execution-platform--risk             { border-top-color: var(--color-risk); }
.execution-platform--governance-twin  { border-top-color: var(--color-governance-twin); }

.execution-platform h2 {
    margin-bottom: var(--space-lg);
}

.execution-platform p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Who We Are page */
.who-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.who-stewardship {
    padding: var(--space-2xl) 0;
    background: var(--color-offwhite);
}

.who-stewardship p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.who-values {
    padding: var(--space-2xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.value-block {
    padding: var(--space-lg);
    border-left: 3px solid var(--color-teal);
}

.value-block h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.value-block p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Research page */
.research-frameworks {
    padding: var(--space-2xl) 0;
    background: var(--color-offwhite);
}

.framework-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.framework-item {
    padding: var(--space-lg);
    border-left: 4px solid var(--color-navy);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
}

.framework-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.framework-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.framework-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Publications page */
.publications-intro {
    margin-bottom: var(--space-xl);
}

.publications-intro__lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-navy);
}

.publications-group {
    padding: var(--space-2xl) 0;
}

.publications-group__intro {
    max-width: 52rem;
    margin-bottom: var(--space-xl);
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.publication-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.thought-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.thought-card h2 {
    margin-bottom: var(--space-sm);
}

.thought-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.thought-card .btn {
    margin-top: auto;
}

.publication-entry {
    padding: var(--space-xl);
    border-left: 4px solid var(--color-navy);
    border-bottom: none;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
}

.publication-entry:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.publication-entry__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.publication-year {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    /* Maintain normal casing and reduce letter spacing for publication metadata. */
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-coral);
}

.publication-confidence {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.publication-title {
    font-size: 1.25rem;
    margin: 0 0 var(--space-sm);
}

.publication-title a {
    color: var(--color-navy);
}

.publication-title a:hover {
    color: var(--color-coral);
}

.publication-excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.publication-link {
    font-weight: 700;
    color: var(--color-navy);
}

.publication-link:hover {
    color: var(--color-coral);
}

/* --- Year group headings --- */

.pub-year-group {
    margin-bottom: var(--space-2xl);
}

.pub-year-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-border);
}

/* --- Type badge --- */

.publication-type-badge {
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2em 0.6em;
    border-radius: 2px;
}

.publication-type-badge--paper {
    background: var(--color-navy);
    color: var(--color-white);
}

.publication-type-badge--conference {
    background: var(--color-teal);
    color: var(--color-white);
}

/* Collaborate page */
.collab-modes {
    padding: var(--space-2xl) 0;
    background: var(--color-offwhite);
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.collab-card {
    background: var(--color-white);
    padding: var(--space-xl) var(--space-lg);
    border-left: 4px solid var(--color-teal);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
}

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

.collab-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.collab-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.collab-contact {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.collab-partners {
    padding: var(--space-2xl) 0;
}

.collab-card--partner {
    border-left-color: var(--color-coral);
}

.collab-card__logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 48px;
    margin-bottom: var(--space-sm);
}

.collab-card__logo {
    display: block;
    max-width: 160px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.collab-card__meta {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: var(--space-xs);
}

.collab-card__url {
    margin-top: var(--space-sm);
}

.collab-card__url a {
    font-size: 0.875rem;
    color: var(--color-navy);
    word-break: break-word;
}

.collab-contact p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.team-intro {
    font-size: 1.25rem;
    text-align: center;
    color: var(--color-text);
    line-height: 1.7;
    max-width: 42rem;
    margin: 0 auto var(--space-lg);
}

/* Team page */
.team-grid-section {
    padding: var(--space-2xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.team-card {
    background: var(--color-white);
    border-left: 4px solid var(--color-navy);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--duration-hover) var(--ease-out-quad),
                transform var(--duration-hover) var(--ease-out-quad);
}

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

.team-card__photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-offwhite);
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-offwhite);
}

.team-card__photo-placeholder .wolf-svg {
    width: 120px;
    height: 120px;
    color: var(--color-navy);
    opacity: 0.15;
}

.team-card__info {
    padding: var(--space-lg);
}

.team-card__domain {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    /* Avoid uppercase to improve recognition of domain names. */
    text-transform: none;
    letter-spacing: 1px;
    color: var(--color-coral);
    display: block;
    margin-bottom: var(--space-sm);
}

.team-card__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.team-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

.team-card__bio {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.team-card__linkedin {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-coral);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.team-card__linkedin:hover {
    color: var(--color-navy);
}

/* Who We Are — R-S-E section */
.who-rse {
    padding: var(--space-2xl) 0;
    background: var(--color-offwhite);
}

.rse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.rse-block {
    /* Tighten padding on RSE blocks to reduce height. */
    padding: var(--space-md);
    padding-left: var(--space-md);
    border-left: 4px solid var(--color-border);
}

.rse-block--research { border-left-color: var(--color-coral); }
.rse-block--strategy { border-left-color: var(--color-navy); }
.rse-block--execution { border-left-color: var(--color-teal); }

.rse-block h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    /* Section headings should remain in title case for readability. */
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: var(--space-sm);
}

.rse-block--research h3 { color: var(--color-coral); }
.rse-block--strategy h3 { color: var(--color-navy); }
.rse-block--execution h3 { color: var(--color-teal); }

.rse-block p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Who We Are — Team link section */
.who-team-link {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.who-team-link p {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* Runtime Governance — Co-evolution section */
.rg-section--coevolution {
    background: var(--color-offwhite);
    padding: var(--space-2xl) 0;
}

/* Post cards (archive/listing) */
.post-card {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

.post-card__date {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-coral);
}

.post-card__title {
    font-size: 1.375rem;
    margin: var(--space-xs) 0 var(--space-sm);
}

.post-card__title a {
    color: var(--color-navy);
}

.post-card__title a:hover {
    color: var(--color-coral);
}

.post-card__excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Search results */
.search-result {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

.search-result__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.search-result__title a {
    color: var(--color-navy);
}

.search-result__title a:hover {
    color: var(--color-coral);
}

.search-result__excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.no-results h2 {
    margin-bottom: var(--space-lg);
}

.no-results p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Post navigation */
.post-navigation {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
}

.post-navigation a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
}

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

/* WordPress posts navigation */
.posts-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    padding: var(--space-xl) 0;
}

.posts-navigation a {
    font-weight: 600;
    color: var(--color-navy);
}

.posts-navigation a:hover {
    color: var(--color-coral);
}


/* ============================================
   15. FOOTER
   ============================================ */

.site-footer {
    background: linear-gradient(180deg, #192650 0%, #141E3C 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.footer-wolf {
    margin-bottom: var(--space-md);
}

.wolf-svg--footer {
    width: 60px;
    height: auto;
    opacity: 0.3;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-menu li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-menu li a:hover {
    color: var(--color-white);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}


/* ============================================
   16. WORDPRESS DEFAULTS
   ============================================ */

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--space-sm);
}

.alignleft {
    float: left;
    margin-right: var(--space-lg);
    margin-bottom: var(--space-md);
}

.alignright {
    float: right;
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================
   17. RESPONSIVE
   ============================================ */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 2.5rem;
    }

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

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

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

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

/* Tablet portrait / mobile nav breakpoint */
@media (max-width: 768px) {
    :root {
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
    }

    /* Reduce section divider heights */
    .section-borromean::before,
    .section-asymmetry::before,
    .section-definitions::before,
    .section-final-cta::before {
        height: 20px;
        top: -20px;
    }

    /* Show hamburger, hide desktop nav */
    .menu-toggle {
        display: flex;
    }

    .primary-navigation {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background: var(--color-white);
        border-left: 1px solid var(--color-border);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: 999;
        overflow-y: auto;
    }

    .primary-navigation.is-open {
        transform: translateX(0);
    }

    .primary-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: var(--space-lg);
    }

    .primary-navigation .nav-menu > li {
        width: 100%;
    }

    .primary-navigation .nav-menu li a {
        display: block;
        padding: 0.75rem 0;
        font-size: 0.9375rem;
        border-bottom: 1px solid var(--color-border);
    }

    .primary-navigation .nav-menu li a::after {
        display: none;
    }

    .primary-navigation .sub-menu {
        display: none;
    }

    /* Hamburger animation when open */
    body.nav-open .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-headline {
        font-size: 2.25rem;
    }

    .hero-subheading {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-wolf {
        justify-content: center;
        order: -1;
    }

    .wolf-svg--hero {
        max-width: 200px;
    }

    /* Borromean */
    .borromean-visual {
        max-width: 500px;
    }

    /* Governance Asymmetry */
    .asymmetry-grid,
    .origins-grid {
        grid-template-columns: 1fr;
    }

    /* Definitions */
    .definitions-grid {
        grid-template-columns: 1fr;
    }

    /* Platform tiles */
    .platforms-grid {
        grid-template-columns: 1fr;
    }

    /* Audiences */
    .audiences-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Page hero */
    .page-hero__title {
        font-size: 2.25rem;
    }

    /* Final CTA */
    .section-final-cta h2 {
        font-size: 2rem;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Collab grid */
    .collab-grid {
        grid-template-columns: 1fr;
    }

    /* Risk grid */
    .rg-risks-grid {
        grid-template-columns: 1fr;
    }

    /* Values grid */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Team grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* R-S-E grid */
    .rse-grid {
        grid-template-columns: 1fr;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    :root {
        --space-3xl: 1.5rem;
        --space-2xl: 1.25rem;
        --space-xl:  1.5rem;
    }

    .hero-headline {
        font-size: 1.875rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        text-align: center;
    }

    .section-final-cta h2 {
        font-size: 1.75rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta-buttons .btn {
        text-align: center;
    }

    .page-hero__title {
        font-size: 1.875rem;
    }

    .borromean-visual {
        max-width: 100%;
    }

    .container,
    .container--narrow {
        padding: 0 var(--space-md);
    }
}
