/*
Theme Name: Artinno Sophisticated
Theme URI: https://artinno.com
Author: Artinno
Author URI: https://artinno.com
Description: Creative-tech studio hub — brave, warm, handcrafted. Art, Innovation, Data/AI, Education, and 3D.
Version: 2.0.0
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: artinno_sophisticated
Tags: creative, portfolio, studio, editorial, tech
*/

/* =========================================
   CSS Custom Properties
   ========================================= */
:root {
    /* ── Domain palette (color = meaning) ── */
    --sage:           #5E9478;   /* Innovation / Housing  */
    --sage-tint:      #D8EEE4;
    --amber:          #C98A1A;   /* Data / AI             */
    --amber-tint:     #FAEFD3;
    --slate:          #4A7FA8;   /* Education             */
    --slate-tint:     #D8EAF5;
    --coral:          #C9705A;   /* 3D / Art              */
    --coral-tint:     #F5E0DA;
    --purple:         #7C6FB0;   /* Brand / General       */
    --purple-tint:    #EAE6F5;

    /* ── Neutrals ───────────────────────── */
    --cream:          #FAF8F4;
    --cream-2:        #F2EDE6;
    --ink:            #18142A;
    --ink-mid:        #3D3850;
    --ink-muted:      #6B6688;
    --border:         rgba(24, 20, 42, 0.10);
    --border-strong:  rgba(24, 20, 42, 0.22);

    /* ── Status ─────────────────────────── */
    --live:           #2D8F5F;
    --live-bg:        #D0EDDF;
    --progress:       #C98A1A;
    --progress-bg:    #FAEFD3;
    --planned:        #7A7A8A;
    --planned-bg:     #EAEAED;

    /* ── Typography ─────────────────────── */
    --font-heading:   'Cormorant Garamond', Georgia, serif;
    --font-body:      'Jost', system-ui, sans-serif;

    /* ── Radii ──────────────────────────── */
    --radius-card:    12px;
    --radius-btn:     100px;
    --radius-sm:      6px;
    --radius-pill:    100px;

    /* ── Depth ──────────────────────────── */
    --shadow-card:    0 2px 20px rgba(24, 20, 42, 0.07);
    --shadow-hover:   0 8px 40px rgba(24, 20, 42, 0.14);
    --transition:     0.25s ease;
    --opacity-muted:  0.70;

    /* ── Legacy aliases (inner pages) ───── */
    --deep-olive:     var(--ink);
    --warm-gold:      var(--purple);
    --soft-mauve:     var(--coral-tint);
    --blush-pink:     var(--cream-2);
    --body-dark:      var(--ink);
    --forest:         var(--ink);
    --mint:           var(--purple);
    --white:          var(--cream);
    --black:          var(--ink);
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400; letter-spacing: 0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); font-weight: 400; letter-spacing: 0.01em; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
h5 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }

p {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--ink-mid);
}

/* =========================================
   Container
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container--wide {
    max-width: 1400px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--purple);
    color: #fff;
    border-color: var(--purple);
}
.btn--primary:hover {
    background-color: var(--ink);
    border-color: var(--ink);
    color: #fff;
    box-shadow: 0 4px 16px rgba(24, 20, 42, 0.20);
}

.btn--mint {
    background-color: var(--purple);
    color: #fff;
    border-color: var(--purple);
}
.btn--mint:hover {
    background-color: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn--outline {
    background-color: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
}
.btn--outline:hover {
    background-color: var(--ink);
    color: var(--cream);
}

/* White outline variant (for dark backgrounds) */
.btn--outline-white {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn--outline-white:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* =========================================
   Navigation
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
    padding: 20px 0;
    background-color: rgba(250, 248, 244, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: normal;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-art  { color: var(--ink); }
.logo-inno { color: var(--purple); }

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

.nav-menu li a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--ink-mid);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), color var(--transition);
    text-decoration: none;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    background-color: var(--purple-tint);
    color: var(--purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background-color: var(--cream);
}

.hero__content {
    max-width: 760px;
}

/* Eyebrow — replaces pill tags */
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 32px;
}

.hero__eyebrow::before {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: normal;
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: 0.01em;
    color: var(--ink);
    line-height: 1.05;
    margin-bottom: 28px;
}

.hero__desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--ink-muted);
    max-width: 540px;
    margin-bottom: 44px;
    line-height: 1.75;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Legacy hero elements (inner pages) */
