/*
Theme Name: u2030
Theme URI: avertra.com
Author: avertra Corp
Author URI:avertra.com
Description: U2030 Collaborative - Human-Centered Leadership for Utility Transformation
Version: 2.6.6
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: u2030
*/

:root {
    --dark-teal: #075056;
    --white: #FFFFFF;
    --navy-black: #16232B;
    --sea-green: #01814E;
    --blaze-orange: #FF5B04;
    --light-teal: #0a6b73;
    --soft-cream: #f8f7f5;
    --muted-teal: #e8f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   Handwritten / Human Elements
   ========================================= */
.handwritten {
    font-family: 'Solitreo', cursive;
    font-weight: 600;
}

.hand-note {
    font-family: 'Solitreo', cursive;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--blaze-orange);
    transform: rotate(-3deg);
    display: inline-block;
}

.hand-text {
    font-family: 'Solitreo', cursive;
    font-weight: 600;
}

.hand-underline {
    position: relative;
    display: inline;
}

.hand-underline::after {
    content: '';
    position: absolute;
    left: -3%;
    bottom: -6px;
    width: 106%;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 15'%3E%3Cpath d='M3,10 Q40,4 80,9 T160,7 T240,10 T297,8' stroke='%23FF5B04' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
}

.hand-circle {
    position: relative;
    display: inline-block;
}

.hand-circle::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -15px;
    right: -15px;
    bottom: -12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cellipse cx='60' cy='30' rx='55' ry='25' stroke='%23FF5B04' stroke-width='2' fill='none' transform='rotate(-2 60 30)' stroke-linecap='round' stroke-dasharray='2,0'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
    pointer-events: none;
}

.hand-arrow {
    position: absolute;
    width: 60px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath d='M5,35 Q20,20 45,15 L40,10 M45,15 L38,20' stroke='%23FF5B04' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

/* =========================================
   Base
   ========================================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy-black);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4 {
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

.subtitle {
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
}

/* =========================================
   Navigation
   ========================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    background: transparent;
}

.nav.scrolled {
    background: rgba(7, 80, 86, 0.97);
    backdrop-filter: blur(12px);
    padding: 1rem 4%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.nav.scrolled .nav-logo img {
    height: 36px;
}

/* Custom logo (WordPress) */
.nav-logo .custom-logo-link img,
.nav-logo .custom-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.nav.scrolled .nav-logo .custom-logo-link img,
.nav.scrolled .nav-logo .custom-logo {
    height: 36px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blaze-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links .current-menu-item > a::after,
.nav-links .current-menu-ancestor > a::after {
    width: 100%;
}

/* WP nav menu resets */
.nav-links li {
    position: relative;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

/* Dropdown arrow for parent items */
.nav-links .menu-item-has-children > a::before {
    content: 'expand_more';
    font-family: 'Material Icons Outlined';
    font-size: 1rem;
    order: 1;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.nav-links .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* Sub-menu dropdown */
.nav-links .sub-menu {
    list-style: none;
    margin: 0;
    padding: 1rem 0 0.5rem;
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(7, 80, 86, 0.97);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    flex-direction: column;
    gap: 0;
    z-index: 100;
}

.nav-links .menu-item-has-children:hover .sub-menu {
    display: flex;
}

.nav-links .sub-menu li a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0.85;
}

.nav-links .sub-menu li a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.08);
}

.nav-links .sub-menu li a::after {
    display: none;
}


/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 4px;
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    width: fit-content;
}

