:root {
    --tdx-cream: #F3EBDA;
    --tdx-ink: #1E1612;
    --tdx-walnut: #2E1F18;
    --tdx-amber: #F2A33A;
    --tdx-orange: #EC7A2C;
    --tdx-red: #D2472A;
    --tdx-muted: #5E4F45
}
/* ===== The Tech Dynasty: shared site chrome (header, menu, page wipe, boot screen, footer) ===== */
.hdr:not(.tdx-hdr), .note {
    display: none !important
}

.tdx-hdr, .tdx-cols, .tdx-ov, .tdx-boot, .tdx-foot {
    font-family: 'Inter Tight','Helvetica Neue',Arial,sans-serif;
    -webkit-font-smoothing: antialiased
}

    .tdx-hdr button, .tdx-hdr a {
        font-family: inherit
    }

    .tdx-ov ol {
        list-style: none;
        margin: 0;
        padding: 0
    }
/* header */
.tdx-hdr {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(14px + env(safe-area-inset-top,0px)) clamp(14px,3vw,36px) 14px;
    pointer-events: none
}

    .tdx-hdr > * {
        pointer-events: auto
    }

.tdx-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--tdx-ink,var(--ink));
    cursor: pointer;
    border: 0;
    background: none;
    padding: 0
}

    .tdx-logo svg {
        width: 62px;
        height: auto
    }

    .tdx-logo span {
        font-weight: 800;
        font-style: italic;
        font-size: 1.02rem;
        letter-spacing: -.03em;
        text-shadow: 0 0 12px rgba(243,235,218,.8)
    }

.tdx-right {
    display: flex;
    gap: 10px
}

.tdx-mk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 99px;
    background: var(--tdx-cream,var(--cream));
    color: var(--tdx-ink,var(--ink));
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: background .2s
}

    .tdx-mk:hover {
        background: var(--tdx-amber,var(--amber))
    }

    .tdx-mk i {
        display: grid;
        gap: 4px
    }

        .tdx-mk i b {
            display: block;
            width: 16px;
            height: 2px;
            background: currentColor;
            border-radius: 2px
        }

.tdx-st {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 99px;
    background: var(--tdx-amber,var(--amber));
    color: var(--tdx-ink,var(--ink));
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(242,163,58,.3)
}

@media (max-width:640px) {
    .tdx-logo span, .tdx-st .tdx-full {
        display: none
    }
}

@media (min-width:641px) {
    .tdx-st .tdx-short {
        display: none
    }
}
/* desktop menu: expanding picture columns */
.tdx-cols {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    background: var(--tdx-cream,var(--cream));
    visibility: hidden
}

.tdx-cst {
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(34vw,480px);
    transform: rotate(180deg);
    pointer-events: none
}

    .tdx-cst path {
        fill: none;
        stroke-width: 22
    }

.tdx-col {
    text-decoration: none;
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--tdx-ink,var(--ink));
    text-decoration: none;
    border: 0;
    border-left: 1px solid rgba(30,22,18,.16);
    background: none;
    cursor: pointer;
    transition: flex .65s cubic-bezier(.7,0,.2,1)
}

    .tdx-col:first-of-type {
        border-left: 0
    }

.tdx-ci {
    position: absolute;
    inset: 0;
    background: var(--img) center/cover no-repeat;
    opacity: 0;
    transform: scale(1.14);
    transition: opacity .45s,transform 1s cubic-bezier(.2,.8,.2,1)
}

    .tdx-ci::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(30,22,18,.15),rgba(30,22,18,.05) 40%,rgba(30,22,18,.6))
    }

.tdx-cn {
    position: absolute;
    left: 22px;
    top: 110px;
    font-family: 'IBM Plex Mono',ui-monospace,Menlo,monospace;
    font-size: .8rem;
    color: var(--tdx-red,var(--red));
    transition: color .3s
}

