:root {
    --to-red: #bf1019;
    --to-ink: #141c27;
    --to-muted: #495564;
    --to-line: #e4e8ed;
}
.to-shell { width: min(100% - 64px, 1240px); margin-inline: auto; }
.to-site-header { position: relative; z-index: 40; background: #fff; color: var(--to-ink); }
.to-utility { background: var(--to-red); color: #fff; font-size: 13px; }
.to-utility-inner, .to-utility-contact, .to-languages { display: flex; align-items: center; }
.to-utility-inner { min-height: 36px; justify-content: space-between; gap: 12px; }
.to-utility-contact { flex-wrap: wrap; column-gap: 22px; }
.to-utility a { color: #fff; text-decoration: none; white-space: nowrap; }
.to-utility a:hover { color: #fff; text-decoration: underline; }
.to-utility i { margin-inline-end: 5px; }
.to-languages { gap: 4px; }
.to-languages a { padding: 2px 6px; border-radius: 3px; font-weight: 600; }
.to-languages [aria-current="true"] { background: #fff; color: var(--to-red); }
.to-languages [aria-current="true"]:hover { color: var(--to-red); }
.to-navigation { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 82px; }
.to-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.to-brand img { width: clamp(155px, 16vw, 220px); height: 49px; object-fit: contain; object-position: left center; }
.to-nav-list, .to-dropdown ul { list-style: none; padding: 0; margin: 0; }
.to-nav-list { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(13px, 2vw, 30px); }
.to-nav-link, .to-dropdown summary, .to-nav-contact { color: var(--to-ink); font-weight: 600; font-size: 14px; }
.to-nav-link:hover, .to-dropdown summary:hover, .to-nav-link[aria-current] { color: var(--to-red); }
.to-dropdown { position: relative; }
.to-dropdown summary { cursor: pointer; display: flex; align-items: center; gap: 7px; list-style: none; }
.to-dropdown summary::-webkit-details-marker { display: none; }
.to-dropdown summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.to-dropdown[open] summary::after { transform: translateY(1px) rotate(225deg); }
.to-dropdown ul { position: absolute; top: calc(100% + 16px); left: -14px; min-width: 240px; max-width: 320px; padding: 7px; max-height: min(60vh, 460px); overflow: auto; background: white; border: 1px solid var(--to-line); border-top: 3px solid var(--to-red); border-radius: 5px; box-shadow: 0 16px 34px #10182821; }
.to-dropdown li a { display: block; padding: 9px 10px; color: var(--to-ink); line-height: 1.35; font-size: 14px; }
.to-dropdown li a:hover { background: #f5f6f8; color: var(--to-red); }
.to-nav-contact, .to-action-primary { background: var(--to-red); color: #fff; }
.to-nav-contact { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 4px; }
.to-nav-contact:hover, .to-action-primary:hover { color: #fff; background: #9d0d15; }
.to-menu-toggle { display: none; border: 1px solid var(--to-line); background: #fff; color: var(--to-ink); border-radius: 4px; padding: 8px 12px; font: inherit; font-weight: 600; }
.to-site-header :focus-visible, .to-hero :focus-visible, .to-solutions :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.to-hero { position: relative; background: #151d27; color: #fff; }
.to-slide { position: relative; isolation: isolate; min-height: clamp(510px, 45vw, 700px); display: grid; align-items: center; }
.to-slide[hidden], .to-carousel-controls[hidden] { display: none; }
.to-slide-image, .to-slide::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.to-slide-image { object-fit: cover; object-position: center; z-index: -2; }
.to-slide::after { content: ''; z-index: -1; background: linear-gradient(90deg, rgba(10,16,24,.94) 0%, rgba(12,19,28,.79) 35%, rgba(16,22,30,.30) 70%, rgba(16,22,30,.14) 100%); }
.to-slide-inner { padding-block: 64px 128px; }
.to-slide-content { max-width: 700px; }
.to-slide h1, .to-slide h2 { color: #fff; font-size: clamp(39px, 4.35vw, 70px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 800; text-wrap: balance; }
.to-slide p { color: #f1f3f5; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.6; max-width: 600px; margin: 0 0 26px; }
.to-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.to-action { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 9px 17px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; line-height: 1.3; font-size: 14px; text-align: center; }
.to-action-secondary { color: #fff; background: #141c2759; border-color: #ffffff9c; }
.to-action-secondary:hover { color: var(--to-ink); background: #fff; }
.to-carousel-controls { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; }
.to-carousel-controls button { display: grid; place-items: center; width: 40px; height: 40px; background: #111923a8; border: 1px solid #ffffff86; border-radius: 4px; color: #fff; font-size: 21px; }
.to-carousel-controls button:hover { color: var(--to-ink); background: #fff; }
.to-carousel-count { color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; padding: 3px 8px; background: #111923b5; border-radius: 4px; }
.to-solutions { position: relative; z-index: 1; margin-block: 22px 54px; }
.to-hero + .to-solutions { margin-top: -46px; }
.to-solution-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--to-line); border-top: 3px solid var(--to-red); border-radius: 8px; box-shadow: 0 14px 40px #18233214; }
.to-solution-card { min-width: 0; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 25px clamp(14px, 2vw, 28px); color: var(--to-ink); }
.to-solution-card + .to-solution-card { border-left: 1px solid var(--to-line); }
.to-solution-card:hover, .to-solution-card:focus-visible { background: #fcf6f6; color: var(--to-red); }
.to-solution-card img { width: 42px; height: 42px; object-fit: contain; }
.to-solution-icon, .to-solution-arrow { color: var(--to-red); }
.to-solution-icon { font-size: 28px; padding-top: 2px; }
.to-solution-card h3 { font-size: 17px; line-height: 1.3; color: inherit; margin: 0 0 6px; }
.to-solution-card p { color: var(--to-muted); line-height: 1.5; font-size: 14px; margin: 0; }

@media (max-width: 1000px) {
    .to-shell { width: calc(100% - 40px); }
    .to-navigation { position: relative; min-height: 66px; flex-wrap: wrap; gap: 0 12px; }
    .to-site-header.is-ready .to-menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .to-site-header.is-ready #to-primary-nav { display: none; }
    .to-site-header.is-ready .to-menu-toggle[aria-expanded="true"] + #to-primary-nav { display: block; }
    #to-primary-nav { width: 100%; }
    .to-nav-list { align-items: stretch; flex-direction: column; gap: 0; padding: 5px 0 13px; }
    .to-nav-list > li + li { border-top: 1px solid var(--to-line); }
    .to-nav-link, .to-dropdown summary { display: flex; padding: 11px 0; }
    .to-dropdown summary { justify-content: space-between; padding-inline-end: 5px; }
    .to-nav-contact { margin-top: 8px; }
    .to-dropdown ul { position: static; max-width: none; min-width: 0; max-height: none; border: 0; box-shadow: none; background: #f5f6f8; margin-bottom: 8px; }
}
@media (max-width: 767px) {
    .to-shell { width: calc(100% - 32px); }
    .to-utility { font-size: 11px; }
    .to-utility-inner { padding-block: 4px; }
    .to-utility-contact { column-gap: 12px; row-gap: 1px; }
    .to-utility i { margin-inline-end: 2px; }
    .to-slide { min-height: 500px; }
    .to-slide::after { background: linear-gradient(90deg, #0a1018ed, #10161e9e); }
    .to-slide-inner { padding-block: 44px 92px; }
    .to-slide h1, .to-slide h2 { font-size: clamp(33px, 7.6vw, 46px); }
    .to-carousel-controls { bottom: 22px; }
    .to-hero + .to-solutions { margin-top: 18px; }
    .to-solution-grid { grid-auto-flow: row; grid-auto-columns: auto; }
    .to-solution-card { padding: 20px 16px; }
    .to-solution-card + .to-solution-card { border-left: 0; border-top: 1px solid var(--to-line); }
}

.to-profile { padding: clamp(42px, 6vw, 88px) 0; background: #fff; }
.to-profile-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 86px); }
.to-profile h2, .to-references h2 { color: var(--to-ink); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; margin: 0; }
.to-profile h2 { max-width: 600px; font-size: clamp(32px, 4vw, 54px); }
.to-profile-intro { color: var(--to-muted); max-width: 530px; line-height: 1.65; margin: 17px 0 22px; font-size: 16px; }
.to-profile-services { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--to-line); }
.to-profile-services li { border-bottom: 1px solid var(--to-line); }
.to-profile-services button { width: 100%; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 12px; padding: 12px 10px; text-align: left; border: 0; border-left: 3px solid transparent; background: transparent; font: inherit; cursor: pointer; }
.to-profile-services button[aria-pressed="true"] { background: #fbf3f3; border-left-color: var(--to-red); }
.to-profile-services i { color: var(--to-red); font-size: 19px; padding-top: 3px; text-align: center; }
.to-profile-services strong { display: block; color: var(--to-ink); font-size: 16px; line-height: 1.35; font-weight: 700; margin: 0 0 3px; }
.to-profile-services button span span { display: block; color: var(--to-muted); font-size: 14px; line-height: 1.5; }
.to-profile .to-action { gap: 10px; }
.to-profile-project { display: grid; position: relative; align-items: end; min-width: 0; min-height: 415px; overflow: hidden; isolation: isolate; color: white; background: #17212a; border-radius: 8px; }
.to-profile-project[hidden] { display: none; }
.to-profile-project img { width: 100%; height: 100%; position: absolute; inset: 0; z-index: -2; object-fit: cover; }
.to-profile-project::after { content: ''; position: absolute; inset: 35% 0 0; z-index: -1; background: linear-gradient(transparent, #101822ee); }
.to-profile-project span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; color: #fff; font-weight: 700; }
.to-profile-project:hover span { text-decoration: underline; }
.to-profile :focus-visible, .to-references :focus-visible { outline: 2px solid var(--to-red); outline-offset: 4px; }
.to-references { padding: clamp(30px, 4vw, 56px) 0; background: #f5f7f9; border-block: 1px solid var(--to-line); }
.to-references-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 20px; }
.to-references h2 { font-size: clamp(24px, 2.4vw, 34px); }
.to-references-link { display: inline-flex; align-items: center; gap: 9px; color: var(--to-red); font-weight: 700; font-size: 14px; }
.to-references-link:hover { color: #9d0d15; text-decoration: underline; }
.to-reference-bands { display: grid; gap: 12px; }
.to-reference-band { --to-logo-gap: 14px; overflow: hidden; }
.to-reference-motion { display: flex; width: max-content; }
.to-reference-logos { display: flex; flex: none; gap: var(--to-logo-gap); list-style: none; padding: 0 var(--to-logo-gap) 0 0; margin: 0; }
.to-reference-logos li { width: clamp(142px, 15vw, 210px); height: 86px; display: grid; place-items: center; padding: 9px 15px; background: #fff; border: 1px solid var(--to-line); border-radius: 8px; }
.to-reference-logos img { display: block; width: 144px; max-width: 100%; height: auto; aspect-ratio: 2; object-fit: contain; }
.to-reference-band.is-moving { mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
.to-reference-band.is-moving .to-reference-motion { animation: to-reference-drift var(--to-reference-duration, 30s) linear infinite; }
.to-reference-band-reverse.is-moving .to-reference-motion { animation-direction: reverse; }
.to-reference-bands:hover .to-reference-motion, .to-references.is-paused .to-reference-motion { animation-play-state: paused; }
.to-reference-band:not(.is-moving) { overflow-x: auto; scrollbar-width: none; }
.to-reference-band:not(.is-moving)::-webkit-scrollbar { display: none; }
.to-reference-pause { display: grid; place-items: center; width: 36px; height: 36px; margin: 10px auto 0; border: 0; border-radius: 50%; background: transparent; color: var(--to-ink); font-size: 12px; }
.to-reference-pause[hidden] { display: none; }
.to-reference-pause:hover { color: var(--to-red); background: #fff; }
@keyframes to-reference-drift { to { transform: translateX(calc(-1 * var(--to-reference-distance))); } }
@media (max-width: 767px) {
    .to-profile-layout { grid-template-columns: minmax(0, 1fr); }
    .to-profile-project { min-height: clamp(230px, 62vw, 400px); }
    .to-profile-project span { padding: 17px 15px; }
    .to-reference-band { --to-logo-gap: 10px; }
    .to-reference-logos li { height: 72px; padding: 7px 12px; }
}

.to-home-section { padding: clamp(38px, 5vw, 76px) 0; color: var(--to-ink); }
.to-home-services { background: #fff; }
.to-home-projects { background: #161e29; color: #fff; }
.to-home-blog { background: #f5f7f9; }
.to-home-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 26px; margin-bottom: clamp(20px, 3vw, 34px); }
.to-home-label { display: block; color: var(--to-red); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.to-home-head h2 { color: inherit; font-size: clamp(29px, 3.35vw, 48px); letter-spacing: -.035em; line-height: 1.13; font-weight: 800; margin: 0; }
.to-home-head h2 em { color: var(--to-red); font-style: normal; }
.to-home-projects .to-home-label, .to-home-projects .to-home-head h2 em { color: #ff8e90; }
.to-home-link { display: inline-flex; align-items: center; gap: 8px; color: var(--to-red); font-size: 14px; font-weight: 700; padding-block: 4px; }
.to-home-link:hover { color: var(--to-red); text-decoration: underline; }
.to-home-projects .to-home-link, .to-home-projects .to-home-link:hover { color: #fff; }
.to-home-section :focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.to-service-selector { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.to-service-selector[hidden], .to-service-panel[hidden] { display: none; }
.to-service-selector button { text-align: left; border: 1px solid var(--to-line); padding: 10px 13px; border-radius: 5px; background: #f5f7f9; color: var(--to-ink); font-size: 14px; line-height: 1.3; font-weight: 650; }
.to-service-selector button[aria-selected="true"] { background: var(--to-red); border-color: var(--to-red); color: #fff; }
.to-service-panels { display: grid; gap: 18px; }
.to-service-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 295px; background: #f5f7f9; border: 1px solid var(--to-line); border-radius: 8px; overflow: hidden; }
.to-service-media { position: relative; min-height: 295px; }
.to-service-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.to-service-copy { padding: clamp(22px, 4vw, 50px); align-self: center; }
.to-service-copy h3 { color: var(--to-ink); font-size: clamp(23px, 2.8vw, 39px); line-height: 1.17; font-weight: 800; margin: 0 0 14px; }
.to-service-copy p { color: var(--to-muted); line-height: 1.65; margin: 0 0 22px; }
.to-service-copy .to-action { gap: 10px; }
.to-project-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.to-project-tile { position: relative; min-height: clamp(245px, 24vw, 340px); display: flex; align-items: end; isolation: isolate; overflow: hidden; border-radius: 8px; background: #2a3543; color: #fff; }
.to-project-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .3s ease; }
.to-project-tile::after { content: ''; position: absolute; inset: 18% 0 0; background: linear-gradient(transparent, #121a26f5); z-index: -1; }
.to-project-tile:hover img { transform: scale(1.045); }
.to-project-tile:hover { color: #fff; }
.to-project-caption { padding: 16px 38px 16px 16px; }
.to-project-caption span { display: block; color: #ffaaa9; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.to-project-caption h3 { color: #fff; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.3; margin: 0; }
.to-project-tile > i { position: absolute; right: 15px; bottom: 17px; }
.to-blog-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12px 20px; align-items: start; }
.to-blog-layout.to-blog-single { grid-template-columns: minmax(0, 1fr); }
.to-blog-entry { display: grid; grid-template-columns: clamp(94px, 11vw, 155px) minmax(0, 1fr); align-items: stretch; min-width: 0; background: #fff; color: var(--to-ink); border: 1px solid var(--to-line); border-radius: 7px; overflow: hidden; }
.to-blog-entry:hover { color: var(--to-red); border-color: #e5b7b9; }
.to-blog-entry img { width: 100%; height: 100%; object-fit: cover; min-height: 108px; }
.to-blog-copy { padding: 13px 15px; min-width: 0; }
.to-blog-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--to-muted); font-size: 12px; line-height: 1.3; margin-bottom: 6px; }
.to-blog-meta:empty { display: none; }
.to-blog-meta span:first-child { color: var(--to-red); font-weight: 700; }
.to-blog-copy h3 { color: inherit; font-size: clamp(15px, 1.6vw, 20px); line-height: 1.3; margin: 0 0 5px; }
.to-blog-copy p { font-size: 13px; line-height: 1.5; color: var(--to-muted); margin: 0; }
.to-blog-feature { grid-row: span 3; grid-template-columns: 1fr; }
.to-blog-feature img { aspect-ratio: 2.15; height: auto; }
.to-blog-feature .to-blog-copy { padding: clamp(16px, 2.3vw, 30px); }
.to-blog-feature h3 { font-size: clamp(22px, 2.25vw, 34px); margin-bottom: 10px; }
.to-blog-feature .to-home-link { margin-top: 10px; }
@media (max-width: 1000px) {
    .to-project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .to-service-panel, .to-blog-layout { grid-template-columns: minmax(0, 1fr); }
    .to-service-media { min-height: 0; aspect-ratio: 1.85; }
    .to-service-selector { gap: 6px; }
    .to-service-selector button { font-size: 13px; padding: 8px 10px; }
    .to-project-gallery { gap: 8px; }
    .to-project-tile { min-height: 200px; }
    .to-project-caption { padding: 12px 25px 12px 10px; }
    .to-project-tile > i { right: 8px; bottom: 13px; font-size: 12px; }
    .to-blog-feature { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .to-project-tile img { transition: none; }
}
