/*
Theme Name: Amos Greenwood — Authority
Theme URI: http://amosgreenwood.com/
Author: Amos Greenwood Jr.
Description: Premium personal brand authority page.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-custom
*/

/* ─── TOKENS ──────────────────────────────────────────────────── */
:root {
    --bg: #141414;
    --bg-deep: #0e0e0e;
    --surface: #1c1c1c;
    --surface-2: #242424;
    --border: #2a2a2a;
    --ink: #f0ede8;
    --muted: #8a8a8a;
    --gold: #b89a5a;
    --gold-dim: rgba(184, 154, 90, .12);
    --gold-line: rgba(184, 154, 90, .35);
    --white: #ffffff;
    --radius: 4px;
    --max: 1100px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

body.theme-light {
    --bg: #f7f4ef;
    --bg-deep: #edeae3;
    --surface: #ffffff;
    --surface-2: #f2efe9;
    --border: #d8d3c9;
    --ink: #1a1714;
    --muted: #6b635a;
    --gold: #96712e;
    --gold-dim: rgba(150, 113, 46, .10);
    --gold-line: rgba(150, 113, 46, .30);
    --white: #1a1714;
    /* maps --white → deep ink for body text consistency */
}

/* ── HEADER: frosted warm-cream glass ────────────────────────── */
body.theme-light .site-header {
    background: rgba(247, 244, 239, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: rgba(216, 211, 201, 0.7);
    box-shadow: 0 1px 0 rgba(150, 113, 46, 0.06), 0 4px 24px rgba(0, 0, 0, 0.05);
}

body.theme-light .site-title a {
    color: var(--ink);
}

body.theme-light .site-title a span {
    color: var(--gold);
}

/* Desktop nav links */
body.theme-light .site-nav a {
    color: var(--muted);
}

body.theme-light .site-nav a:hover,
body.theme-light .site-nav a:focus {
    color: var(--ink);
}

/* Active/current nav item accent */
body.theme-light .site-nav a[aria-current="page"],
body.theme-light .site-nav a.is-active {
    color: var(--gold);
}

/* Theme toggle button */
body.theme-light .theme-toggle {
    color: var(--ink);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.60);
}

body.theme-light .theme-toggle:hover {
    border-color: var(--gold-line);
    background: var(--gold-dim);
    color: var(--gold);
}

/* Hamburger toggle (mobile) */
body.theme-light .nav-toggle {
    color: var(--ink);
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.60);
}

body.theme-light .nav-toggle:hover {
    border-color: var(--gold-line);
    background: var(--gold-dim);
}

/* ── MOBILE NAV DRAWER: light ivory ──────────────────────────── */
/* Desktop nav — transparent, no background box */
body.theme-light .site-nav {
    background: transparent;
}

/* Desktop nav links */
body.theme-light .site-nav a {
    color: var(--muted);
    opacity: 1;
    visibility: visible;
}

body.theme-light .site-nav a:hover,
body.theme-light .site-nav a:focus {
    color: var(--ink);
}

/* Mobile drawer — light ivory background (scoped to ≤860px) */
@media (max-width: 860px) {
    body.theme-light .site-nav {
        background: #f7f4ef;
        border-left-color: var(--border);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.08);
    }

    body.theme-light .site-nav ul li a {
        color: var(--muted);
    }

    body.theme-light .site-nav ul li a:hover {
        color: var(--gold);
    }
}

/* Mobile nav backdrop softened for light mode */
body.theme-light .nav-backdrop {
    background: rgba(247, 244, 239, 0.55);
}

/* ── HERO ─────────────────────────────────────────────────────── */
body.theme-light .hero-section {
    background-color: var(--bg);
    background-image:
        linear-gradient(180deg,
            rgba(247, 244, 239, 0.82) 0%,
            rgba(247, 244, 239, 0.60) 50%,
            rgba(237, 234, 227, 0.90) 100%),
        url('assets/images/background.png');
}

body.theme-light .hero-section::before {
    background: radial-gradient(ellipse 60% 50% at 50% 40%,
            rgba(150, 113, 46, .09) 0%, transparent 70%);
}

body.theme-light .hero-section::after {
    background-image:
        linear-gradient(rgba(150, 113, 46, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 113, 46, .04) 1px, transparent 1px);
}

