/* ============================================================================
   TechfinResources — v2 extensions
   New components: Studio hero visual, Team cards, Audience grid,
   Industries grid, Value-Prop section, Word-cycle headline,
   select styling, and animation polish.
   Loaded AFTER techfin.css — inherits all design tokens.
   ============================================================================ */

/* ── Select field ──────────────────────────────────────────────────────────── */
.tf-field select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-strong);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bab' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s;
}
.tf-field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--ring);
}
.tf-field select option { background: var(--surface); color: var(--text); }

/* ── Word-cycle headline ────────────────────────────────────────────────────── */
.tf-cycle-wrap { display: inline; }
.tf-cycle {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    position: relative;
}
.tf-cycle.is-hiding {
    animation: tf-cycle-out .38s var(--ease) forwards;
}
.tf-cycle.is-showing {
    animation: tf-cycle-in .42s var(--ease) forwards;
}
@keyframes tf-cycle-out {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-28px); }
}
@keyframes tf-cycle-in {
    0%   { opacity: 0; transform: translateY(32px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Hero Studio visual ─────────────────────────────────────────────────────── */
.tf-studio {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,186,8,.06);
    display: flex;
    flex-direction: column;
    gap: 0;
}
[data-theme="dark"] .tf-studio {
    background: #141e27;
    border-color: rgba(255,255,255,.09);
}

/* code editor */
.tf-studio__editor { padding: 0 0 20px; }
.tf-studio__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
[data-theme="dark"] .tf-studio__bar { background: #18242f; border-color: rgba(255,255,255,.07); }
.tf-studio__bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.tf-studio__bar .dot.r { background: #e5484d; }
.tf-studio__bar .dot.y { background: #ffba08; }
.tf-studio__bar .dot.g { background: #46a758; }
.tf-studio__filename {
    margin-left: 8px;
    font-family: 'Space Grotesk', monospace;
    font-size: 13px;
    color: var(--text-muted);
}
.tf-studio__code { padding: 0 20px; display: flex; flex-direction: column; gap: 5px; }
.tf-cl {
    font-family: 'Space Grotesk', 'Courier New', monospace;
    font-size: clamp(12px, 1.4vw, 14px);
    line-height: 1.7;
    color: var(--text-soft);
    white-space: nowrap;
}
.tf-cl.i1 { padding-left: 22px; }
.tf-cl.i2 { padding-left: 44px; }
.tf-kw { color: var(--gold); font-weight: 600; }
.tf-fn { color: #4078c8; }
[data-theme="light"] .tf-fn { color: #2563eb; }
.tf-str { color: #46a758; }
.tf-cm { color: var(--text-muted); font-style: italic; }

/* AI suggestion bar */
.tf-studio__suggest {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 20px 0;
    padding: 10px 14px;
    background: rgba(255,186,8,.08);
    border: 1px solid rgba(255,186,8,.22);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-muted);
}
.tf-studio__suggest button {
    margin-left: auto;
    padding: 5px 14px;
    border: none;
    background: var(--gold-grad);
    color: var(--on-gold);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
}
.tf-studio__suggest button:hover { opacity: .85; }

/* floating chat bubble */
.tf-studio__chat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}
[data-theme="dark"] .tf-studio__chat { background: #141e27; }
.tf-studio__av {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: var(--on-gold);
    display: grid; place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 700;
}
.tf-studio__bname { font-size: 13px; font-weight: 600; color: var(--text); }
.tf-studio__typing { display: flex; gap: 4px; align-items: center; margin-top: 4px; }
.tf-studio__typing span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
    animation: tf-type-dot 1.2s ease-in-out infinite;
}
.tf-studio__typing span:nth-child(2) { animation-delay: .2s; }
.tf-studio__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes tf-type-dot {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30%           { opacity: 1;  transform: translateY(-4px); }
}

/* floating KPI chip */
.tf-studio__kpi {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    background: linear-gradient(135deg,#141e27,#0b1117);
    border: 1px solid rgba(255,186,8,.25);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    min-width: 120px;
}
[data-theme="light"] .tf-studio__kpi { background: var(--surface); border-color: var(--gold); }
.tf-studio__kpi span { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tf-studio__kpi strong { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--gold-2); }

/* flow strip */
.tf-studio__flow {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 14px 20px;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    flex-wrap: nowrap;
    overflow: hidden;
}
[data-theme="dark"] .tf-studio__flow { background: #18242f; border-color: rgba(255,255,255,.07); }
.tf-studio__node {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 600;
    padding: 5px 14px;
    border-radius: 999px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    background: var(--surface);
    white-space: nowrap;
    transition: all .3s;
}
[data-theme="dark"] .tf-studio__node { background: #141e27; }
.tf-studio__node.is-done { color: #46a758; border-color: #46a758; background: rgba(70,167,88,.12); }
.tf-studio__node.is-active { color: var(--on-gold); border-color: var(--gold); background: var(--gold-grad); }
.tf-studio__edge {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--border), transparent);
    min-width: 12px;
}

/* ── Team Cards ─────────────────────────────────────────────────────────────── */
.tf-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.tf-team--large { gap: 28px; }
@media (max-width: 1024px) { .tf-team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tf-team { grid-template-columns: 1fr; } }

.tf-team__card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 12px;
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.tf-team__card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--av, var(--gold-grad));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: height .4s var(--ease);
}
.tf-team__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tf-team__card:hover::before { height: 5px; }

.tf-team__av {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--av, var(--gold-grad));
    display: grid; place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    flex-shrink: 0;
}

.tf-team__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--gold);
    background: rgba(255,186,8,.1);
    border: 1px solid rgba(255,186,8,.28);
    border-radius: 999px;
    padding: 4px 12px;
    width: fit-content;
}
.tf-team__badge::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold-2); animation: tf-blink 2s ease-in-out infinite;
}
@keyframes tf-blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.tf-team__role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.tf-team__card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

.tf-team__tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 4px;
}
.tf-team__tags span {
    font-size: 12px; font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-soft);
    transition: border-color .25s, color .25s;
}
.tf-team__card:hover .tf-team__tags span {
    border-color: rgba(255,186,8,.3);
    color: var(--gold);
}