.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--purple);
    padding: 0 0 6px 0;
    border-radius: 0;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(124, 111, 176, 0.35);
}

/* =========================================
   Project Ecosystem Section
   ========================================= */
.projects-section {
    background-color: var(--ink);
    padding: 96px 0;
}

.projects-section .section__label {
    color: var(--purple);
}
.projects-section .section__label::before {
    background-color: var(--purple);
}

.projects-section h2 {
    color: var(--cream);
}

.projects-section .section__desc {
    color: rgba(250, 248, 244, 0.60);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Domain color top strip */
.project-card__strip {
    height: 5px;
    width: 100%;
    flex-shrink: 0;
}

.project-card--sage  .project-card__strip { background: var(--sage); }
.project-card--amber .project-card__strip { background: var(--amber); }
.project-card--coral .project-card__strip { background: var(--coral); }
.project-card--slate .project-card__strip { background: var(--slate); }

.project-card__body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-card__status {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.project-card__status--live     { background: var(--live-bg);     color: var(--live); }
.project-card__status--progress { background: var(--progress-bg); color: var(--progress); }
.project-card__status--planned  { background: var(--planned-bg);  color: var(--planned); }

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 8px;
    line-height: 1.1;
}

.project-card__url {
    font-family: var(--font-body);
    font-size: 0.80rem;
    font-weight: 500;
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
    opacity: 0.75;
    transition: opacity var(--transition);
}
.project-card--sage  .project-card__url { color: var(--sage); }
.project-card--amber .project-card__url { color: var(--amber); }
.project-card--coral .project-card__url { color: var(--coral); }
.project-card--slate .project-card__url { color: var(--slate); }

.project-card:hover .project-card__url { opacity: 1; }

.project-card p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(250, 248, 244, 0.55);
    margin-top: auto;
}

/* =========================================
   Stats Row Section
   ========================================= */
.stats-section {
    background-color: var(--purple-tint);
    padding: 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-block {
    padding: 56px 32px;
    text-align: center;
    border-right: 1px solid rgba(124, 111, 176, 0.18);
    transition: background-color var(--transition);
}

.stat-block:last-child {
    border-right: none;
}

.stat-block:hover {
    background-color: rgba(124, 111, 176, 0.08);
}

.stat-block__num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}

.stat-block__label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0.03em;
}

/* =========================================
   Mission Section
   ========================================= */
.mission-section {
    background-color: var(--cream);
    padding: 112px 0;
}

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
}

.mission-left .section__label {
    margin-bottom: 20px;
}

.mission-left h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    font-style: normal;
    color: var(--ink);
    line-height: 1.2;
}

.mission-right p {
    font-size: 1.05rem;
    line-height: 1.80;
    color: var(--ink-mid);
    margin-bottom: 24px;
}

.mission-right p:last-child {
    margin-bottom: 0;
}

/* =========================================
   Team / Founders Section (front page)
   ========================================= */
.team-section {
    background-color: #fff;
    padding: 96px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.founder-card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 36px;
    background: var(--cream);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    transition: box-shadow var(--transition), border-color var(--transition);
}

.founder-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 111, 176, 0.25);
}

.founder-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--purple-tint);
    color: var(--purple);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.01em;
    user-select: none;
}

.founder-card__avatar--alt {
    background: var(--sage-tint);
    color: var(--sage);
}

.founder-card__name {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    font-style: normal;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
}

.founder-card__role {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 14px;
}

.founder-card__bio {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--ink-muted);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        flex-direction: column;
        gap: 20px;
    }
}

/* =========================================
   CTA Banner Section
   ========================================= */
.cta-banner {
    background-color: var(--purple);
    padding: 96px 0;
}

.cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-banner__text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    font-style: normal;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.15;
}

.cta-banner__text p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 460px;
}

.btn--cta {
    background: #fff;
    color: var(--purple);
    border: 2px solid #fff;
    flex-shrink: 0;
}
.btn--cta:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

/* =========================================
   Section Commons
   ========================================= */
.section {
    padding: 96px 0;
}

.section--sm {
    padding: 64px 0;
}

.section--lg {
    padding: 128px 0;
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 12px;
}

.section__label svg { display: none; }

.section__label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background-color: var(--purple);
    opacity: 0.6;
}

.section__header {
    margin-bottom: 56px;
}