body.theme-light .hero-tagline {
    color: var(--ink);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

body.theme-light .hero-tagline .dot {
    color: var(--gold);
}

body.theme-light .hero-name {
    color: var(--ink);
}

body.theme-light .hero-roles {
    color: var(--muted);
}

body.theme-light .hero-divider {
    background: var(--gold);
}

/* ── ABOUT ────────────────────────────────────────────────────── */
body.theme-light .about-section {
    background: linear-gradient(135deg, #edeae2 0%, #f5f2eb 48%, #ece9e1 100%);
}

body.theme-light .about-title {
    color: var(--ink);
}

body.theme-light .about-bio {
    color: var(--muted);
}

body.theme-light .about-bio strong {
    color: var(--ink);
}

body.theme-light .about-photo {
    border-color: var(--border);
    filter: grayscale(5%) contrast(1.04);
}

body.theme-light .about-photo-placeholder {
    background: var(--surface);
    border-color: var(--border);
    color: var(--muted);
}

/* ── PILLARS ──────────────────────────────────────────────────── */
body.theme-light .pillars-section {
    background-image:
        linear-gradient(180deg,
            rgba(237, 234, 227, 0.82) 0%,
            rgba(237, 234, 227, 0.62) 40%,
            rgba(225, 221, 212, 0.90) 100%),
        url('assets/images/pillars.png');
}

body.theme-light .pillars-title {
    color: var(--ink);
}

body.theme-light .pillar-card {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(250, 247, 241, 0.72) 55%,
            rgba(242, 238, 231, 0.85) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

body.theme-light .pillar-card:hover {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(252, 249, 243, 0.90) 60%,
            rgba(245, 242, 235, 0.96) 100%);
}

body.theme-light .pillar-word {
    color: var(--ink);
}

body.theme-light .pillar-number {
    color: var(--gold);
}

body.theme-light .pillar-items {
    color: var(--muted);
}

/* ── BUSINESSES ───────────────────────────────────────────────── */
body.theme-light .businesses-section {
    background: var(--bg);
}

body.theme-light .business-card {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(252, 249, 243, 0.85) 55%,
            rgba(245, 241, 233, 0.95) 100%);
    border-color: var(--border);
}

body.theme-light .business-card:hover {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 1.0) 0%,
            rgba(255, 252, 245, 0.95) 60%,
            rgba(248, 244, 236, 1.0) 100%);
    border-color: var(--gold-line);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

body.theme-light .business-name {
    color: var(--ink);
}

body.theme-light .business-label {
    color: var(--muted);
}

body.theme-light .business-desc {
    color: var(--muted);
}

body.theme-light .business-tagline {
    color: var(--gold);
}

body.theme-light .biz-tag {
    border-color: var(--border);
    color: var(--muted);
    background: var(--surface-2);
}

body.theme-light .business-card:hover .biz-tag {
    border-color: var(--gold-line);
    color: var(--ink);
}

body.theme-light .biz-meta {
    border-top-color: var(--border);
}

body.theme-light .biz-meta-item {
    color: var(--muted);
}

body.theme-light .biz-meta-item strong {
    color: var(--ink);
}



/* ── SOCIAL ───────────────────────────────────────────────────── */
body.theme-light .social-section {
    background: var(--bg-deep);
}

body.theme-light .social-title {
    color: var(--ink);
}

body.theme-light .social-link {
    background: var(--surface);
    border-color: var(--border);
    color: var(--muted);
}

