/* ==========================================================================
   3ANGLE — Futurist theme  ·  "Midnight + Electric Orange"
   Built on Bootstrap 5. Token-driven, fully responsive, motion-aware.
   ========================================================================== */

:root {
    /* Canvas */
    --bg:          #0A0A0B;
    --bg-elev:     #121214;
    --surface:     rgba(255, 255, 255, .035);
    --surface-2:   rgba(255, 255, 255, .06);
    --border:      rgba(255, 255, 255, .09);
    --border-2:    rgba(255, 255, 255, .16);

    /* Ink */
    --text:        #ECECEF;
    --text-dim:    #9A9AA4;   /* ~7:1 on --bg  (AA body) */
    --text-faint:  #8A8A95;   /* ~4.8:1 on --bg (AA body); was #6A6A73 ~3.7:1 = fail */

    /* Brand */
    --accent:      #FF5A1F;   /* electric orange */
    --accent-2:    #FF8A3D;
    --accent-soft: rgba(255, 90, 31, .14);
    --cyan:        #19E0FF;   /* hairline / secondary glow */
    --violet:      #8A5BFF;

    --grad-warm:   linear-gradient(135deg, #FF8A3D 0%, #FF5A1F 60%, #FF3D00 100%);
    --grad-duo:    linear-gradient(120deg, #FF8A3D 0%, #FF5A1F 45%, #19E0FF 120%);

    /* Geometry */
    --radius:      18px;
    --radius-sm:   12px;
    --radius-lg:   26px;
    --maxw:        1200px;

    /* Motion */
    --ease:        cubic-bezier(.22, 1, .36, 1);
    --speed:       .55s;

    /* Bootstrap overrides */
    --bs-body-bg:    var(--bg);
    --bs-body-color: var(--text);
    --bs-border-color: var(--border);
}

/* ---------- Base ---------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body.t-page {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container { max-width: var(--maxw); }

h1, h2, h3, h4, h5, h6, .t-display {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 .5em;
}

a { color: var(--accent-2); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

::selection { background: var(--accent); color: #0A0A0B; }

.skip-link {
    position: fixed; top: 12px; left: 12px; z-index: 2000;
    background: var(--accent); color: #0A0A0B; padding: 8px 14px; border-radius: 8px;
}

/* Keyboard focus — visible ring on every interactive element (mouse users unaffected) */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}
.t-btn:focus-visible,
.t-work__item:focus-visible,
.t-client:focus-visible { outline-color: #fff; }
:focus:not(:focus-visible) { outline: none; }

/* ---------- Animated backdrop -------------------------------------------- */
.t-backdrop {
    position: fixed; inset: 0; z-index: -2; overflow: hidden;
    background:
        radial-gradient(1200px 800px at 80% -10%, rgba(255, 90, 31, .10), transparent 60%),
        radial-gradient(900px 600px at 0% 20%, rgba(25, 224, 255, .06), transparent 55%),
        var(--bg);
}
.t-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
    animation: orbFloat 22s var(--ease) infinite alternate;
}
.t-orb--1 { width: 540px; height: 540px; top: -140px; right: -120px;
    background: radial-gradient(circle at 30% 30%, #FF5A1F, transparent 70%); }
.t-orb--2 { width: 460px; height: 460px; bottom: -160px; left: -120px;
    background: radial-gradient(circle at 60% 40%, #19E0FF, transparent 70%);
    opacity: .35; animation-delay: -8s; }
.t-grid {
    position: absolute; inset: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-40px, 60px, 0) scale(1.15); }
}

/* ---------- Buttons ------------------------------------------------------- */
.t-btn, .t-btn-ghost {
    --pad-y: .85rem; --pad-x: 1.5rem;
    display: inline-flex; align-items: center; gap: .55rem;
    padding: var(--pad-y) var(--pad-x);
    font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: .98rem;
    border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; line-height: 1; position: relative; overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.t-btn {
    background: var(--grad-warm); color: #120800;
    box-shadow: 0 8px 30px rgba(255, 90, 31, .35);
}
.t-btn:hover { color: #120800; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(255, 90, 31, .5); }
.t-btn::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .45) 50%, transparent 100%);
    transform: translateX(-130%); transition: transform .7s var(--ease);
}
.t-btn:hover::after { transform: translateX(130%); }

.t-btn-ghost {
    background: var(--surface); color: var(--text);
    border-color: var(--border-2); backdrop-filter: blur(8px);
}
.t-btn-ghost:hover { color: #fff; border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 0 4px var(--accent-soft); }

.t-btn--sm  { --pad-y: .6rem; --pad-x: 1.1rem; font-size: .9rem; min-height: 44px; }
.t-btn--lg  { --pad-y: 1.05rem; --pad-x: 2rem; font-size: 1.05rem; }
.t-btn--block { width: 100%; justify-content: center; }

/* ---------- Type helpers -------------------------------------------------- */
.t-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: "Space Grotesk", sans-serif; font-weight: 600;
    text-transform: uppercase; letter-spacing: .18em; font-size: .76rem;
    color: var(--accent-2); margin: 0 0 1rem;
}
.t-eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--grad-warm); border-radius: 2px;
}
.t-eyebrow--center { justify-content: center; }
.t-grad { background: var(--grad-duo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-orange { color: var(--accent); }
.t-dim { color: var(--text-dim); }

.t-section { padding: clamp(64px, 10vw, 130px) 0; position: relative; }
.t-section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.t-section__title { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.t-section__lede { color: var(--text-dim); font-size: 1.12rem; margin-top: 1rem; }

.t-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-2), transparent); border: 0; margin: 0; }