.section__title {
    margin-bottom: 16px;
}

.section__desc {
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--ink-muted);
    max-width: 520px;
}

/* =========================================
   Cards
   ========================================= */
.card {
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.card:hover {
    border-color: rgba(124, 111, 176, 0.30);
    box-shadow: var(--shadow-hover);
}

.card--white {
    background-color: var(--cream);
}

.card--forest {
    background-color: var(--ink);
    color: var(--cream-2);
}

.card--forest h3,
.card--forest h4,
.card--forest p,
.card--forest .card__meta {
    color: var(--cream-2);
}

.card--forest .card__tag {
    background-color: rgba(250, 242, 230, 0.12);
    color: var(--cream-2);
}

.card--pink {
    background-color: var(--purple-tint);
    color: var(--ink);
}

.card--hot-pink {
    background-color: var(--coral-tint);
    color: var(--ink);
}

.card__image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.card__image-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: var(--cream-2);
    overflow: hidden;
}

.card__body {
    padding: 28px;
}

.card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--purple-tint);
    color: var(--purple);
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.card__meta {
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-muted);
}

.card__title {
    margin-bottom: 12px;
}

.card__excerpt {
    font-size: 0.95rem;
    color: var(--ink-muted);
    margin-bottom: 20px;
}

.card__link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition), border-color var(--transition);
    border-bottom: 1px solid rgba(124, 111, 176, 0.35);
    padding-bottom: 2px;
    letter-spacing: 0.02em;
}

.card--forest .card__link {
    color: var(--cream-2);
    border-bottom-color: rgba(250, 242, 230, 0.35);
}

.card__link:hover {
    gap: 10px;
    border-bottom-color: var(--purple);
}

/* =========================================
   Events Section
   ========================================= */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* =========================================
   About Section (interior pages)
   ========================================= */
.about-section {
    background-color: var(--ink);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.05;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.about-section .section__label { color: var(--purple); }
.about-section .section__label::before { background-color: var(--purple); }

.about-section .section__title,
.about-section .section__desc,
.about-section p,
.about-section h2 {
    color: var(--cream-2);
}

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

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-card);
    padding: 24px;
}

.stat-item__num {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 2.5rem;
    color: var(--purple);
    letter-spacing: 0.01em;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-item__label {
    font-size: 0.9rem;
    color: var(--cream-2);
    opacity: 0.65;
    font-weight: 400;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: rgba(255, 255, 255, 0.06);
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--purple);
    color: #fff;
    border-radius: var(--radius-card);
    padding: 16px 20px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
   Grid Utilities
   ========================================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

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

/* =========================================
   Page Hero (interior pages)
   ========================================= */
.page-hero {
    background-color: var(--ink);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.07;
    bottom: -200px;
    right: -100px;
    pointer-events: none;
}

.page-hero .section__label { color: var(--purple); }
.page-hero h1              { color: var(--cream); letter-spacing: 0.01em; }
.page-hero p               { color: var(--cream); opacity: 0.65; }

/* =========================================
   Gallery
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-card);
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--cream-2);
    cursor: pointer;
    position: relative;
}

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

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

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 20, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay span {
    color: var(--cream);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.gallery-item--wide {
    grid-column: span 2;
}

/* =========================================
   Blog List
   ========================================= */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.posts-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* =========================================
   Single Post
   ========================================= */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
}

.post-content {
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 48px;
}

.post-content .entry-content h2 { font-size: 1.75rem; margin: 32px 0 16px; }
.post-content .entry-content h3 { font-size: 1.35rem; margin: 28px 0 12px; }
.post-content .entry-content p  { margin-bottom: 20px; font-weight: 400; color: var(--ink-mid); }
.post-content .entry-content ul,
.post-content .entry-content ol { padding-left: 24px; margin-bottom: 20px; list-style: disc; }
.post-content .entry-content li { margin-bottom: 6px; }
.post-content .entry-content img { border-radius: var(--radius-sm); margin: 24px 0; }
.post-content .entry-content blockquote {
    border-top: 1px solid rgba(124, 111, 176, 0.35);
    border-bottom: 1px solid rgba(124, 111, 176, 0.35);
    border-left: none;
    padding: 24px 0;
    margin: 32px 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    font-weight: 300;
    text-align: center;
    color: var(--ink);
    letter-spacing: 0.01em;
}