body.theme-light .social-link:hover {
    border-color: var(--gold-line);
    color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ── GALLERY ──────────────────────────────────────────────────── */
body.theme-light .gallery-section {
    background: var(--bg);
}

body.theme-light .gallery-item {
    border-color: var(--border);
    background: var(--surface-2);
}

body.theme-light .gallery-item img {
    filter: grayscale(5%) contrast(1.05);
}

/* ── CONTACT ──────────────────────────────────────────────────── */
body.theme-light .contact-section {
    background: var(--bg);
}

body.theme-light .contact-title {
    color: var(--ink);
}

body.theme-light .contact-sub {
    color: var(--muted);
}

body.theme-light .contact-email {
    color: var(--gold);
    border-bottom-color: var(--gold-line);
}

body.theme-light .contact-meta {
    border-top-color: var(--border);
}

body.theme-light .contact-meta-label {
    color: var(--gold);
}

body.theme-light .contact-meta-item a,
body.theme-light .contact-meta-item span {
    color: var(--muted);
}

body.theme-light .contact-meta-item a:hover {
    color: var(--ink);
}

/* ── CONTACT FORM WRAP ────────────────────────────────────────── */
body.theme-light .contact-form-wrap {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.theme-light .wpcf7 input,
body.theme-light .wpcf7 textarea,
body.theme-light .wpcf7 select {
    background: var(--bg);
    border-color: var(--border);
    color: var(--ink);
}

body.theme-light .wpcf7 input::placeholder,
body.theme-light .wpcf7 textarea::placeholder {
    color: var(--muted);
    opacity: 0.7;
}

body.theme-light .wpcf7 input:focus,
body.theme-light .wpcf7 textarea:focus {
    border-color: var(--gold-line);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(150, 113, 46, .08);
}

body.theme-light .wpcf7 label {
    color: var(--muted);
}

body.theme-light .wpcf7 input[type="submit"] {
    background: var(--gold-dim);
    border-color: var(--gold-line);
    color: var(--gold);
}

body.theme-light .wpcf7 input[type="submit"]:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
body.theme-light .site-footer {
    background: var(--bg-deep);
    border-top-color: var(--border);
}

body.theme-light .footer-copy {
    color: var(--muted);
}

body.theme-light .footer-name {
    color: var(--border);
}

/* ── DIVIDERS & RULES ─────────────────────────────────────────── */
body.theme-light .ag-rule {
    border-top-color: var(--border);
}

/* ── SECTION LABELS ───────────────────────────────────────────── */
body.theme-light .section-label {
    color: var(--gold);
}

a {
    text-decoration: none;
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ─── HEADER / NAV ────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(14, 14, 14, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.site-title a {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--white);
}

.site-title a span {
    color: var(--gold);
}

.site-description {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav {
    display: block;
    visibility: visible;
    opacity: 1;
}

.site-nav a {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color var(--transition);
}

.site-nav a:hover {
    color: var(--ink);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(20, 20, 20, 0.08);
    color: var(--ink);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.theme-toggle:hover {
    border-color: var(--gold-line);
    background: var(--gold-dim);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-sun {
    display: none;
}

body.theme-light .theme-toggle .icon-sun {
    display: block;
}

body.theme-light .theme-toggle .icon-moon {
    display: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(20, 20, 20, 0.8);
    color: var(--ink);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.nav-toggle:hover {
    border-color: var(--gold-line);
    background: rgba(184, 154, 90, 0.12);
}

.nav-toggle-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition), background var(--transition);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition), top var(--transition), opacity var(--transition);
}

.nav-toggle-icon::before {
    top: -6px;
}

.nav-toggle-icon::after {
    top: 6px;
}

body.nav-open .nav-toggle-icon {
    background: transparent;
}

body.nav-open .nav-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
}

body.nav-open .nav-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 150;
}

body.nav-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* ─── MAIN ────────────────────────────────────────────────────── */
.main {
    padding-top: 64px;
}

/* ─── SECTION BASE ────────────────────────────────────────────── */
.ag-section {
    padding: 96px 24px;
    max-width: var(--max);
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

/* â”€â”€â”€ SCROLL REVEAL â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
    animation: reveal-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-tagline span {
        animation: none;
        filter: none;
    }

    .reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
    background-color: var(--bg);
    background-image:
        linear-gradient(180deg, rgba(14, 14, 14, 0.78) 0%, rgba(14, 14, 14, 0.6) 50%, rgba(14, 14, 14, 0.85) 100%),
        url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(184, 154, 90, .06) 0%, transparent 70%);
    pointer-events: none;
}

/* Subtle grid texture */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 154, 90, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 154, 90, .03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-tagline {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--white);
    margin-bottom: 28px;
    text-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-tagline span {
    display: block;
    animation: hero-slam 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity;
}

.hero-tagline span:nth-child(1) {
    animation-delay: 0.08s;
}

.hero-tagline span:nth-child(2) {
    animation-delay: 0.24s;
}

.hero-tagline span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes hero-slam {
    0% {
        opacity: 0;
        transform: translateY(70px) skewY(6deg) scale(0.98);
        filter: blur(4px);
    }

    60% {
        opacity: 1;
        transform: translateY(-8px) skewY(-1deg) scale(1.02);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) skewY(0) scale(1);
    }
}

.hero-tagline .dot {
    color: var(--gold);
    font-weight: 300;
}

.hero-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 28px;
    opacity: .6;
}

.hero-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 8px;
}