.btn-primary {
    background: var(--blaze-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: #e65200;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 91, 4, 0.35);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-teal);
    border: 2px solid var(--dark-teal);
}

.btn-secondary:hover {
    background: var(--dark-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.btn-locked {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-locked .material-icons-outlined {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(7, 80, 86, 0.7) 0%,
        rgba(7, 80, 86, 0.65) 40%,
        rgba(7, 80, 86, 0.85) 70%,
        rgba(7, 80, 86, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 12%;
    max-width: 1400px;
    animation: fadeInUp 1s ease-out;
}

.hero-welcome {
    font-family: 'Funnel Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--white);
    position: relative;
}

.hero-highlight {
    font-size: 0.85em;
    text-decoration: underline transparent;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
    transition: text-decoration-color 0.3s ease;
}

.hero-highlight:hover {
    text-decoration-color: var(--blaze-orange);
}

/* =========================================
   Hero Intro Section
   ========================================= */
.hero-intro {
    background: var(--dark-teal);
    padding: 5rem 4%;
    position: relative;
}

.hero-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.hero-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-intro-content .reveal:nth-child(1) { transition-delay: 0s; }
.hero-intro-content .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero-intro-content .reveal:nth-child(3) { transition-delay: 0.3s; }
.hero-intro-content .reveal:nth-child(4) { transition-delay: 0.45s; }
.hero-intro-content .reveal:nth-child(5) { transition-delay: 0.6s; }

.hero-intro-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--blaze-orange);
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.5rem;
}

.hero-intro-label::before,
.hero-intro-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--blaze-orange);
    opacity: 0.5;
}

.hero-intro-text {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.hero-intro-text strong {
    color: var(--white);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================================
   Sections
   ========================================= */
section {
    position: relative;
}

.section-light {
    background: var(--white);
    padding: 7rem 4%;
}

.section-cream {
    background: var(--soft-cream);
    padding: 7rem 4%;
}

.section-teal {
    background: var(--dark-teal);
    padding: 7rem 4%;
    color: var(--white);
}

.section-navy {
    background: var(--navy-black);
    padding: 7rem 4%;
    color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--blaze-orange);
    margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.section-label--no-dash::before,
.section-label--no-dash::after {
    display: none;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-black);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-teal .section-title,
.section-navy .section-title {
    color: var(--white);
}


.section-teal .section-label,
.section-navy .section-label {
    color: var(--blaze-orange);
}

/* =========================================
   How We Deliver
   ========================================= */
.deliver-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.deliver-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(7, 80, 86, 0.1);
    overflow: hidden;
}

.deliver-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--sea-green);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.deliver-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(7, 80, 86, 0.15);
}

.deliver-card:hover::before {
    transform: scaleY(1);
}

