/* Theme Studio — Animasyonlu Başlık (home.animated_text) */

.tf-section[data-tf-type="home.animated_text"] {
    --tf-at-accent: #c4a35a;
    --tf-at-muted: #e8e4de;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text {
    width: 100%;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text__quote {
    margin: 0;
    line-height: 1.28;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    color: var(--tf-heading-color, #1a1a18);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text__quote--italic {
    font-style: italic;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text__quote--left {
    text-align: left;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text__eyebrow {
    margin: 0;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text__eyebrow--after {
    margin-top: 8px;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text__action {
    margin-top: 4px;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--classic .tf-animated-text__inner,
.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__body,
.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--card .tf-animated-text__panel {
    display: grid;
    gap: clamp(24px, 4vw, 48px);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--classic.section-philosophy .content {
    place-items: center;
    justify-items: center;
    text-align: center;
    max-width: 860px;
    margin-inline: auto;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--classic .tf-animated-text__quote {
    font-size: clamp(28px, 3.8vw, 44px);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--classic .tf-animated-text__rule {
    width: min(100%, 420px);
    margin-inline: auto;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__split {
    display: grid;
    gap: 28px;
}

@media (min-width: 992px) {
    .tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__split {
        grid-template-columns: minmax(0, 1.55fr) minmax(220px, .75fr);
        align-items: end;
        gap: clamp(32px, 5vw, 72px);
    }
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__quote {
    font-size: clamp(32px, 4.8vw, 58px);
    line-height: 1.12;
    --tf-quote-muted-color: #c8c2b8;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__aside {
    display: grid;
    gap: 18px;
    padding-bottom: 6px;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__index {
    font-size: clamp(52px, 7vw, 84px);
    line-height: .9;
    font-weight: 400;
    letter-spacing: -.04em;
    color: var(--tf-at-muted);
    font-variant-numeric: tabular-nums;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__aside-line {
    width: 48px;
    height: 2px;
    background: var(--tf-at-accent);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__accent {
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
    max-width: 920px;
    margin-inline: auto;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__bar-wrap {
    position: relative;
    width: 4px;
    min-height: clamp(120px, 18vw, 180px);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__bar {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--tf-at-accent) 0%, rgba(196, 163, 90, .15) 100%);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__bar-glow {
    position: absolute;
    inset: -8px -6px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 0%, rgba(196, 163, 90, .28), transparent 70%);
    animation: tf-at-bar-glow 3s ease-in-out infinite;
}

@keyframes tf-at-bar-glow {
    0%, 100% { opacity: .45; transform: scaleY(.92); }
    50% { opacity: 1; transform: scaleY(1); }
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__quote {
    font-size: clamp(28px, 3.8vw, 44px);
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--card .tf-animated-text__panel {
    position: relative;
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--line-7, #e8e4de);
    border-radius: 20px;
    background: var(--white, #fff);
    box-shadow: 0 24px 64px rgba(28, 20, 15, .06);
    overflow: hidden;
    text-align: center;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--card .tf-animated-text__panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tf-at-accent), #1a1a18 52%, var(--tf-at-accent));
    background-size: 200% 100%;
    animation: tf-at-shimmer 4s ease-in-out infinite;
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--card .tf-animated-text__panel-glow {
    position: absolute;
    inset: -40% auto auto 50%;
    width: 320px;
    height: 320px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 163, 90, .12), transparent 70%);
    pointer-events: none;
}

@keyframes tf-at-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tf-section[data-tf-type="home.animated_text"] .tf-animated-text--card .tf-animated-text__quote {
    position: relative;
    z-index: 1;
    --tf-quote-muted-color: #c5bfb4;
}

@media (max-width: 991px) {
    .tf-section[data-tf-type="home.animated_text"] .tf-animated-text--editorial .tf-animated-text__index {
        display: none;
    }

    .tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__accent {
        grid-template-columns: 1fr;
    }

    .tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__bar-wrap {
        width: 56px;
        min-height: 3px;
    }

    .tf-section[data-tf-type="home.animated_text"] .tf-animated-text--accent .tf-animated-text__bar {
        background: linear-gradient(90deg, var(--tf-at-accent), rgba(196, 163, 90, .15));
    }
}
