/* CTC — Combs Technical
   Light corporate style: white space, thin uppercase display type with a
   heavier second weight, small gold rules, aqua pill buttons, soft grey bands. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    color-scheme: light;

    --white: #FFFFFF;
    --grey-bg: #F6F6F5;
    --ink: #2B2B2A;
    --text: #5C5C5A;
    --muted: #9A9A97;
    --line: #E2E2DF;
    --aqua: #6CCFCA;
    --teal: #0C7C88;
    --gold: #EDBE52;
    --footer: #868684;

    --font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

    --gutter: clamp(1.25rem, 6.5vw, 8rem);
    --header-h: 88px;
    --space: clamp(4rem, 8vw, 7.5rem);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

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

.wrap {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* ---------- Shared type ---------- */

/* small heading with a short gold rule beneath */
.kicker {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 1.1rem;
    position: relative;
}

.kicker::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.2rem;
    height: 2px;
    background: var(--gold);
}

/* two-line uppercase title: thin first line, heavier second */
.display {
    font-size: clamp(2.8rem, 8vw, 7.5rem);
    font-weight: 200;
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--ink);
}

.display span,
.display b {
    display: block;
}

.display span {
    font-weight: 300;
    color: var(--text);
}

.display b {
    font-weight: 400;
}

.display-sm {
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

/* rotated label with a rule, set in the left margin */
.side-label {
    position: absolute;
    left: calc(var(--gutter) * 0.42);
    top: 50%;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    white-space: nowrap;
}

.side-label::before {
    content: '';
    width: 1px;
    height: 5rem;
    background: currentColor;
    opacity: 0.6;
}

/* ---------- Buttons ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0 2.4rem;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--white);
    background: var(--aqua);
    border: 1.5px solid var(--aqua);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.pill:hover {
    background: var(--teal);
    border-color: var(--teal);
}

.pill-outline {
    background: transparent;
    border-color: var(--white);
}

.pill-outline:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
}

.more {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--aqua);
    transition: color 0.25s ease;
}

.more:hover {
    color: var(--teal);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    padding: 0 clamp(1.25rem, 3.2vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--white);
    color: var(--ink);
    transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 var(--line);
}

/* over the hero photograph the header is clear until the page scrolls */
.site-header.on-hero:not(.is-scrolled):not(.menu-open) {
    background: transparent;
    color: var(--white);
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0.9rem;
    text-decoration: none;
    line-height: 1;
}

.logo-mark {
    font-size: 1.45rem;
    font-weight: 300;
    letter-spacing: 0.34em;
}

.logo-sub {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.75;
    white-space: nowrap;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2.25rem);
}

.lang-pill {
    min-height: 2rem;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 0;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: var(--white);
    background: var(--ink);
    transition: background 0.3s ease, color 0.3s ease;
}

.site-header.on-hero:not(.is-scrolled):not(.menu-open) .lang-pill {
    color: var(--ink);
    background: var(--white);
}

.lang-pill:hover {
    background: var(--teal);
    color: var(--white);
}

.menu-btn {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
}

.menu-btn span {
    width: 40px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s ease;
}

.menu-btn[aria-expanded='true'] span:first-child {
    transform: translateY(4.25px) rotate(20deg);
}

.menu-btn[aria-expanded='true'] span:last-child {
    transform: translateY(-4.25px) rotate(-20deg);
}

/* ---------- Full-screen menu ---------- */
.menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--white);
    padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
    overflow-y: auto;
}

.menu[hidden] {
    display: none;
}

.menu-inner {
    max-width: 1680px;
    margin: 0 auto;
}

.menu-list {
    list-style: none;
    margin-top: 2rem;
}

.menu-list a {
    display: block;
    padding: 0.45rem 0;
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    font-weight: 200;
    line-height: 1.15;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text);
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.menu-list a:hover {
    color: var(--teal);
    padding-left: 0.5rem;
}

