body.page-template-default,
body.page {
    background-color: #121212;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.tw-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.tw-hero {
    position: relative;
    overflow: visible;
    padding: 6rem 1.5rem 4rem;
    min-height: 26rem;
    text-align: center;
}

.tw-hero-triangles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
    perspective: 1200px;
    z-index: 30;
}
.tw-hero-triangles svg {
    position: absolute;
    transform-style: preserve-3d;
    will-change: transform;
    overflow: visible;
}
.tw-hero > *:not(.tw-hero-triangles) {
    position: relative;
    z-index: 1;
}
.tw-tri-a { top: 4rem; left: 4%; width: 8rem; height: 8rem; animation: twTriFloatA 12s ease-in-out infinite; }
.tw-tri-b { top: 2rem; right: 4%; width: 9rem; height: 9rem; animation: twTriFloatB 15s ease-in-out infinite; }
.tw-tri-c { bottom: 3rem; left: 38%; width: 5rem; height: 5rem; animation: twTriFloatC 13s ease-in-out infinite; }
.tw-tri-d { top: 8%; left: 26%; width: 3rem; height: 3rem; opacity: 0.26; animation: twTriFloatD 9s ease-in-out infinite; }
.tw-tri-e { bottom: 4rem; left: 6%; width: 4rem; height: 4rem; opacity: 0.30; animation: twTriFloatE 16s ease-in-out infinite; }
.tw-tri-f { top: 6%; right: 26%; width: 2.5rem; height: 2.5rem; opacity: 0.36; animation: twTriFloatF 11s ease-in-out infinite; }
.tw-tri-g { bottom: 2rem; right: 6%; width: 4.5rem; height: 4.5rem; opacity: 0.28; animation: twTriFloatG 14s ease-in-out infinite; }

@keyframes twTriFloatA {
    0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotate(0deg); }
    50% { transform: translate3d(10px, -14px, 30px) rotateX(6deg) rotateY(10deg) rotate(3deg); }
}
@keyframes twTriFloatB {
    0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotate(0deg); }
    50% { transform: translate3d(-14px, 18px, -20px) rotateX(-10deg) rotateY(-12deg) rotate(-4deg); }
}
@keyframes twTriFloatC {
    0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotate(0deg); }
    50% { transform: translate3d(12px, -16px, 25px) rotateX(10deg) rotateY(8deg) rotate(4deg); }
}
@keyframes twTriFloatD {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(20deg); }
    50% { transform: translate3d(6px, -9px, 0) rotate(27deg); }
}
@keyframes twTriFloatE {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-15deg); }
    50% { transform: translate3d(-7px, 8px, 0) rotate(-8deg); }
}
@keyframes twTriFloatF {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(40deg); }
    50% { transform: translate3d(8px, -6px, 0) rotate(47deg); }
}
@keyframes twTriFloatG {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-30deg); }
    50% { transform: translate3d(-6px, 9px, 0) rotate(-23deg); }
}
@media (prefers-reduced-motion: reduce) {
    .tw-tri-a, .tw-tri-b, .tw-tri-c, .tw-tri-d, .tw-tri-e, .tw-tri-f, .tw-tri-g {
        animation: none;
    }
}

.tw-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.tw-lead {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.tw-accent {
    color: #F4C522;
}

.tw-glass-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}
.tw-glass-card::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 90%;
    background: linear-gradient(160deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.08) 35%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}
.tw-glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -16px 28px -12px rgba(244,197,34,0.25);
    pointer-events: none;
}
.tw-glass-card:hover {
    border-color: #F4C522;
    box-shadow: 0 0 20px rgba(244, 197, 34, 0.1);
    transform: translateY(-5px);
}
.tw-glass-card > * {
    position: relative;
    z-index: 1;
}

.tw-glass-card.tw-card-sm {
    padding: 1.75rem;
}

.tw-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(244, 197, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F4C522;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tw-btn-gold .wp-block-button__link,
a.tw-btn-gold {
    background-color: #F4C522 !important;
    color: #000 !important;
    padding: 12px 32px;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
}

.tw-btn-outline .wp-block-button__link,
a.tw-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 12px 32px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
}

.tw-team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
}

.tw-avatar-letter {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: rgba(244, 197, 34, 0.12);
    color: #F4C522;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tw-role {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tw-latest-posts.wp-block-latest-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 782px) {
    .tw-latest-posts.wp-block-latest-posts {
        grid-template-columns: 1fr;
    }
}
.tw-latest-posts .wp-block-latest-posts__post {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}
.tw-latest-posts .wp-block-latest-posts__post:hover {
    border-color: #F4C522;
    box-shadow: 0 0 20px rgba(244, 197, 34, 0.1);
    transform: translateY(-5px);
}
.tw-latest-posts .wp-block-latest-posts__featured-image {
    margin: -1.75rem -1.75rem 1.25rem;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}
.tw-latest-posts .wp-block-latest-posts__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}
.tw-latest-posts a.wp-block-latest-posts__post-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
}
.tw-latest-posts a.wp-block-latest-posts__post-title:hover {
    color: #F4C522;
}
.tw-latest-posts .wp-block-latest-posts__post-excerpt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.wp-block-details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 0;
}
.wp-block-details summary {
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    list-style: none;
}
.wp-block-details summary::-webkit-details-marker {
    display: none;
}
.wp-block-details summary::after {
    content: '+';
    float: right;
    color: #F4C522;
    font-weight: 700;
}
.wp-block-details[open] summary::after {
    content: '−';
}
.wp-block-details p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.tw-cta {
    text-align: center;
    max-width: 56rem;
    margin: 2rem auto;
    padding: 3rem;
}