/* ---------- Reveal-on-scroll --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left  { transform: translateX(-34px); }
.reveal--right { transform: translateX(34px); }
.reveal--zoom  { transform: scale(.94); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.t-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0; transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
    border-bottom: 1px solid transparent;
}
.t-nav.is-scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 11, .72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.t-nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.t-brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; line-height: 0; }
.t-brand:hover { color: #fff; }
.t-brand__img { height: 30px; width: auto; display: block; filter: drop-shadow(0 4px 14px rgba(255, 90, 31, .35)); transition: transform .4s var(--ease), height .35s var(--ease); }
.t-brand:hover .t-brand__img { transform: scale(1.05); }
.t-nav.is-scrolled .t-brand__img { height: 26px; }
.t-brand--footer .t-brand__img { height: 30px; }

.t-nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; position: relative; }
.t-nav__link {
    position: relative; display: inline-block; padding: .6rem .9rem;
    color: var(--text-dim); font-weight: 500; font-size: .96rem; border-radius: 10px;
    transition: color .25s var(--ease);
}
.t-nav__link:hover { color: #fff; }
.t-nav__link.is-active { color: #fff; }
.t-nav__cta-li { margin-left: .6rem; }
.t-nav__magic {
    position: absolute; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--grad-warm); width: 0; left: 0; opacity: 0;
    transition: left .35s var(--ease), width .35s var(--ease), opacity .35s var(--ease);
    pointer-events: none;
}

.t-nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.t-nav__toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.t-nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.t-nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.t-nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.t-mobile {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 1100;
    background: rgba(14, 14, 16, .96); backdrop-filter: blur(20px);
    border-left: 1px solid var(--border); padding: 100px 28px 36px;
    transform: translateX(105%); transition: transform .45s var(--ease);
    display: flex; flex-direction: column; gap: 1.2rem;
}
.t-mobile.is-open { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, .6); }
.t-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.t-mobile a { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 600; padding: .55rem 0; display: block; border-bottom: 1px solid var(--border); }
.t-mobile a.is-active, .t-mobile a:hover { color: var(--accent); }
.t-mobile__meta { margin-top: auto; color: var(--text-dim); display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; }
.t-mobile__meta a { font-size: .95rem; color: var(--text-dim); border: 0; padding: 0; }
.t-scrim { position: fixed; inset: 0; z-index: 1050; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .4s; }
.t-scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   HERO
   ========================================================================== */