.menu-list-secondary {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.menu-list-secondary a {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

/* ---------- Home hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--white);
    background:
        linear-gradient(180deg, rgba(248, 214, 205, 0.5) 0%, rgba(214, 196, 224, 0.42) 48%, rgba(176, 190, 214, 0.5) 100%),
        url('images/hero-city.jpg') center 60% / cover no-repeat,
        linear-gradient(180deg, #F3D3CB 0%, #CDBFD9 55%, #A9B6CC 100%);
}

.hero-inner {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 2rem 3rem;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: clamp(2.5rem, 7vh, 5rem);
}

.hero-title {
    font-size: clamp(2.6rem, 8.2vw, 8.6rem);
    font-weight: 200;
    line-height: 0.96;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    text-shadow: 0 2px 40px rgba(70, 60, 90, 0.25);
}

.hero-title b,
.hero-title span {
    display: block;
}

.hero-title b {
    font-weight: 400;
}

.hero .pill {
    margin-bottom: 0.9rem;
}

/* the five brands, visible on arrival */
.hero-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-strip a {
    padding: 1.35rem 1rem;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    border-left: 1px solid var(--line);
    transition: background 0.3s ease, color 0.3s ease;
}

.hero-strip a:first-child {
    border-left: 0;
}

.hero-strip a:hover {
    background: var(--aqua);
    color: var(--white);
}

/* ---------- Home: statement + figures ---------- */
.about {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 3rem clamp(2rem, 6vw, 7rem);
    align-items: center;
    padding-top: var(--space);
    padding-bottom: var(--space);
}

.about-lead {
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    line-height: 1.4;
    letter-spacing: 0.01em;
    max-width: 22ch;
    margin-bottom: 2.25rem;
}

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

/* numerals cut out of a photograph */
.stat-num {
    display: block;
    font-size: clamp(9rem, 21vw, 21rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--muted);
    background: center / cover no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-num-a {
    background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), url('images/brands/kqs-industrial.jpg');
}

.stat-num-b {
    background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.25)), url('images/brands/koquelani.jpg');
}

.stat p {
    margin-top: 1.25rem;
    max-width: 30ch;
    font-size: 1rem;
}

/* ---------- Home: brands accordion ---------- */
.platforms {
    position: relative;
    background: var(--grey-bg);
    padding: var(--space) 0;
}

.platforms-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 2.5rem clamp(2rem, 6vw, 7rem);
    align-items: start;
}

.acc-media {
    position: relative;
    aspect-ratio: 1 / 1.05;
    max-height: 78vh;
    width: 100%;
    overflow: hidden;
    background: var(--line);
}

.acc-figure {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.acc-figure.is-active {
    opacity: 1;
}

.acc-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acc-figure-logo {
    background: #0C0E14;
}

.acc-figure-logo svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42%;
    height: auto;
    transform: translate(-50%, -50%);
}

.acc-item {
    border-top: 1px solid var(--line);
}

.acc-item:last-child {
    border-bottom: 1px solid var(--line);
}

.acc-head {
    display: block;
    width: 100%;
    padding: 1.6rem 0;
    background: transparent;
    border: 0;
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    color: var(--text);
    cursor: pointer;
    transition: color 0.25s ease, font-size 0.35s ease;
}

.acc-head b {
    font-weight: inherit;
}

.acc-head:hover {
    color: var(--teal);
}

.acc-item.is-open .acc-head {
    padding-bottom: 0.9rem;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    font-weight: 200;
    letter-spacing: 0.01em;
    line-height: 1;
    color: var(--text);
    cursor: default;
}

.acc-item.is-open .acc-head span,
.acc-item.is-open .acc-head b {
    display: block;
}

.acc-item.is-open .acc-head b {
    font-weight: 400;
    color: var(--ink);
}

.acc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s ease;
}

.acc-body > div {
    overflow: hidden;
}

.acc-item.is-open .acc-body {
    grid-template-rows: 1fr;
}