.deliver-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--dark-teal), var(--sea-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.deliver-icon .material-icons-outlined {
    font-size: 28px;
    color: var(--white);
}

.deliver-card h3 {
    font-size: 1.5rem;
    color: var(--navy-black);
    margin-bottom: 1rem;
}

.deliver-card p {
    color: #5a6872;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* =========================================
   Book Project Section
   ========================================= */
.book-project-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.book-visual-inner {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(7, 80, 86, 0.2);
}

.book-visual-inner img {
    width: 100%;
    height: auto;
    display: block;
}

.book-content .section-title {
    margin-bottom: 1.5rem;
}

.book-content p {
    font-size: 1.1rem;
    color: #5a6872;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

/* =========================================
   Logo Wall
   ========================================= */
.logo-section {
    overflow: hidden;
    padding: 0;
    margin-top: -2rem;
}

.logo-track {
    display: flex;
    overflow: hidden;
}

.logo-inner {
    display: flex;
    flex-shrink: 0;
    animation: scroll 120s linear infinite;
    will-change: transform;
}

.logo-item {
    flex-shrink: 0;
    width: 280px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-item img {
    max-width: 340px;
    max-height: 160px;
    object-fit: contain;
}

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* =========================================
   Pull Quote
   ========================================= */
.pull-quote-section {
    padding: 6rem 4%;
    position: relative;
    overflow: hidden;
}

.pull-quote {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pull-quote-mark {
    font-size: 8rem;
    color: var(--blaze-orange);
    opacity: 1;
    line-height: 0.5;
    font-family: 'Funnel Sans', sans-serif;
}

.pull-quote-text {
    font-family: 'Funnel Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--white);
    line-height: 1.6;
    margin: 1rem 0 2rem;
}

.pull-quote-line {
    width: 80px;
    height: 3px;
    background: var(--blaze-orange);
    margin: 0 auto;
}

.pull-quote-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
    display: grid;
}

.pull-quote-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pull-quote-slide.active {
    opacity: 1;
    visibility: visible;
}

.pull-quote-attribution {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: -1rem;
    font-style: italic;
}

.pull-quote-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
}

.pull-quote-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.pull-quote-dot.active {
    background: var(--blaze-orange);
    border-color: var(--blaze-orange);
}

/* =========================================
   Featured Experiences
   ========================================= */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.experience-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.experience-image {
    height: 180px;
    background: linear-gradient(135deg, var(--dark-teal), var(--sea-green));
    position: relative;
    overflow: hidden;
}

.experience-card:nth-child(2) .experience-image {
    background: linear-gradient(135deg, var(--sea-green), #028a54);
}

.experience-card:nth-child(3) .experience-image {
    background: linear-gradient(135deg, var(--navy-black), var(--dark-teal));
}

.experience-card:nth-child(4) .experience-image {
    background: linear-gradient(135deg, #0a6b73, var(--sea-green));
}

.experience-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.experience-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--blaze-orange);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.experience-content {
    padding: 1.75rem;
}

.experience-content h3 {
    font-size: 1.25rem;
    color: var(--navy-black);
    margin-bottom: 0.75rem;
}

.experience-content p {
    color: #5a6872;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.experience-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-teal);
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.experience-link:hover {
    color: var(--blaze-orange);
    gap: 0.75rem;
}

/* =========================================
   Events Section
   ========================================= */
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.events-header .section-header {
    text-align: left;
    margin-bottom: 0;
}

.events-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
}

.event-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.event-date {
    background: var(--dark-teal);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-date-box {
    background: var(--blaze-orange);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
}

.event-date-day {
    font-family: 'Funnel Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-date-month {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date-info {
    color: var(--white);
}

.event-date-type {
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.event-date-title {
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.event-details {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #5a6872;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.event-meta .material-icons-outlined {
    font-size: 18px;
    color: var(--sea-green);
}

.event-desc {
    color: #5a6872;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* =========================================
   Resources Section
   ========================================= */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.resource-card:hover {
    transform: translateY(-8px);
    border-color: var(--blaze-orange);
    background: rgba(255,255,255,0.08);
}

.resource-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(1, 129, 78, 0.3), rgba(7, 80, 86, 0.5));
    position: relative;
}

.resource-type {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--blaze-orange);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resource-content {
    padding: 1.5rem;
}

.resource-content h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.resource-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blaze-orange);
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-link:hover {
    gap: 0.75rem;
}

.resource-image-link {
    display: block;
    text-decoration: none;
}

.resource-image-link .resource-image {
    transition: opacity 0.3s ease;
}

.resource-image-link:hover .resource-image {
    opacity: 0.85;
}

.resource-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.resource-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Light background context overrides (e.g. advisory case studies) */
.section-light .resource-card,
.section-cream .resource-card {
    background: var(--white);
    border-color: rgba(7, 80, 86, 0.12);
}

.section-light .resource-content h4,
.section-cream .resource-content h4 {
    color: var(--navy-black);
}

.section-light .resource-content p,
.section-cream .resource-content p {
    color: #5a6872;
}

.section-light .resource-meta,
.section-cream .resource-meta {
    color: #8a9aaa;
}

.section-light .resource-link,
.section-cream .resource-link {
    color: var(--blaze-orange);
}

.resource-meta .material-icons-outlined {
    font-size: 14px;
}

/* =========================================
   Footer CTA
   ========================================= */
.footer-cta {
    background: linear-gradient(135deg, var(--sea-green) 0%, var(--dark-teal) 100%);
    padding: 6rem 4%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%       { transform: scale(1.1); opacity: 0.8; }
}

.footer-cta-content {
    position: relative;
    z-index: 2;
}

.footer-cta h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.footer-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--navy-black);
    padding: 4rem 4% 2rem;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr auto auto auto auto;
    gap: 5rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-brand {
    max-width: 320px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-input:focus {
    border-color: var(--blaze-orange);
    background: rgba(255,255,255,0.1);
}

.newsletter-btn {
    padding: 0.75rem;
    background: var(--blaze-orange);
    border: none;
    border-radius: 4px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: #e65200;
    transform: translateY(-2px);
}

.newsletter-btn .material-icons-outlined {
    font-size: 20px;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-logo img,
.footer-logo .custom-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blaze-orange);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active,
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1200px) {
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .events-scroll {
        grid-template-columns: 1fr;
    }

    .deliver-grid {
        grid-template-columns: 1fr;
    }

    .book-project-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Burger button - hidden on desktop */
.nav-close {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-burger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(7, 80, 86, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 2rem;
        z-index: 9999;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-close .material-icons-outlined {
        font-size: 2rem;
    }


    .nav-links a,
    .nav-links .sub-menu a {
        font-size: 1.2rem;
    }

    /* Sub-menu on mobile: hidden by default, shown when parent toggled */
    .nav-links .sub-menu {
        position: static;
        transform: none;
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        display: none;
        flex-direction: column;
        gap: 0;
        min-width: unset;
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.25rem 0;
    }

    .nav-links .menu-item-has-children.submenu-open .sub-menu {
        display: flex;
    }

    .nav-links .sub-menu li a {
        font-size: 1rem;
        text-align: center;
        padding: 0.6rem 1rem;
    }

    /* Hide hover-based dropdown on mobile */
    .nav-links .menu-item-has-children:hover .sub-menu {
        display: none;
    }

    .nav-links .menu-item-has-children.submenu-open .sub-menu {
        display: flex;
    }


    .experiences-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .events-header {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================
   Generic Page Hero (singular.php)
   ========================================= */
.page-hero {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--navy-black) 100%);
    padding: 8rem 4% 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    letter-spacing: -1px;
    margin: 0;
}

/* =========================================
   Gutenberg / Index Page
   ========================================= */
.gutenberg-page {
    padding-top: 80px; /* clears fixed nav */
    min-height: 60vh;
    background: var(--white);
}

.gutenberg-page-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 4%;
}

/* Page title */
.gutenberg-page-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(7, 80, 86, 0.1);
}

.gutenberg-page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-black);
    letter-spacing: -0.5px;
    line-height: 1.15;
}

/* Content blocks */
.gutenberg-page-content {
    color: var(--navy-black);
    font-size: 1.05rem;
    line-height: 1.8;
}

.gutenberg-page-content h1,
.gutenberg-page-content h2,
.gutenberg-page-content h3,
.gutenberg-page-content h4,
.gutenberg-page-content h5,
.gutenberg-page-content h6 {
    color: var(--navy-black);
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.gutenberg-page-content h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.gutenberg-page-content h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.gutenberg-page-content h4 { font-size: 1.2rem; }

.gutenberg-page-content p {
    margin-bottom: 1.25rem;
    color: #3d4f5a;
}

.gutenberg-page-content ul,
.gutenberg-page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #3d4f5a;
}

.gutenberg-page-content li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.gutenberg-page-content a {
    color: var(--dark-teal);
    text-decoration: underline;
    text-decoration-color: rgba(7, 80, 86, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease;
}

.gutenberg-page-content a:hover {
    text-decoration-color: var(--dark-teal);
}

.gutenberg-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.gutenberg-page-content figure {
    margin: 2rem 0;
}

.gutenberg-page-content figcaption {
    font-size: 0.85rem;
    color: #6a7580;
    margin-top: 0.5rem;
    text-align: center;
}

.gutenberg-page-content blockquote {
    border-left: 4px solid var(--blaze-orange);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--soft-cream);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #3d4f5a;
}

.gutenberg-page-content hr {
    border: none;
    border-top: 1px solid rgba(7, 80, 86, 0.1);
    margin: 2.5rem 0;
}

.gutenberg-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.gutenberg-page-content th,
.gutenberg-page-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(7, 80, 86, 0.1);
}

.gutenberg-page-content th {
    font-weight: 700;
    color: var(--navy-black);
    background: var(--soft-cream);
}

/* Gutenberg alignment classes */
.gutenberg-page-content .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gutenberg-page-content .alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-radius: 0;
}