.t-hero { position: relative; padding: clamp(140px, 20vh, 220px) 0 clamp(70px, 10vw, 120px); }
.t-hero__inner { max-width: 920px; }
.t-hero__title { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.03em; }
.t-hero__lede { color: var(--text-dim); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 620px; margin: 1.6rem 0 2.2rem; }
.t-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.t-hero__assure { margin: 1.1rem 0 0; color: var(--text-dim); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; }
.t-hero__assure i { color: #38e07b; flex: 0 0 auto; }
.t-hero__pill {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem;
    padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; color: var(--text-dim);
    background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px);
}
.t-hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #38e07b; box-shadow: 0 0 0 4px rgba(56, 224, 123, .18); }
.t-hero__scroll { margin-top: 3.5rem; color: var(--text-faint); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; flex-direction: column; align-items: center; gap: .4rem; }
.t-hero__scroll i { font-size: 1.2rem; animation: bob 1.8s var(--ease) infinite; color: var(--accent); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Floating wire-triangle motif in hero */
.t-hero__art { position: absolute; right: -40px; top: 10%; width: min(46vw, 560px); pointer-events: none; opacity: .9; }
.t-hero__art .ring { animation: spin 40s linear infinite; transform-origin: 50% 50%; }
.t-hero__art .ring--2 { animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee of capabilities under hero */
.t-marquee { overflow: hidden; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.t-marquee__track { display: flex; gap: 3.5rem; padding: 18px 0; width: max-content; animation: marquee 32s linear infinite; }
.t-marquee:hover .t-marquee__track { animation-play-state: paused; }
.t-marquee__item { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--text-faint); white-space: nowrap; display: inline-flex; align-items: center; gap: 3.5rem; font-size: 1.05rem; }
.t-marquee__item i { color: var(--accent); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   CARDS / SERVICES
   ========================================================================== */
.t-grid-cards { display: grid; gap: 22px; grid-template-columns: repeat(12, 1fr); }
.t-card {
    position: relative; grid-column: span 6; padding: 32px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.t-card::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
    background: var(--grad-duo);
    -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 .4s var(--ease);
}
.t-card::after {
    content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, var(--accent-soft), transparent 70%);
    top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%, -50%);
    opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.t-card:hover { transform: translateY(-6px); background: var(--surface-2); }
.t-card:hover::before, .t-card:hover::after { opacity: 1; }
.t-card__icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.5rem; color: var(--accent); background: var(--accent-soft);
    border: 1px solid rgba(255, 90, 31, .3); margin-bottom: 1.4rem;
}
.t-card__title { font-size: 1.5rem; margin-bottom: .6rem; }
.t-card__num { position: absolute; top: 26px; right: 30px; font-family: "Space Grotesk", sans-serif; font-size: .9rem; color: var(--text-faint); }
.t-card p { color: var(--text-dim); margin: 0 0 1.2rem; position: relative; }
.t-card__tags { display: flex; flex-wrap: wrap; gap: .5rem; position: relative; }
.t-tag { font-size: .78rem; color: var(--text-dim); padding: .3rem .7rem; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, .02); }
.t-card__link { display: inline-flex; align-items: center; gap: .4rem; font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--accent-2); position: relative; }
.t-card__link i { transition: transform .3s var(--ease); }
.t-card:hover .t-card__link i { transform: translateX(4px); }
.t-card--wide { grid-column: span 12; }
.t-card--third { grid-column: span 4; }

/* ==========================================================================
   STATS
   ========================================================================== */
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.t-stat { display: flex; align-items: center; gap: .65rem; padding: 4px 22px; }
.t-stat:first-child { padding-left: 0; }
.t-stat + .t-stat { border-left: 1px solid var(--border); }
.t-stat__icon { font-size: 1.4rem; color: var(--accent); flex: 0 0 auto; line-height: 1; }
.t-stat__num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.05; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-stat__label { color: var(--text-dim); font-size: .8rem; margin-top: .25rem; line-height: 1.25; white-space: nowrap; }
/* Stats placed inside the hero, directly under the CTAs */
.t-stats--hero { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--border); max-width: 780px; }

/* ==========================================================================
   CLIENT WALL
   ========================================================================== */
.t-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.t-client { background: var(--bg-elev); display: grid; place-items: center; padding: 28px 16px; min-height: 96px; text-align: center; transition: background .3s var(--ease), color .3s var(--ease); }
.t-client span { font-family: "Space Grotesk", sans-serif; font-weight: 600; letter-spacing: .06em; color: var(--text-faint); font-size: .95rem; transition: color .3s var(--ease); }
.t-client:hover { background: #16161a; }
.t-client:hover span { color: var(--accent); }

/* ==========================================================================
   PLATFORMS STRIP
   ========================================================================== */
.t-platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.t-platform {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
    padding: 30px 12px; min-height: 130px;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
    transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.t-platform img { height: 38px; width: auto; opacity: .55; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.t-platform span { font-family: "Space Grotesk", sans-serif; font-size: .82rem; color: var(--text-dim); transition: color .35s var(--ease); }
.t-platform:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); }
.t-platform:hover img { opacity: 1; transform: scale(1.06); }
.t-platform:hover span { color: #fff; }

/* ==========================================================================
   WORK GRID
   ========================================================================== */
.t-work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.t-work__item {
    position: relative; grid-column: span 4; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-elev); min-height: 300px;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
    transition: transform .45s var(--ease), border-color .45s var(--ease);
    isolation: isolate;
}
.t-work__item::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, transparent 35%, rgba(10, 10, 11, .92) 100%),
        var(--img, linear-gradient(135deg, #1b1b22, #0e0e12));
    background-size: cover; background-position: center;
    transition: transform .7s var(--ease), filter .5s var(--ease);
    filter: saturate(.6) brightness(.8);
}
.t-work__item:hover { transform: translateY(-6px); border-color: var(--border-2); }
.t-work__item:hover::before { transform: scale(1.07); filter: saturate(1) brightness(.95); }
.t-work__item--lg { grid-column: span 8; min-height: 380px; }
.t-work__item--md { grid-column: span 6; }
.t-work__tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-2); font-weight: 600; margin-bottom: .5rem; font-family: "Space Grotesk", sans-serif; }
.t-work__title { font-size: 1.6rem; margin: 0 0 .3rem; }
.t-work__desc { color: var(--text-dim); font-size: .95rem; margin: 0; }
.t-work__badge { position: absolute; top: 22px; left: 26px; font-size: .78rem; color: var(--text-dim); border: 1px solid var(--border-2); padding: .25rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.t-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.t-step { position: relative; padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.t-step__n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1rem; color: #0A0A0B; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-warm); margin-bottom: 1.1rem; }
.t-step h3 { font-size: 1.25rem; }
.t-step p { color: var(--text-dim); font-size: .95rem; margin: 0; }
.t-step::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--border-2); font-size: 1.4rem; z-index: 2; }
.t-process > .t-step:last-child::after { display: none; }