.acc-body p {
    max-width: 44ch;
    font-size: 1.02rem;
}

.acc-body .more {
    display: inline-block;
    margin: 1.1rem 0 1.8rem;
}

/* ---------- Feature / contact band ---------- */
.feature {
    position: relative;
    color: var(--white);
    background:
        radial-gradient(ellipse 90% 70% at 70% 50%, rgba(255, 255, 255, 0.14), transparent 70%),
        repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 22px),
        #84878E;
    padding: clamp(5rem, 11vw, 9.5rem) 0;
}

.feature .wrap {
    position: relative;
}

.feature-title {
    font-size: clamp(2rem, 5vw, 4.6rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: 0.005em;
    max-width: 16ch;
    margin-bottom: 2.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--footer);
    color: var(--white);
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
}

.footer-head {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-nav {
    list-style: none;
}

.footer-nav a {
    display: inline-block;
    padding: 0.3rem 0;
    font-size: 0.92rem;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-note {
    margin-top: 1.5rem;
    font-size: 0.74rem;
    opacity: 0.85;
}

.footer-note + .footer-note {
    margin-top: 0.4rem;
    opacity: 0.6;
}

/* ---------- Inner page banner ---------- */
.banner {
    padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem));
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.banner-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2rem clamp(2rem, 5vw, 6rem);
    align-items: center;
    margin-top: clamp(1.5rem, 3vw, 2.75rem);
}

.banner-lead {
    font-size: clamp(1.2rem, 1.7vw, 1.55rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 1.25rem;
    max-width: 24ch;
}

.banner-text p {
    max-width: 44ch;
}

.banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
    padding: var(--space) 0;
}

.section-grey {
    background: var(--grey-bg);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 4rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head p {
    max-width: 52ch;
    justify-self: end;
}

.service-index {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--aqua);
}

/* ---------- Carousel ---------- */
.carousel {
    position: relative;
    --gap: 1.75rem;
    --per-view: 3;
}

.carousel-track {
    position: relative;
    display: flex;
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track > * {
    flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    scroll-snap-align: start;
}

.carousel-ui {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.carousel-count {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
    min-width: 6ch;
    white-space: nowrap;
}

.carousel-count i {
    font-style: normal;
    font-weight: 300;
    color: var(--muted);
}

.carousel-progress {
    flex: 1;
    height: 1px;
    background: var(--line);
    position: relative;
}

.carousel-progress span {
    position: absolute;
    left: 0;
    top: -0.5px;
    height: 2px;
    width: 0;
    background: var(--gold);
    transition: width 0.5s ease;
}

.carousel-arrows {
    display: flex;
    gap: 0.6rem;
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 1.05rem;
    color: var(--white);
    background: var(--aqua);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.25s ease;
}

.carousel-arrow:hover:not(:disabled) {
    background: var(--teal);
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

/* ---------- Service cards ---------- */
.carousel-services {
    --per-view: 4;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
}

.service-media {
    height: 170px;
    overflow: hidden;
    background: var(--line);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.04);
}

.service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.6rem 1.6rem 1.5rem;
}

.service-card h3 {
    margin-top: 0.6rem;
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--ink);
}

.service-card p {
    margin-top: 0.8rem;
    font-size: 0.88rem;
    line-height: 1.6;
}

.service-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.1rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.service-tags li {
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Split + line list ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem clamp(2rem, 6vw, 7rem);
    align-items: center;
}

.split-lead {
    margin-top: 1.5rem;
    max-width: 40ch;
}

.line-list {
    list-style: none;
    border-bottom: 1px solid var(--line);
}

.line-list li {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
    font-size: clamp(1.02rem, 1.4vw, 1.25rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
}

.line-list li span:first-child {
    flex: 0 0 2.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--aqua);
}

/* ---------- Pillars (Gaming Data Systems) ---------- */
.pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.pillar {
    background: var(--white);
    padding: 2rem 1.75rem 2.25rem;
}

