:root {
    --black: #050507;
    --black-soft: #0b0b10;
    --ink: #111117;
    --paper: #fffaf4;
    --white: #ffffff;
    --muted: #b9bac5;
    --line: rgba(255, 255, 255, 0.14);
    --red: #f20f1f;
    --red-dark: #c80716;
    --blue: #1024c7;
    --yellow: #f4bf00;
    --pink: #f23882;
    --max-width: 1240px;
    --radius: 18px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 20px;
    top: 12px;
    z-index: 9999;
    transform: translateY(-160%);
    background: var(--yellow);
    color: var(--black);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(5, 5, 7, 0.92);
    border-bottom-color: var(--line);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.06em;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.brand-two {
    color: var(--red);
}

.brand-inc {
    letter-spacing: -0.03em;
    margin-left: 4px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.primary-nav a {
    position: relative;
    color: rgba(255,255,255,0.86);
    font-size: 14px;
    font-weight: 650;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 2px;
    background: var(--red);
    transition: right 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
    right: 0;
}

.header-cta {
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    padding: 10px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid var(--red);
    border-radius: 6px;
    background: var(--red);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
    transform: translateY(-2px);
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.button-small {
    min-height: 42px;
    padding-inline: 18px;
}

.button-outline {
    background: rgba(0,0,0,0.16);
    border-color: rgba(255,255,255,0.48);
}

.button-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.button-dark {
    background: var(--black);
    border-color: var(--black);
}

.button-full {
    width: 100%;
}

.button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.hero {
    position: relative;
    min-height: 715px;
    overflow: hidden;
    display: grid;
    align-items: center;
    background: var(--black);
}

.hero-art {
    position: absolute;
    inset: 0 0 0 30%;
    background-image: url('/assets/img/tio2-hero-art.webp');
    background-size: cover;
    background-position: center 43%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #050507 0%, #050507 24%, rgba(5,5,7,0.92) 40%, rgba(5,5,7,0.22) 72%, rgba(5,5,7,0.1) 100%),
        linear-gradient(0deg, rgba(5,5,7,0.88) 0%, transparent 26%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    padding-top: 112px;
    padding-bottom: 74px;
}

.hero-copy {
    width: min(580px, 100%);
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--yellow);
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 6.4vw, 85px);
    line-height: 0.98;
    letter-spacing: -0.065em;
    max-width: 800px;
}

.hero h1 span {
    color: var(--red);
}

.hero p {
    max-width: 610px;
    margin: 22px 0 0;
    color: rgba(255,255,255,0.84);
    font-size: 17px;
}

.hero .hero-lead {
    color: var(--white);
    font-size: 19px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.audience-strip {
    background: var(--paper);
    color: var(--black);
    border-bottom: 1px solid rgba(17,17,23,0.12);
}

.audience-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.audience-inner p {
    width: 110px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.audience-inner span {
    font-weight: 750;
    color: rgba(17,17,23,0.68);
}

.section {
    padding: 100px 0;
    background: var(--paper);
    color: var(--ink);
}

.section-heading {
    margin-bottom: 48px;
}

.split-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: end;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2,
.outcomes-content h2,
.legal-content h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.section-heading > p,
.centered-heading > p {
    color: rgba(17,17,23,0.7);
    font-size: 18px;
}

.centered-heading {
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(17,17,23,0.16);
    border-left: 1px solid rgba(17,17,23,0.16);
}

.service-card {
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(17,17,23,0.16);
    border-bottom: 1px solid rgba(17,17,23,0.16);
    background: rgba(255,255,255,0.25);
}

.service-card:nth-child(1) { border-top: 5px solid var(--red); }
.service-card:nth-child(2) { border-top: 5px solid var(--blue); }
.service-card:nth-child(3) { border-top: 5px solid var(--yellow); }
.service-card:nth-child(4) { border-top: 5px solid var(--pink); }

.service-number {
    font-size: 13px;
    font-weight: 900;
}

.service-card h3 {
    margin: 58px 0 12px;
    font-size: 24px;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.service-card p {
    color: rgba(17,17,23,0.68);
}

.service-card a {
    margin-top: auto;
    font-size: 14px;
    font-weight: 850;
}

.deliverables-section {
    background: #f5efe7;
}

.deliverables-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 46px;
    align-items: start;
}

.deliverables-intro {
    position: sticky;
    top: 110px;
}

.deliverables-intro h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.deliverables-intro p:not(.eyebrow) {
    color: rgba(17,17,23,0.72);
    margin-bottom: 28px;
}

.deliverable-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.deliverable-card {
    position: relative;
    min-height: 310px;
    padding: 25px;
    border: 1px solid rgba(17,17,23,0.13);
    border-radius: 14px;
    background: rgba(255,255,255,0.54);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.deliverable-card::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    top: -54px;
    right: -54px;
    background: var(--deliverable-accent);
}

.deliverable-red { --deliverable-accent: var(--red); }
.deliverable-blue { --deliverable-accent: var(--blue); }
.deliverable-yellow { --deliverable-accent: var(--yellow); }
.deliverable-pink { --deliverable-accent: var(--pink); }

.deliverable-topline {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.deliverable-topline span:last-child {
    min-width: 0;
    justify-self: end;
    padding-right: 18px;
    color: var(--deliverable-accent);
    font-size: 11px;
    text-align: right;
    white-space: nowrap;
}

.deliverable-card h3 {
    margin: 42px 0 8px;
    font-size: 25px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.deliverable-card p {
    margin: 8px 0;
    color: rgba(17,17,23,0.68);
}

.deliverable-card .deliverable-audience {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.deliverable-card a {
    margin-top: auto;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.outcomes-section {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    display: grid;
    align-items: center;
    background: var(--black);
}

.outcomes-art {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(5,5,7,0.9), rgba(5,5,7,0.38), rgba(5,5,7,0.88)),
        url('/assets/img/tio2-hero-art.webp');
    background-size: cover;
    background-position: center 75%;
    opacity: 0.78;
}

.outcomes-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
    padding-block: 80px;
}

.outcomes-content p {
    color: rgba(255,255,255,0.78);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.metric {
    min-height: 210px;
    padding: 28px 22px;
    background: rgba(5,5,7,0.86);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.metric strong {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.metric strong span {
    color: var(--red);
}

.metric p {
    margin-bottom: 0;
    font-size: 14px;
}

.process-grid {
    list-style: none;
    padding: 0;
    margin: 52px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.process-grid li {
    position: relative;
    padding: 90px 24px 28px;
    border-top: 1px solid rgba(17,17,23,0.25);
}

.process-grid li::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
}

.process-grid span {
    position: absolute;
    top: 22px;
    color: rgba(17,17,23,0.35);
    font-size: 38px;
    font-weight: 900;
}

.process-grid h3 {
    margin: 0 0 12px;
    font-size: 24px;
}

.process-grid p {
    color: rgba(17,17,23,0.68);
}

.about-section {
    background: var(--black);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}

.about-visual {
    min-height: 680px;
    background-image: url('/assets/img/tio2-hero-art.webp');
    background-size: cover;
    background-position: 50% center;
}

.about-copy {
    padding: 90px clamp(35px, 7vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-copy p:not(.eyebrow) {
    color: rgba(255,255,255,0.76);
    font-size: 17px;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.about-points span {
    border: 1px solid var(--line);
    padding: 14px;
    font-size: 13px;
    font-weight: 750;
}

.contact-section {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 80px;
    align-items: start;
}

.contact-copy {
    position: sticky;
    top: 120px;
}

.contact-copy p:not(.eyebrow) {
    color: rgba(17,17,23,0.7);
    font-size: 18px;
}

.contact-links {
    margin-top: 34px;
    display: grid;
    gap: 1px;
    background: rgba(17,17,23,0.14);
    border: 1px solid rgba(17,17,23,0.14);
}

.contact-links a {
    padding: 18px;
    background: var(--paper);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.contact-links span {
    color: rgba(17,17,23,0.55);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.contact-links strong {
    text-align: right;
}

.contact-panel {
    border: 1px solid rgba(17,17,23,0.14);
    background: var(--white);
    padding: clamp(24px, 5vw, 48px);
    box-shadow: var(--shadow);
}

form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(17,17,23,0.22);
    border-radius: 6px;
    background: #fffdf9;
    color: var(--ink);
    padding: 13px 14px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--red);
    outline: 2px solid rgba(242,15,31,0.16);
}

.field-help,
.form-note {
    color: rgba(17,17,23,0.56);
    font-size: 12px;
    font-weight: 500;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600;
}

.checkbox-row input {
    width: auto;
    margin-top: 4px;
}

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

.form-status {
    margin-bottom: 22px;
    padding: 18px;
    border-left: 5px solid;
}

.form-status p {
    margin-bottom: 0;
}

.form-status.success {
    background: #edf8ef;
    border-color: #16803a;
}

.form-status.error {
    background: #fff0f1;
    border-color: var(--red);
}

.form-status ul {
    margin-bottom: 0;
}

.site-footer {
    background: var(--black);
    border-top: 1px solid var(--line);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 50px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-grid p {
    max-width: 320px;
    color: var(--muted);
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-grid a:not(.brand) {
    color: var(--muted);
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: #8b8c96;
    font-size: 12px;
}

.legal-page {
    background: var(--paper);
    color: var(--ink);
    padding: 150px 0 100px;
    min-height: 75vh;
}

.legal-content {
    max-width: 850px;
}

.legal-content h2 {
    margin-top: 40px;
    font-size: 25px;
}

.legal-content p,
.legal-content li {
    color: rgba(17,17,23,0.73);
}

.legal-content a {
    color: var(--red-dark);
    text-decoration: underline;
}

.legal-updated {
    margin-bottom: 48px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .header-cta {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .deliverables-layout {
        grid-template-columns: 250px 1fr;
    }

    .outcomes-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 50px;
    }
}

@media (max-width: 980px) {
    .site-header,
    .site-header.is-scrolled {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 5000;
        transform: none !important;
        filter: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(5,5,7,0.98);
    }

    .header-inner {
        position: relative;
        z-index: 5002;
        justify-content: space-between;
    }

    .nav-toggle {
        position: relative;
        z-index: 5003;
        display: block;
        order: 3;
    }

    .primary-nav {
        position: fixed !important;
        top: 74px !important;
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        z-index: 5001 !important;
        width: 100% !important;
        min-height: calc(100vh - 74px);
        min-height: calc(100dvh - 74px);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin: 0 !important;
        padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
        background: #050507;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .primary-nav.is-open {
        display: flex !important;
    }

    .primary-nav a {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--line);
        font-size: 20px;
    }

    .hero-art {
        left: 18%;
        opacity: 0.72;
    }

    .hero-overlay {
        background: linear-gradient(90deg, #050507 0%, rgba(5,5,7,0.88) 48%, rgba(5,5,7,0.42) 100%);
    }

    .split-heading,
    .deliverables-layout,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .deliverables-intro,
    .contact-copy {
        position: static;
    }

    .about-visual {
        min-height: 460px;
    }

    .about-copy {
        padding-inline: 30px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .hero {
        min-height: 760px;
    }

    .hero-art {
        inset: 0;
        opacity: 0.48;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(5,5,7,0.65), #050507 72%);
    }

    .hero-grid {
        padding-top: 120px;
        align-self: end;
    }

    .hero h1 {
        font-size: clamp(47px, 14vw, 68px);
    }

    .button-row,
    .button-row .button {
        width: 100%;
    }

    .audience-inner {
        justify-content: flex-start;
        gap: 14px 22px;
        padding-block: 20px;
    }

    .audience-inner p {
        width: 100%;
    }

    .section {
        padding: 76px 0;
    }

    .services-grid,
    .deliverable-grid,
    .metrics-grid,
    .process-grid,
    .about-points,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 285px;
    }

    .deliverables-intro h2 {
        font-size: 38px;
    }

    /* Mobile deliverable cards: keep long prices inside the card and away
       from the decorative corner circle. */
    .deliverable-card {
        min-height: 0;
        padding: 28px 24px 30px;
        border-radius: 16px;
    }

    .deliverable-card::before {
        width: 96px;
        height: 96px;
        top: -58px;
        right: -58px;
    }

    .deliverable-topline {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: 16px;
        line-height: 1.2;
    }

    .deliverable-topline span:last-child {
        justify-self: end;
        max-width: 100%;
        margin-right: 0;
        padding-right: 12px;
        text-align: right;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .deliverable-card h3 {
        margin-top: 34px;
        font-size: clamp(28px, 8.5vw, 36px);
    }

    .deliverable-card p {
        line-height: 1.55;
    }

    .deliverable-card a {
        margin-top: 24px;
        padding-bottom: 2px;
    }

    .metric {
        min-height: 150px;
    }

    .process-grid li {
        min-height: 230px;
    }

    .about-visual {
        min-height: 380px;
    }

    .contact-links a {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .contact-links strong {
        text-align: left;
        overflow-wrap: anywhere;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