/* ── Audience (Who We Help) grid ─────────────────────────────────────────── */
.tf-audience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
@media (max-width: 900px)  { .tf-audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tf-audience { grid-template-columns: 1fr; } }

.tf-audience__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
    position: relative;
    overflow: hidden;
}
.tf-audience__card::after {
    content: "";
    position: absolute; inset: -1px; border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,186,8,.55), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .5s;
}
.tf-audience__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tf-audience__card:hover::after { opacity: 1; }

.tf-audience__icon {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: rgba(255,186,8,.1);
    border: 1px solid rgba(255,186,8,.22);
    display: grid; place-items: center;
    color: var(--gold);
    flex-shrink: 0;
    transition: background .3s, transform .4s var(--ease);
}
.tf-audience__icon svg { width: 26px; height: 26px; }
.tf-audience__card:hover .tf-audience__icon { background: var(--gold-grad); color: var(--on-gold); transform: scale(1.1) rotate(-5deg); }
.tf-audience__card:hover .tf-audience__icon svg { stroke: var(--on-gold); }

.tf-audience__card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px; font-weight: 700;
    margin: 0; line-height: 1.3;
}
.tf-audience__card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── Industries grid ─────────────────────────────────────────────────────── */
.tf-industries {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
@media (max-width: 900px)  { .tf-industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .tf-industries { grid-template-columns: 1fr; } }

.tf-industry {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 14px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
    position: relative; overflow: hidden;
}
.tf-industry:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tf-industry__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; overflow: hidden; transition: transform .45s var(--ease); }
.tf-industry__icon svg { width: 56px; height: 56px; }
.tf-industry:hover .tf-industry__icon { transform: scale(1.12) rotate(-4deg); }
.tf-industry h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 700;
    margin: 0; color: var(--text);
}
.tf-industry p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ── Value Proposition (Why Choose Us) ──────────────────────────────────── */
.tf-value-prop {
    position: relative;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 1;
}
@media (max-width: 600px) { .tf-value-prop { padding: 40px 24px; } }

.tf-value-prop__bg-quote {
    position: absolute;
    top: -40px; left: 16px;
    font-size: 280px;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--border);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    opacity: .6;
}

.tf-value-prop .tf-eyebrow { margin-bottom: 18px; }

.tf-value-prop__headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    background: var(--gold-grad);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 20px;
    line-height: 1.05;
    position: relative; z-index: 1;
}

.tf-value-prop__body {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.75;
    position: relative; z-index: 1;
}

.tf-value-prop__pillars {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative; z-index: 1;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.tf-pillar {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 140px;
}
.tf-pillar__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--gold-2);
}
.tf-pillar__label {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    max-width: 130px;
}

/* ── Enhanced hero visual positioning ────────────────────────────────────── */
.tf-dash__float--1 { top: -14px; left: -14px; }
.tf-dash__float--2 { top: 14px; right: -14px; }
.tf-dash__float { position: absolute; z-index: 4; }

/* ── Solution card SVG thumbnail fix ─────────────────────────────────────── */
.solution-card__media img[src$=".svg"] {
    object-fit: contain;
    padding: 12px;
    background: var(--bg-2);
}
[data-theme="dark"] .solution-card__media img[src$=".svg"] {
    background: #141e27;
}

/* ── Page-hero crumb (Solutions page) ────────────────────────────────────── */
.solutions.tf-section .tf-head-center { margin-bottom: 40px; }