.pillar h3 {
    margin-top: 1.5rem;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
}

.pillar p {
    margin-top: 0.8rem;
    font-size: 0.92rem;
}

.logo-tile {
    position: relative;
    justify-self: start;
    width: min(100%, 300px);
    aspect-ratio: 1;
    background: #0C0E14;
}

.logo-tile svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52%;
    height: auto;
    transform: translate(-50%, -50%);
}

.statement {
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--ink);
    max-width: 30ch;
}

/* ---------- Kiosk gallery ---------- */
.carousel-gallery {
    --gap: 1rem;
}

.carousel-gallery .carousel-track > * {
    flex: 0 0 auto;
}

.gallery-slide {
    height: clamp(320px, 60vh, 560px);
    background: var(--line);
}

.gallery-slide img {
    height: 100%;
    width: auto;
    max-width: none;
}

/* ---------- Hover tiles (kiosk services) ---------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.tile {
    position: relative;
    min-height: 260px;
    padding: 1.9rem 1.9rem 2rem;
    display: flex;
    flex-direction: column;
    background: var(--grey-bg);
    cursor: default;
    transition: background 0.4s ease, color 0.4s ease;
}

.tile h3 {
    margin-top: 1.25rem;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    max-width: 20ch;
    transition: color 0.4s ease;
}

.tile p {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tile::after {
    content: '+';
    position: absolute;
    top: 1.5rem;
    right: 1.7rem;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    color: var(--aqua);
    transition: transform 0.4s ease, color 0.4s ease;
}

.tile:hover,
.tile:focus-visible,
.tile:focus-within {
    background: var(--teal);
    color: var(--white);
    outline: none;
}

.tile:hover h3,
.tile:focus-visible h3,
.tile:focus-within h3,
.tile:hover .service-index,
.tile:focus-visible .service-index,
.tile:focus-within .service-index {
    color: var(--white);
}

.tile:hover p,
.tile:focus-visible p,
.tile:focus-within p {
    opacity: 1;
    transform: none;
}

.tile:hover::after,
.tile:focus-visible::after,
.tile:focus-within::after {
    transform: rotate(45deg);
    color: var(--white);
}

/* Touch screens have no hover: show the descriptions outright */
@media (hover: none) {
    .tile p {
        opacity: 1;
        transform: none;
    }

    .tile::after {
        display: none;
    }
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
}

.contact-item {
    background: var(--white);
    padding: 2rem 1.9rem 2.4rem;
}

.contact-item .value {
    margin-top: 1.5rem;
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.contact-item .value a {
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    transition: color 0.25s ease;
}

.contact-item .value a:hover {
    color: var(--teal);
}

/* ---------- Responsive ---------- */
@media (max-width: 1500px) {
    .carousel-services {
        --per-view: 3;
    }
}

@media (max-width: 1024px) {
    .carousel,
    .carousel-services {
        --per-view: 2;
    }

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

    .about,
    .platforms-grid,
    .split,
    .banner-grid {
        grid-template-columns: 1fr;
    }

    .acc-media {
        aspect-ratio: 16 / 10;
    }

    .side-label {
        display: none;
    }

    .hero-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-strip a {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 720px) {
    :root {
        --header-h: 68px;
    }

    .logo-sub {
        display: none;
    }

    .section-head {
        grid-template-columns: 1fr;
    }

    .section-head p {
        justify-self: start;
    }

    .carousel,
    .carousel-services {
        --per-view: 1.12;
    }

    .pillars,
    .tiles,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .tile {
        min-height: 0;
    }

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

    .hero-strip a {
        padding: 0.9rem 0.5rem;
        font-size: 0.64rem;
        letter-spacing: 0.1em;
    }

    .hero-strip a:last-child {
        grid-column: 1 / -1;
    }

    .stats {
        gap: 1rem;
    }

    .carousel-ui {
        gap: 1rem;
    }
}

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

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