.post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 28px;
}

.sidebar-widget h4 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(124, 111, 176, 0.20);
}

/* =========================================
   Contact
   ========================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { color: var(--ink-muted); margin-bottom: 32px; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail__icon {
    width: 44px;
    height: 44px;
    background-color: var(--purple-tint);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--purple);
}

.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--ink);
    background-color: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124, 111, 176, 0.12);
}

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

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--ink);
    padding: 72px 0 36px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 260px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: normal;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.footer-logo .logo-art  { color: var(--cream); }
.footer-logo .logo-inno { color: var(--purple); }

.footer-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(250, 248, 244, 0.45);
    line-height: 1.6;
}

.footer-email-link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--purple);
    text-decoration: none;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-email-link:hover {
    color: var(--cream);
}

.footer-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(250, 248, 244, 0.55);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background-color var(--transition);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--cream);
    background-color: rgba(255, 255, 255, 0.06);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250, 248, 244, 0.65);
    font-size: 0.85rem;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.social-link:hover {
    background-color: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(250, 248, 244, 0.35);
    font-family: var(--font-body);
}

.footer-copyright a {
    color: rgba(250, 248, 244, 0.55);
    transition: color var(--transition);
}
.footer-copyright a:hover {
    color: var(--cream);
}

/* =========================================
   Filter Bar
   ========================================= */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

/* =========================================
   Pagination
   ========================================= */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 56px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-strong);
    color: var(--ink);
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
    background-color: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

/* =========================================
   Team Grid
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--cream);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}

.team-card:hover {
    box-shadow: var(--shadow-hover);
}

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

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

.team-card__body {
    padding: 20px;
}

.team-card__name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--ink);
}

.team-card__role {
    font-size: 0.85rem;
    color: var(--purple);
    font-weight: 500;
}

/* =========================================
   Utility Classes
   ========================================= */
.text-center   { text-align: center; }
.text-purple   { color: var(--purple); }
.text-sage     { color: var(--sage); }
.text-amber    { color: var(--amber); }
.text-slate    { color: var(--slate); }
.text-coral    { color: var(--coral); }
.text-ink      { color: var(--ink); }
.text-cream    { color: var(--cream); }
.text-muted    { color: var(--ink-muted); }

/* Legacy utility aliases */
.text-mint     { color: var(--purple); }
.text-pink     { color: var(--coral); }
.text-forest   { color: var(--ink); }
.text-olive    { color: var(--ink); }
.text-gold     { color: var(--purple); }
.text-mauve    { color: var(--coral-tint); }
.text-hotpink  { color: var(--cream-2); }

.bg-ink        { background-color: var(--ink); }
.bg-purple     { background-color: var(--purple); }
.bg-cream      { background-color: var(--cream); }
.bg-forest     { background-color: var(--ink); }
.bg-mint       { background-color: var(--purple); }
.bg-pink       { background-color: var(--purple-tint); }
.bg-hot-pink   { background-color: var(--coral-tint); }
.bg-white      { background-color: var(--cream); }
.bg-olive      { background-color: var(--ink); }

.section-rule {
    display: block;
    width: 48px;
    height: 1px;
    background-color: var(--purple);
    opacity: 0.45;
    margin: 16px 0;
}

.section--forest-bg  { background-color: var(--ink); }
.section--mint-bg    { background-color: var(--purple); }
.section--hotpink-bg { background-color: var(--coral-tint); }

.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

/* =========================================
   WordPress Core Classes
   ========================================= */
.wp-block-image img { border-radius: var(--radius-sm); }
.aligncenter { text-align: center; margin: 0 auto; }
.alignleft   { float: left; margin-right: 24px; }
.alignright  { float: right; margin-left: 24px; }
.wp-caption  { max-width: 100%; }

/* =========================================
   Responsive — Tablet (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stat-block {
        border-bottom: 1px solid rgba(124, 111, 176, 0.18);
    }

    .stat-block:nth-child(2n) {
        border-right: none;
    }

    .stat-block:nth-child(3),
    .stat-block:nth-child(4) {
        border-bottom: none;
    }

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

    .cta-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

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

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

    .about-image-wrap {
        aspect-ratio: 16/7;
    }

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

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

    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }

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

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

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

    .gallery-item--wide {
        grid-column: span 1;
    }

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

/* =========================================
   Responsive — Mobile (≤ 768px)
   ========================================= */