.hero-roles {
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 48px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    margin-bottom: 28px;
    border: 1px solid var(--gold-line);
    background: var(--gold-dim);
    color: var(--gold);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.hero-cta:hover {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

.hero-cta svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ─── RULE ────────────────────────────────────────────────────── */
.ag-rule {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about-section {
    background:
        linear-gradient(135deg, #0b0f12 0%, #14181c 48%, #0e1114 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 72px;
    align-items: center;
}

.about-photo-wrap {
    position: relative;
}

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    overflow: hidden;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    filter: grayscale(5%);
}

/* Accent removed as per user request to avoid "boxy" look */
.about-photo-accent {
    display: none;
}

.about-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -.01em;
}

.about-bio {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 580px;
}

.about-bio strong {
    color: var(--ink);
    font-weight: 600;
}

/* ─── PILLARS ─────────────────────────────────────────────────── */
.pillars-section {
    background-color: var(--bg-deep);
    background-image:
        linear-gradient(180deg, rgba(14, 14, 14, 0.7) 0%, rgba(14, 14, 14, 0.55) 40%, rgba(14, 14, 14, 0.85) 100%),
        url('assets/images/pillars.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.pillars-section .ag-section {
    padding-top: 96px;
    padding-bottom: 96px;
    position: relative;
    z-index: 1;
}


.pillars-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.pillars-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 auto;
    max-width: 980px;
    width: 100%;
}

.pillar-card {
    background: linear-gradient(145deg, rgba(12, 12, 12, 0.75) 0%, rgba(18, 18, 18, 0.6) 55%, rgba(10, 10, 10, 0.78) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 64px 40px;
    position: relative;
    transition: background var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card:hover {
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.8) 0%, rgba(24, 24, 24, 0.7) 60%, rgba(18, 18, 18, 0.85) 100%);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-number {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.pillar-word {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.pillar-items {
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 2.4;
}

/* ─── BUSINESSES ──────────────────────────────────────────────── */
.businesses-section {
    background: var(--bg);
}

.businesses-header {
    margin-bottom: 56px;
}

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

.business-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    background: linear-gradient(145deg, rgba(12, 12, 12, 0.75) 0%, rgba(18, 18, 18, 0.6) 55%, rgba(10, 10, 10, 0.78) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color var(--transition), background var(--transition);
    position: relative;
}

.business-card:hover {
    border-color: var(--gold-line);
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.8) 0%, rgba(24, 24, 24, 0.7) 60%, rgba(18, 18, 18, 0.85) 100%);
}

.business-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}

.business-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}

.business-desc {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
}

.business-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    transition: gap var(--transition);
}

.business-link:hover {
    gap: 14px;
}