/* Split feature row (text + visual) */
.t-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.t-feature__visual { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); aspect-ratio: 4 / 3; overflow: hidden; position: relative; display: grid; place-items: center; }
.t-feature--rev .t-feature__visual { order: -1; }
.t-list-check { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .9rem; }
.t-list-check li { display: flex; gap: .7rem; color: var(--text); }
.t-list-check i { color: var(--accent); margin-top: .15rem; }

/* ==========================================================================
   FOUNDER NOTE
   ========================================================================== */
.t-founder {
    position: relative; display: flex; gap: 40px; align-items: center;
    max-width: 940px; margin: 0 auto; padding: 44px;
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    background: radial-gradient(600px 240px at 18% 0%, rgba(255, 90, 31, .12), transparent 70%), var(--surface);
    overflow: hidden;
}
.t-founder__avatar { position: relative; flex: 0 0 auto; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; }
.t-founder__avatar::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--cyan), var(--violet), var(--accent));
    animation: spin 9s linear infinite; filter: drop-shadow(0 0 18px rgba(138, 91, 255, .4));
}
.t-founder__avatar img, .t-founder__mono { position: relative; width: 138px; height: 138px; border-radius: 50%; object-fit: cover; }
.t-founder__mono { display: none; place-items: center; background: var(--bg-elev); font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 2.6rem; color: var(--accent); letter-spacing: .04em; }
.t-founder__body { flex: 1; }
.t-founder__quote { color: var(--text); font-size: 1.14rem; line-height: 1.7; margin: .5rem 0 1.1rem; }
.t-founder__sign { color: var(--text-dim); margin: 0 0 1.4rem; }
.t-founder__sign strong { color: #fff; }
@media (max-width: 767px) {
    .t-founder { flex-direction: column; text-align: center; padding: 32px 24px; gap: 26px; }
    .t-founder__body { text-align: center; }
    .t-founder .t-eyebrow { justify-content: center; }
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.t-cta { padding: clamp(60px, 9vw, 110px) 0; }
.t-cta__inner {
    position: relative; text-align: center; padding: clamp(44px, 7vw, 84px) 24px;
    border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    background:
        radial-gradient(700px 300px at 50% -20%, rgba(255, 90, 31, .22), transparent 70%),
        var(--surface);
}
.t-cta__title { font-size: clamp(2rem, 5vw, 3.6rem); }
.t-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.t-footer { border-top: 1px solid var(--border); padding: 70px 0 36px; background: rgba(255, 255, 255, .01); }
.t-brand--footer { margin-bottom: 1rem; }
.t-footer__blurb { color: var(--text-dim); max-width: 320px; }
.t-footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.t-footer__social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-dim); }
.t-footer__social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.t-footer__head { font-family: "Space Grotesk", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: var(--text-faint); margin-bottom: 1.1rem; }
.t-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.t-footer__list a { color: var(--text-dim); }
.t-footer__list a:hover { color: #fff; }
.t-footer__list--contact li { color: var(--text-dim); display: flex; gap: .55rem; align-items: center; }
.t-footer__list--contact i { color: var(--accent); }
.t-footer__bar { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-faint); font-size: .88rem; }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.t-contact { padding-top: clamp(120px, 16vh, 170px); }
.t-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.t-map-wrap { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; height: 100%; }
#t-map { position: absolute; inset: 0; filter: grayscale(.2) contrast(1.05); }
.t-map-card {
    position: absolute; left: 18px; bottom: 18px; z-index: 500; max-width: 280px;
    background: rgba(14, 14, 16, .9); backdrop-filter: blur(12px);
    border: 1px solid var(--border-2); border-radius: var(--radius); padding: 18px 20px;
}
.t-map-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.t-map-card p { color: var(--text-dim); font-size: .9rem; margin: 0 0 .6rem; }
.t-map-card a { font-weight: 600; }