.tdx-ct {
    position: relative;
    display: flex;
    align-items: center;
    gap: .25em;
    font-weight: 800;
    font-size: clamp(1.3rem,2.6vw,3rem);
    letter-spacing: -.04em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .3s,transform .6s cubic-bezier(.7,0,.2,1)
}

    .tdx-ct i {
        font-style: normal;
        width: 0;
        overflow: hidden;
        opacity: 0;
        transition: width .4s,opacity .3s
    }

.tdx-cl {
    position: absolute;
    left: 24px;
    bottom: 28px;
    font-weight: 800;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--tdx-cream,var(--cream));
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s .1s,transform .45s .1s
}

.tdx-col:hover, .tdx-col:focus-visible {
    flex: 3.4
}

    .tdx-col:hover .tdx-ci, .tdx-col:focus-visible .tdx-ci {
        opacity: 1;
        transform: scale(1)
    }

    .tdx-col:hover .tdx-ct, .tdx-col:focus-visible .tdx-ct, .tdx-col:hover .tdx-cn, .tdx-col:focus-visible .tdx-cn {
        color: var(--tdx-cream,var(--cream))
    }

    .tdx-col:hover .tdx-ct, .tdx-col:focus-visible .tdx-ct {
        transform: translateY(calc(-50vh + 150px))
    }

        .tdx-col:hover .tdx-ct i, .tdx-col:focus-visible .tdx-ct i {
            width: .9em;
            opacity: 1
        }

    .tdx-col:hover .tdx-cl, .tdx-col:focus-visible .tdx-cl {
        opacity: 1;
        transform: none
    }
/* phone menu */
.tdx-ov {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: var(--tdx-cream,var(--cream));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 90px 28px 40px;
    visibility: hidden;
    overflow: hidden
}

    .tdx-ov .tdx-stp {
        position: absolute;
        right: -30px;
        top: -10px;
        width: 220px
    }

        .tdx-ov .tdx-stp path {
            fill: none;
            stroke-width: 22
        }

    .tdx-ov ol {
        list-style: none;
        margin: 0;
        padding: 0
    }

    .tdx-ov a.tdx-it {
        all: unset;
        cursor: pointer;
        display: flex;
        align-items: baseline;
        gap: 14px;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(30,22,18,.18);
        font-weight: 800;
        font-size: clamp(2.2rem,11vw,3.6rem);
        letter-spacing: -.045em;
        line-height: 1
    }

        .tdx-ov a.tdx-it small {
            font-family: 'IBM Plex Mono',ui-monospace,Menlo,monospace;
            font-weight: 500;
            font-size: .9rem;
            color: var(--tdx-red,var(--red));
            letter-spacing: 0
        }

@media (max-width:860px) {
    .tdx-cols {
        display: none
    }
}

@media (min-width:861px) {
    .tdx-ov {
        display: none
    }
}
/* stripe wipe */
.tdx-wipe {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden
}

.tdx-band {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 190vmax;
    height: 190vmax;
    margin: -95vmax 0 0 -95vmax;
    border-radius: 0 50% 50% 0 / 0 50% 50% 0
}

.tdx-b1 {
    background: var(--tdx-amber,var(--amber))
}

.tdx-b2 {
    background: var(--tdx-orange,var(--orange))
}

.tdx-b3 {
    background: var(--tdx-red,var(--red))
}
/* boot screen */
.tdx-boot {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    background: var(--tdx-walnut,var(--walnut));
    cursor: pointer
}

    .tdx-boot[hidden] {
        display: none
    }

.tdx-b-crt {
    position: relative;
    width: min(560px,88vw);
    aspect-ratio: 4/3;
    padding: 16px;
    border-radius: 26px;
    background: #231a15;
    box-shadow: inset 0 0 0 3px #3b2a20,0 30px 70px rgba(0,0,0,.5)
}