.business-link svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.business-logo-wrap {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.business-logo {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;

}



/* ─── SOCIAL ──────────────────────────────────────────────────── */
.social-section {
    background: var(--bg-deep);
}

.social-section .ag-section {
    text-align: center;
}

.social-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 48px;
    letter-spacing: -.01em;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-link:hover {
    border-color: var(--gold-line);
    color: var(--gold);
    background: var(--gold-dim);
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
.contact-section {
    background: var(--bg);
}

.contact-inner {
    max-width: 640px;
}

.contact-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
    margin-bottom: 16px;
}

.contact-sub {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    border-bottom: 1px solid var(--gold-line);
    padding-bottom: 4px;
    transition: border-color var(--transition), opacity var(--transition);
}

.contact-email:hover {
    opacity: .75;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 32px 24px;
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-name {
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--border);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 860px) {
    .header-inner {
        padding: 0 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        background: #0b0f12;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 96px 24px 24px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 130;
        border-left: 1px solid var(--border);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);
    }

    body.nav-open .site-nav {
        transform: translateX(0);
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .site-nav a {
        font-size: 1rem;
        letter-spacing: .18em;
        color: var(--ink);
    }

    .nav-actions {
        gap: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-photo-wrap {
        max-width: 280px;
        margin: 0 auto;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .businesses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ag-section {
        padding: 72px 20px;
    }

    .header-inner {
        height: 60px;
    }

    .main {
        padding-top: 60px;
    }

    .site-nav {
        width: min(86vw, 320px);
        padding-top: 88px;
    }

    .theme-toggle,
    .nav-toggle {
        width: 38px;
        height: 38px;
    }

    .hero-tagline {
        margin-bottom: 20px;
    }

    .hero-divider {
        margin-bottom: 20px;
    }

    .hero-roles {
        letter-spacing: .12em;
        margin-bottom: 36px;
        line-height: 1.6;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
    }


    .pillar-card {
        padding: 40px 28px;
    }

    .business-card {
        padding: 32px 24px;
    }

    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-link {
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ─── BUSINESS CARD ENHANCEMENTS ────────────────────────────── */
.business-tagline {
    font-size: .82rem;
    font-style: italic;
    color: var(--gold);
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.business-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 16px;
}

.biz-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: border-color var(--transition), color var(--transition);
}

.business-card:hover .biz-tag {
    border-color: var(--gold-line);
    color: var(--ink);
}

.business-events {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.event-type {
    display: inline-block;
    padding: 5px 14px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-line);
    border-radius: 2px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}

.business-locations {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.7;
}

.business-locations svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    stroke: var(--gold);
    opacity: .7;
}

.business-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 20px;
    transition: color var(--transition);
}

.business-phone:hover {
    color: var(--gold);
}

.business-phone svg {
    width: 15px;
    height: 15px;
    stroke: var(--gold);
    flex-shrink: 0;
}

/* ─── GALLERY ─────────────────────────────────────────────────── */
.gallery-section {
    background: var(--bg);
    overflow: hidden;
}

.gallery-strip {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 40px 0 96px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    -webkit-overflow-scrolling: touch;
}

.gallery-strip::-webkit-scrollbar {
    height: 4px;
}

.gallery-strip::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-strip::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 220px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: grayscale(10%) contrast(1.05);
}

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

@media (max-width: 640px) {
    .gallery-item {
        width: 240px;
        height: 180px;
    }
}

/* ─── CONTACT LAYOUT ─────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 72px;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
    color: var(--muted);
}

.contact-info-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    flex-shrink: 0;
}

.contact-info-item a {
    color: var(--muted);
    transition: color var(--transition);
}

.contact-info-item a:hover {
    color: var(--gold);
}

/* ─── CONTACT FORM 7 DARK SKIN ────────────────────────────────── */
.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

/* Remove CF7 default browser outline spam */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    padding: 14px 16px;
    transition: border-color var(--transition);
    outline: none;
    display: block;
    margin-top: 6px;
    margin-bottom: 20px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--gold-line);
    background: var(--bg-deep);
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7 label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.wpcf7 input[type="submit"] {
    background: var(--gold-dim);
    border: 1px solid var(--gold-line);
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 14px 32px;
    width: auto;
    transition: background var(--transition), color var(--transition);
    margin-bottom: 0;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
}

.wpcf7-response-output {
    border: 1px solid var(--gold-line) !important;
    background: var(--gold-dim) !important;
    color: var(--gold) !important;
    border-radius: var(--radius) !important;
    padding: 12px 16px !important;
    font-size: .82rem !important;
    margin-top: 12px !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #e07070;
    font-size: .75rem;
    margin-top: -16px;
    margin-bottom: 12px;
    display: block;
}

/* CF7 ajax spinner */
.wpcf7 .wpcf7-spinner {
    margin: 0 10px;
}

.cf7-fallback {
    color: var(--muted);
    font-size: .88rem;
}

.cf7-fallback-note {
    color: var(--muted);
    font-size: .78rem;
    margin-top: 8px;
    line-height: 1.6;
}

.cf7-fallback-note strong {
    color: var(--gold);
}

/* ─── BUSINESS META (text-based, no large icons) ────────────── */
.biz-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.biz-meta-item {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6;
}

.biz-meta-item strong {
    color: var(--ink);
    font-weight: 600;
    margin-right: 6px;
}

.biz-meta-item a {
    color: var(--muted);
    transition: color var(--transition);
}

.biz-meta-item a:hover {
    color: var(--gold);
}

/* ─── CONTACT META (text-based) ──────────────────────────────── */
.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.contact-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .9rem;
}

.contact-meta-label {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-meta-item a,
.contact-meta-item span {
    color: var(--muted);
    transition: color var(--transition);
}

.contact-meta-item a:hover {
    color: var(--ink);
}

/* ─── STRIP EXTRA MARGINS FROM CF7 P WRAPPERS ──────────────── */
.wpcf7 form p {
    margin: 0;
}

/* ─── SOCIAL SVG ICON SIZING LOCK ──────────────────────────── */
.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ─── AG CREST WATERMARK ─────────────────────────────────── */
.ag-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 60%);
    height: auto;
    opacity: 0.06;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    /* Default: dark sections — invert black PNG to white */
    filter: invert(1);
    opacity: 0.04;
}