.t-qr { display: flex; gap: 18px; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-top: 22px; }
.t-qr__code { width: 124px; height: 124px; flex: 0 0 124px; background: #fff; border-radius: 12px; padding: 10px; display: grid; place-items: center; }
.t-qr__code canvas, .t-qr__code img { width: 100% !important; height: 100% !important; }
.t-qr__txt h4 { font-size: 1.1rem; margin-bottom: .3rem; }
.t-qr__txt p { color: var(--text-dim); font-size: .9rem; margin: 0; }

/* Forms */
.t-form { display: grid; gap: 18px; }
.t-field { position: relative; }
.t-field label { display: block; font-size: .85rem; color: var(--text-dim); margin-bottom: .5rem; font-weight: 500; }
.t-field .req { color: var(--accent); }
.t-input, .t-textarea, .t-select {
    width: 100%; background: var(--bg-elev); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
    color: var(--text); padding: .9rem 1rem; font: inherit; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.t-input::placeholder, .t-textarea::placeholder { color: var(--text-faint); }
.t-input:focus, .t-textarea:focus, .t-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #15151a; }
.t-textarea { resize: vertical; min-height: 140px; }
.t-field.has-error .t-input, .t-field.has-error .t-textarea, .t-field.has-error .t-select { border-color: #ff4d4d; box-shadow: 0 0 0 4px rgba(255, 77, 77, .15); }
.t-field__err { color: #ff6b6b; font-size: .8rem; margin-top: .35rem; display: none; }
.t-field.has-error .t-field__err { display: block; }
.t-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.t-check { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-dim); font-size: .9rem; }
.t-check input { margin-top: .25rem; accent-color: var(--accent); width: 18px; height: 18px; }
.t-form__note { color: var(--text-faint); font-size: .82rem; }

.t-alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid; font-size: .95rem; display: none; }
.t-alert.is-show { display: block; }
.t-alert--success { background: rgba(56, 224, 123, .1); border-color: rgba(56, 224, 123, .4); color: #b7f5cf; }
.t-alert--danger { background: rgba(255, 77, 77, .1); border-color: rgba(255, 77, 77, .4); color: #ffc2c2; }

.is-loading { pointer-events: none; opacity: .7; }
.is-loading .spinner { display: inline-block; }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.3); border-top-color: #120800; border-radius: 50%; animation: spin .7s linear infinite; }

/* Page intro header (interior pages) */
.t-pagehead { padding: clamp(130px, 18vh, 190px) 0 clamp(40px, 6vw, 70px); position: relative; }
.t-pagehead__title { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.t-pagehead__lede { color: var(--text-dim); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; margin-top: 1.2rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .t-nav__links { display: none; }
    .t-nav__toggle { display: flex; }
    .t-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
    .t-stat { padding: 0; }
    .t-stat:first-child, .t-stat + .t-stat { border-left: 0; padding-left: 0; }
    .t-platforms { grid-template-columns: repeat(3, 1fr); }
    .t-process { grid-template-columns: repeat(2, 1fr); }
    .t-process .t-step::after { display: none; }
    .t-card { grid-column: span 6; }
    .t-card--third { grid-column: span 6; }
    .t-work__item, .t-work__item--lg, .t-work__item--md { grid-column: span 6; }
    .t-feature { grid-template-columns: 1fr; }
    .t-feature--rev .t-feature__visual { order: 0; }
    .t-contact__grid { grid-template-columns: 1fr; }
    .t-hero__art { display: none; }
}
@media (max-width: 575px) {
    .t-card, .t-card--third, .t-card--wide,
    .t-work__item, .t-work__item--lg, .t-work__item--md { grid-column: span 12; }
    .t-stats { grid-template-columns: 1fr 1fr; }
    .t-platforms { grid-template-columns: repeat(2, 1fr); }
    .t-process { grid-template-columns: 1fr; }
    .t-grid-2 { grid-template-columns: 1fr; }
    .t-footer__bar { flex-direction: column; gap: .4rem; }
    .t-qr { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   MOTION SAFETY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