/* ── Animated underline for nav links ────────────────────────────────────── */
.tf-nav__menu a {
    position: relative;
}
.tf-nav__menu a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 2px;
    background: var(--gold-grad);
    border-radius: 2px;
    transition: width .35s var(--ease);
}
.tf-nav__menu a:hover::after,
.tf-nav__menu a.active::after { width: 100%; }

/* ── Hero headline gradient ───────────────────────────────────────────────── */
.tf-hero__copy h1 .grad {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Smooth entrance for tf-studio ───────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Pulse glow on studio border on hover ─────────────────────────────────── */
.tf-studio:hover { box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,186,8,.18); }

/* ── Team card spotlight ──────────────────────────────────────────────────── */
.tf-team__card {
    --mx: 50%;
    --my: 50%;
}
.tf-team__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(200px circle at var(--mx) var(--my), rgba(255,186,8,.08), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    border-radius: inherit;
}
.tf-team__card:hover::after { opacity: 1; }

/* ── Audience card spotlight ────────────────────────────────────────────── */
.tf-audience__card {
    --mx: 50%;
    --my: 50%;
}
.tf-audience__card > .tf-audience__spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(180px circle at var(--mx) var(--my), rgba(255,186,8,.06), transparent 60%);
    pointer-events: none;
    border-radius: inherit;
    transition: opacity .4s;
    opacity: 0;
}

/* ── Staggered reveal on .tf-team__card ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .tf-team .tf-team__card { transition: opacity .65s var(--ease), transform .65s var(--ease), box-shadow .5s, border-color .4s; }
}

/* ── Responsive: studio below md ────────────────────────────────────────── */
@media (max-width: 900px) {
    .tf-studio__code .tf-cl.i2 { padding-left: 28px; }
    .tf-studio__flow { gap: 4px; padding: 10px 14px; }
    .tf-studio__node { padding: 4px 10px; font-size: 11px; }
}

/* ── Value prop z-index guard ─────────────────────────────────────────────── */
.tf-section.tf-bg-alt > .tf-container > .tf-value-prop { z-index: 2; }

/* ============================================================================
   SOLUTIONS CAROUSEL (homepage auto-scroll)
   ============================================================================ */
.tf-sol-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 48px;
    padding: 8px 0 20px;
    --card-w: 320px;
    --card-gap: 20px;
}
.tf-sol-carousel::before,
.tf-sol-carousel::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.tf-sol-carousel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tf-sol-carousel::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.tf-sol-track {
    display: flex;
    gap: var(--card-gap);
    width: max-content;
    animation: tf-sol-scroll 30s linear infinite;
}
.tf-sol-carousel:hover .tf-sol-track { animation-play-state: paused; }

@keyframes tf-sol-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (var(--card-w) + var(--card-gap)) * 5)); }
}
@media (prefers-reduced-motion: reduce) {
    .tf-sol-track { animation: none; }
    .tf-sol-carousel { overflow-x: auto; }
}

.tf-sol-card {
    flex-shrink: 0;
    width: var(--card-w);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
    cursor: default;
}
.tf-sol-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255,186,8,.4);
}
.tf-sol-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(220px circle at var(--mx,50%) var(--my,30%), rgba(255,186,8,.07), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.tf-sol-card:hover::before { opacity: 1; }

.tf-sol-card__num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .7;
}
.tf-sol-card__thumb {
    width: 100%;
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
[data-theme="dark"] .tf-sol-card__thumb { background: #141e27; }
.tf-sol-card__thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 10px;
}
.tf-sol-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--text);
}
.tf-sol-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    flex: 1;
}
.tf-sol-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    margin-top: 4px;
    transition: gap .25s var(--ease), color .2s;
}
.tf-sol-card__link:hover { gap: 10px; color: var(--gold-2); }
.tf-sol-card__link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Centered content blocks (stats, methodology) ────────────────────────── */
.tf-stat { text-align: center; }
.tf-stat__label { text-align: center; }

.tf-method-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
}
.tf-method-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,186,8,.3); }
.tf-method-step__num {
    width: 52px; height: 52px;
    border-radius: 16px;
    background: var(--gold-grad);
    color: var(--on-gold);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.tf-method-step__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}
.tf-method-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}
.tf-method-step p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
    text-align: center;
}
.tf-method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
@media (max-width: 900px) { .tf-method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .tf-method-grid { grid-template-columns: 1fr; } }

/* ── FAQ / "What Sets Us Apart" redesign ─────────────────────────────────── */
.tf-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}
@media (max-width: 760px) { .tf-diff-grid { grid-template-columns: 1fr; } }

.tf-diff-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .3s, background .3s;
}
.tf-diff-card:hover { border-color: rgba(255,186,8,.35); background: var(--surface); }
.tf-diff-card__icon {
    width: 42px; height: 42px;
    border-radius: 13px;
    background: rgba(255,186,8,.12);
    border: 1px solid rgba(255,186,8,.2);
    display: grid; place-items: center;
    color: var(--gold);
}
.tf-diff-card__icon svg { width: 22px; height: 22px; }
.tf-diff-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}
.tf-diff-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }

/* ── Improved "Who We Are" split ─────────────────────────────────────────── */
.tf-about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}
@media (max-width: 860px) { .tf-about-split { grid-template-columns: 1fr; } }

.tf-about-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 380px;
    box-shadow: var(--shadow-lg);
}
.tf-about-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.tf-about-media__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,17,23,.35);
    transition: background .3s;
}
.tf-about-media__play:hover { background: rgba(11,17,23,.5); }
.tf-about-media__play button {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--gold-grad);
    color: var(--on-gold);
    border: none;
    cursor: pointer;
    display: grid; place-items: center;
    box-shadow: 0 0 0 0 rgba(255,186,8,.5);
    animation: tf-pulse-play 2.5s ease-out infinite;
    transition: transform .3s var(--ease);
}
.tf-about-media__play button:hover { transform: scale(1.1); }
@keyframes tf-pulse-play {
    0% { box-shadow: 0 0 0 0 rgba(255,186,8,.5); }
    100% { box-shadow: 0 0 0 28px rgba(255,186,8,0); }
}
.tf-about-media__play button svg { width: 28px; height: 28px; margin-left: 4px; }
.tf-about-media__badge {
    position: absolute;
    bottom: 16px; left: 16px;
    background: rgba(11,17,23,.82);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,186,8,.3);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
[data-theme="light"] .tf-about-media__badge { background: rgba(255,255,255,.88); }
.tf-about-media__badge strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-2);
    line-height: 1;
}
.tf-about-media__badge span { font-size: 12px; color: var(--text-muted); line-height: 1.3; }

/* ── Contact page v2 ─────────────────────────────────────────────────────── */
.tf-contact-v2 {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}
@media (max-width: 860px) { .tf-contact-v2 { grid-template-columns: 1fr; } }

.tf-contact-info { display: flex; flex-direction: column; gap: 0; }

.tf-contact-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px;
}
.tf-contact-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold-grad); border-radius: 2px; }

.tf-contact-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
}

.tf-contact-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.tf-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}
.tf-contact-channel {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: border-color .3s, transform .35s var(--ease), box-shadow .35s;
}
.tf-contact-channel:hover { border-color: rgba(255,186,8,.4); transform: translateX(6px); box-shadow: var(--shadow-sm); }
.tf-contact-channel__icon {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: rgba(255,186,8,.1);
    border: 1px solid rgba(255,186,8,.2);
    display: grid; place-items: center;
    color: var(--gold);
    flex-shrink: 0;
}
.tf-contact-channel__icon svg, .tf-contact-channel__icon .my-icon { width: 20px; height: 20px; font-size: 20px; }
.tf-contact-channel__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.tf-contact-channel__value { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--text); }

.tf-contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 200px;
}
.tf-contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.tf-contact-form-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 48px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}
.tf-contact-form-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}
.tf-contact-form-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.65;
}

/* ── Chatbot v2 ──────────────────────────────────────────────────────────── */
.tf-chat__quick { padding: 10px 14px 14px; display: flex; flex-wrap: wrap; gap: 7px; background: var(--surface-2); border-top: 1px solid var(--border); }
.tf-chat__quick button {
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: border-color .25s, color .25s, background .25s;
    white-space: nowrap;
}
.tf-chat__quick button:hover { border-color: var(--gold); color: var(--gold); background: rgba(255,186,8,.06); }

.tf-msg { font-size: 13.5px; line-height: 1.55; }
.tf-chat a.tf-btn.tf-btn--primary { font-size: 12px; padding: 7px 14px; }

/* ── Button transition (smooth enter/exit) ───────────────────────────────── */
.tf-btn--primary, .tf-btn--ghost, .tf-btn--light {
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s var(--ease), color .3s, border-color .3s;
}

/* ── Team page ──────────────────────────────────────────────────────────── */
.tf-team-page .tf-team { grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 760px) { .tf-team-page .tf-team { grid-template-columns: 1fr; } }

.tf-team__card--expanded {
    padding: 36px 32px;
}
.tf-team__card--expanded .tf-team__av {
    width: 80px; height: 80px;
    font-size: 26px;
    border-radius: 22px;
}
.tf-team__card--expanded .tf-team__role {
    font-size: 22px;
}
.tf-team__card--expanded p {
    font-size: 15px;
}

.tf-team__social { display: flex; gap: 10px; margin-top: 8px; }
.tf-team__social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: grid; place-items: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: border-color .25s, color .25s;
}
.tf-team__social a:hover { border-color: var(--gold); color: var(--gold); }
.tf-team__social a svg { width: 16px; height: 16px; }