.gutenberg-page-content .aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.gutenberg-page-content .alignleft {
    float: left;
    margin: 0.5rem 1.5rem 1rem 0;
}

.gutenberg-page-content .alignright {
    float: right;
    margin: 0.5rem 0 1rem 1.5rem;
}

/* Gutenberg button blocks */
.gutenberg-page-content .wp-block-button__link,
.gutenberg-page-content .wp-element-button {
    background-color: var(--dark-teal);
    color: var(--white);
    border-radius: 6px;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    font-family: 'Funnel Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.gutenberg-page-content .wp-block-button__link:hover,
.gutenberg-page-content .wp-element-button:hover {
    background-color: var(--sea-green);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.gutenberg-page-content .wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: var(--dark-teal);
    border: 2px solid var(--dark-teal);
}

.gutenberg-page-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--dark-teal);
    color: var(--white);
}

/* Gutenberg columns */
.gutenberg-page-content .wp-block-columns {
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Gutenberg separator */
.gutenberg-page-content .wp-block-separator {
    border: none;
    border-top: 2px solid var(--blaze-orange);
    width: 60px;
    margin: 2.5rem 0;
}

.gutenberg-page-content .wp-block-separator.is-style-wide {
    width: 100%;
    border-top-width: 1px;
    border-top-color: rgba(7, 80, 86, 0.1);
}

@media (max-width: 768px) {
    .gutenberg-page-inner {
        padding: 2.5rem 4%;
    }

    .gutenberg-page-content .alignleft,
    .gutenberg-page-content .alignright {
        float: none;
        margin: 1rem 0;
    }
}

/* =========================================
   Shared: lx-card-link
   ========================================= */
.lx-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Funnel Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-teal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.lx-card-link:hover {
    color: var(--blaze-orange);
    gap: 0.75rem;
}

.lx-card-link .material-icons-outlined {
    font-size: 18px;
}


/* My Custom Edits --- NOT CLAUDE */

@media (max-width: 768px) {
    .events-header .section-header {
        text-align: center;
    }
}


body div#hs-eu-cookie-confirmation {
    top: unset;
    bottom: 0;
}