/* Light sections — keep crest dark but very subtle */
.ag-watermark--light {
    opacity: 0.04;
}

/* Ensure sections that host a watermark have position:relative */
.pillars-section,
.contact-section,
.vision-hero,
.vision-block {
    position: relative;
    overflow: hidden;
}

/* Vision hero — full-background logomark */
.vision-hero .ag-watermark {
    width: min(900px, 90%);
    opacity: 0.07;
}

/* Light theme: ensure watermarks are consistent */
body.theme-light .ag-watermark {
    filter: none;
    opacity: 0.04;
}

/* ─── HEADER LOGO – LIGHT THEME ──────────────────────────── */
/* Logomark_1.jpg is black-on-white; on dark header it needs invert */
.site-title img {
    filter: invert(1);
}

body.theme-light .site-title img {
    filter: none;
}

/* ─── CURRENTLY BUILDING ─────────────────────────────────── */
.building-section {
    background: var(--bg);
    padding: 100px 0;
}

.building-header {
    margin-bottom: 40px;
}

.building-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}

.building-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
    max-width: 640px;
}

.building-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.building-item strong {
    color: var(--ink);
}

.building-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 10px;
}

.building-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid var(--gold-line);
    background: var(--gold-dim);
    color: var(--gold);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: background var(--transition), color var(--transition), border-color var(--transition), gap var(--transition);
}

.building-cta:hover {
    background: var(--gold);
    color: var(--bg);
    border-color: var(--gold);
    gap: 16px;
}

/* ─── VISION PAGE ─────────────────────────────────────────── */
.vision-page {
    padding-top: 0;
}

.vision-hero {
    background: var(--bg);
    padding-top: 64px;
    min-height: 62vh;
    display: flex;
    align-items: center;
}

.vision-hero-inner {
    position: relative;
    z-index: 1;
}

.vision-headline {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.02em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.vision-lead {
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 24px;
}

.vision-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    opacity: .55;
    margin: 32px 0;
}

.vision-body {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.85;
    max-width: 640px;
    margin-bottom: 16px;
}

.vision-body strong {
    color: var(--ink);
    font-weight: 600;
}

.vision-body.vision-emphasis {
    color: var(--ink);
    font-style: italic;
}

.vision-tenets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding-left: 0;
}

.vision-tenets li {
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--gold);
    padding-left: 20px;
    position: relative;
}

.vision-tenets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    opacity: .5;
}

.vision-block {
    background: var(--bg);
    padding: 100px 0;
}

.vision-block--dark {
    background: var(--bg-deep);
}

.vision-block-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
    margin-bottom: 28px;
    margin-top: 8px;
}

.vision-list {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vision-list li {
    font-size: .95rem;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
}

.vision-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* Light theme overrides for vision */
body.theme-light .vision-hero {
    background: var(--bg);
}

body.theme-light .vision-block--dark {
    background: var(--bg-deep);
}

body.theme-light .vision-block--dark .vision-block-title {
    color: var(--ink);
}

body.theme-light .vision-headline {
    color: var(--ink);
}

/* ─── HIDE TRUSTEDSITE BADGE ────────────────────────────────── */
#trustedSiteBadge,
#trustedsiteBadge,
#trustedsite-badge,
#trustedSite,
#trustedsite,
#trustedSiteContainer,
#trustedsite-container,
#trustedSiteWrapper,
#trustedsite-wrapper,
#trustedsiteseal,
#trustedSiteSeal,
#tsbadge,
.trustedsite-badge,
.trustedsite-container,
[id^="trustedSite"],
[id^="trustedsite"],
div[id*="trustedSite"],
div[id*="trustedsite"],
div[class*="trustedSite"],
div[class*="trustedsite"],
iframe[src*="trustedsite"],
img[src*="trustedsite"],
a[href*="trustedsite"],
a[href*="trusted-site"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* ─── EA CONTACT BLOCK ────────────────────────────────────────── */
.ea-contact-block {
    margin-top: 32px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
}

.ea-contact-title {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.ea-contact-info {
    font-size: .9rem;
    color: var(--muted);
}

.ea-contact-info strong {
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
}

/* ─── NAVIGATION FIXES ────────────────────────────────────────── */
@media (max-width: 860px) {
    .site-nav {
        pointer-events: none;
    }

    body.nav-open .site-nav {
        pointer-events: auto;
    }
}