.tdx-b-scr {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px/22px;
    overflow: hidden;
    padding: clamp(16px,4vw,30px);
    font-family: 'IBM Plex Mono',ui-monospace,Menlo,monospace;
    font-weight: 600;
    font-size: clamp(.8rem,2vw,1rem);
    line-height: 1.7;
    color: #3b1703;
    background: radial-gradient(ellipse at 50% 45%,#f9b54c,#e07a22 75%,#b8601c)
}

    .tdx-b-scr::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(ellipse at 22% 14%,rgba(255,255,255,.25),transparent 40%),repeating-linear-gradient(to bottom,rgba(60,20,0,.16) 0 1px,transparent 1px 3px);
        box-shadow: inset 0 0 50px rgba(60,20,0,.5)
    }

.tdx-b-lines div {
    white-space: pre
}

.tdx-b-prog {
    margin-top: 12px;
    height: 12px;
    border: 2px solid #3b1703;
    border-radius: 3px;
    padding: 2px
}

    .tdx-b-prog i {
        display: block;
        height: 100%;
        width: 100%;
        background: #3b1703;
        transform-origin: 0 50%;
        transform: scaleX(0)
    }

.tdx-b-ready {
    margin-top: 14px;
    font-size: 1.5em;
    letter-spacing: .06em;
    opacity: 0
}

.tdx-b-logo {
    position: absolute;
    right: clamp(16px,4vw,30px);
    bottom: clamp(14px,3vw,24px);
    font-family: 'Inter Tight','Helvetica Neue',Arial,sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 1.3em;
    opacity: .85
}

.tdx-b-skip {
    position: absolute;
    bottom: calc(20px + env(safe-area-inset-bottom,0px));
    left: 50%;
    transform: translateX(-50%);
    font-family: 'IBM Plex Mono',ui-monospace,Menlo,monospace;
    font-size: .74rem;
    color: rgba(243,235,218,.55)
}
/* compact footer used on inner pages */
.tdx-foot {
    background: #2E1F18;
    color: rgba(243,235,218,.75);
    font-family: 'Inter Tight','Helvetica Neue',Arial,sans-serif;
    padding: 56px clamp(18px,5vw,72px) 28px;
    position: relative;
    z-index: 3
}

    .tdx-foot::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 12px;
        background: linear-gradient(#F2A33A 0 25%,transparent 25% 37%,#EC7A2C 37% 62%,transparent 62% 75%,#D2472A 75%)
    }

.tdx-fin {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px
}

    .tdx-fin img {
        width: min(260px,100%);
        height: auto;
        display: block;
        margin-bottom: 12px
    }

    .tdx-fin h3 {
        margin: 0 0 10px;
        font-family: 'IBM Plex Mono',monospace;
        font-weight: 600;
        font-size: .74rem;
        letter-spacing: .08em;
        color: #F2A33A
    }

    .tdx-fin ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 7px
    }

    .tdx-fin a {
        color: #F3EBDA;
        text-decoration: none
    }

        .tdx-fin a:hover {
            color: #F2A33A
        }

    .tdx-fin p {
        margin: 0;
        max-width: 34ch;
        line-height: 1.5
    }

.tdx-fbot {
    max-width: 1320px;
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(243,235,218,.15);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: .8rem;
    color: rgba(243,235,218,.55)
}

@media (max-width:900px) {
    .tdx-fin {
        grid-template-columns: 1fr 1fr
    }

        .tdx-fin > div:first-child {
            grid-column: 1/-1
        }
}

/* Home button in the header (all pages, all screen sizes) */
.tdx-home {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 46px;
    padding: 0 16px;
    border-radius: 99px;
    background: #F3EBDA;
    color: #1E1612;
    font-family: 'Inter Tight','Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
    transition: background .2s
}

    .tdx-home svg {
        width: 16px;
        height: 16px;
        fill: currentColor
    }

    .tdx-home:hover, .tdx-home[aria-current="page"] {
        background: #F2A33A
    }

    .tdx-home:focus-visible {
        outline: 2px solid #D2472A;
        outline-offset: 3px
    }

@media (max-width:640px) {
    .tdx-right {
        gap: 6px
    }

    .tdx-home {
        height: 42px;
        padding: 0 12px
    }

        .tdx-home span {
            display: none
        }

    .tdx-mk, .tdx-st {
        height: 42px;
        padding: 0 14px
    }
}