@media (max-width: 768px) {
    h1 { letter-spacing: 0.01em; }
    h2 { letter-spacing: 0.01em; }

    .section { padding: 64px 0; }
    .projects-section { padding: 64px 0; }
    .mission-section { padding: 72px 0; }
    .cta-banner { padding: 64px 0; }

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

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

    .stat-block {
        padding: 36px 20px;
    }

    .stat-block:nth-child(3),
    .stat-block:nth-child(4) {
        border-bottom: none;
    }

    .nav-menu,
    .nav-actions .btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile nav overlay */
    .nav-open .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background-color: var(--cream);
        z-index: 999;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

    .nav-open .nav-menu li a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 400;
    }

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

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .posts-grid,
    .posts-grid--3 {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

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

    .post-content {
        padding: 28px 20px;
    }

    .contact-form-wrap {
        padding: 24px 20px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .stat-block {
        border-right: none !important;
        border-bottom: 1px solid rgba(124, 111, 176, 0.18) !important;
    }

    .stat-block:last-child {
        border-bottom: none !important;
    }

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

}

/* =========================================
   Accessibility & UX
   ========================================= */
.btn:focus-visible,
.nav-menu li a:focus-visible,
.card__link:focus-visible,
.filter-btn:focus-visible,
.page-numbers:focus-visible,
.social-link:focus-visible,
.footer-nav a:focus-visible,
.footer-email-link:focus-visible,
.gallery-item:focus-visible,
.project-card:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124, 111, 176, 0.12);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   Form Alerts
   ========================================= */
.form-alert {
    border-radius: var(--radius-card);
    padding: 24px;
    margin-bottom: 24px;
    text-align: center;
}
.form-alert--success {
    background: rgba(124, 111, 176, 0.08);
    border: 1px solid var(--purple);
}
.form-alert--error {
    background: rgba(201, 112, 90, 0.10);
    border: 1px solid var(--coral);
    padding: 16px;
    text-align: left;
}

/* =========================================
   Featured Post Card
   ========================================= */
.card--featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    overflow: hidden;
}
@media (max-width: 768px) {
    .card--featured { grid-template-columns: 1fr; }
    .card--featured .card__image-wrap { min-height: 240px; }
}

/* Comment nesting */
.children { padding-left: 32px; margin-top: 16px; }
@media (max-width: 480px) { .children { padding-left: 16px; } }

/* Post meta bar */
.post-meta-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--ink-muted);
    opacity: var(--opacity-muted);
}
.post-meta-bar__sep { opacity: 0.4; }

/* =========================================
   Join / Membership Form
   ========================================= */
.join-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: var(--cream);
    border-radius: var(--radius-card);
    padding: 48px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.form-section {
    padding-top: 36px;
    margin-top: 36px;
    border-top: 1px solid var(--border);
}
.form-section:first-child {
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}
.form-section__heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 20px;
}

.form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .form-row--2 { grid-template-columns: 1fr; }
    .join-form-wrap { padding: 28px 20px; }
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--ink);
}
.checkbox-item input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid var(--border-strong);
    border-radius: 4px;
    background: var(--cream);
    accent-color: var(--purple);
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color var(--transition);
}
.checkbox-item input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 2px;
}
.checkbox-item input[type="checkbox"]:checked {
    border-color: var(--purple);
}
.checkbox-item__label { padding-top: 1px; }

.char-counter {
    display: flex;
    justify-content: flex-end;
    font-size: 0.78rem;
    color: var(--ink-muted);
    opacity: 0.45;
    margin-top: 6px;
    font-family: var(--font-body);
    transition: color var(--transition);
}
.char-counter--warn { color: var(--amber); opacity: 1; }
.char-counter--over { color: var(--coral); opacity: 1; }

.field-label-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.field-label-wrap label { margin-bottom: 0; }
.badge--optional {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--border);
    color: var(--ink-muted);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
}

.agreement-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(124, 111, 176, 0.06);
    border: 1px solid rgba(124, 111, 176, 0.20);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.agreement-row input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--purple);
    flex-shrink: 0;
    cursor: pointer;
}
.agreement-row input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 2px;
}
.agreement-row__text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 500;
}

.form-submit-area { margin-top: 32px; }
.form-footer-note {
    margin-top: 16px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--ink-muted);
    text-align: center;
}
