/*
 * AMTECCO visual clarity layer (Brand Bible 1.3).
 * Outcome-first presentation: result pictures in service heroes, real proof
 * imagery, and the shared line-icon system. Loaded after the brand and hero
 * sheets on public marketing routes.
 */

/* ---------- Service hero with a result picture ---------- */

.sf-site .amtecco-service-hero--has-visual .amtecco-service-hero__mast {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "copy visual"
        "role visual";
    align-items: start;
    /* Keeps the picture at least 32 px right of the centre axis (Bible §6.3). */
    column-gap: var(--amtecco-hero-axis-gap);
    row-gap: 2.5rem;
}

.sf-site .amtecco-service-hero--has-visual .amtecco-service-hero__copy {
    grid-area: copy;
}

.sf-site .amtecco-service-hero--has-visual .amtecco-service-hero__role {
    grid-area: role;
}

.sf-site .amtecco-service-hero--has-visual h1 {
    font-size: clamp(2.75rem, 4.2vw, 4rem) !important;
}

.sf-site .amtecco-service-hero__visual {
    grid-area: visual;
    align-self: center;
    min-width: 0;
    margin: 0;
}

.sf-site .amtecco-service-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon);
}

.sf-site .amtecco-service-hero__visual figcaption {
    margin-top: 0.875rem;
    color: var(--amtecco-steel);
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .sf-site .amtecco-service-hero--has-visual .amtecco-service-hero__mast {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "copy"
            "visual"
            "role";
        row-gap: 2rem;
    }
}

/* ---------- Homepage proof: a real AMTC News episode ---------- */

/* The paper section needs dark headings; the global `main h2` paper rule
   otherwise wins and hides the heading. */
.sf-site main .amtecco-production h2 {
    color: var(--amtecco-carbon-deep) !important;
}

.sf-site .amtecco-production__media {
    min-width: 0;
    margin: 0;
}

.sf-site .amtecco-production__frame {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--amtecco-carbon);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon);
    object-fit: cover;
}

.sf-site .amtecco-production__media figcaption {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 0.875rem;
    color: var(--amtecco-carbon);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Line icons inside framed icon tiles ---------- */

.sf-site :is(.fast-card-icon, .protocol-icon, .ai-proof-icon) .amtecco-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* ---------- Service accents (Brand Bible 1.3 §4.1) ---------- */

:root {
    --amtecco-ai: #e3a857;
    --amtecco-fast: #7ccb8d;
    --amtecco-tspulse: #ec2d27;
}

[data-accent="ai"] { --path-accent: var(--amtecco-ai); }
[data-accent="srt"] { --path-accent: var(--amtecco-srt); }
[data-accent="cdn"] { --path-accent: var(--amtecco-cdn); }
[data-accent="fast"] { --path-accent: var(--amtecco-fast); }
/* TSPulse red is reserved for identity and alarms; it marks the name only. */
[data-accent="tspulse"] { --path-accent: var(--amtecco-tspulse); }

/* ---------- Company hero: copy, then the feed-to-screen path ---------- */

.sf-site .amtecco-home-hero::before {
    display: none;
}

.sf-site .amtecco-home-hero > .container {
    padding-block: clamp(3.5rem, 6vw, 5rem) clamp(3rem, 5vw, 4rem);
}

.sf-site .amtecco-home-hero__intro {
    display: grid;
    gap: 1.5rem;
}

.sf-site .amtecco-home-hero h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(2.625rem, 4.6vw, 4.5rem);
}

.sf-site .amtecco-home-hero__lead {
    max-width: 40rem;
}

.sf-site .amtecco-home-hero .amtecco-entity-definition {
    max-width: 46rem;
    margin-top: 2.5rem;
}

@media (min-width: 992px) {
    .sf-site .amtecco-home-hero__intro {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: end;
        column-gap: var(--amtecco-hero-axis-gap);
    }

    .sf-site .amtecco-home-hero__lead {
        margin-bottom: 1.5rem;
    }
}

.sf-site .amtecco-path-hero {
    position: relative;
    margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon);
}

.sf-site .amtecco-path-hero__track {
    display: grid;
}

.sf-site .amtecco-path-hero__stops {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Every node sits on one rail. Mobile: vertical rail on the left. */
.sf-site .amtecco-path-hero__source,
.sf-site .amtecco-path-hero__stop > a,
.sf-site .amtecco-path-hero__screens {
    position: relative;
    display: block;
    padding: 0.875rem 0 0.875rem 2.25rem;
}

.sf-site :is(.amtecco-path-hero__source, .amtecco-path-hero__stop > a, .amtecco-path-hero__screens)::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 6px;
    width: 1px;
    background: var(--amtecco-line-strong);
    content: "";
}

.sf-site .amtecco-path-hero__stop > a::before {
    left: 5.5px;
    width: 2px;
    background: var(--path-accent);
}

.sf-site .amtecco-path-hero__screens::before {
    bottom: auto;
    height: 1.4rem;
}

.sf-site .amtecco-path-hero__port {
    position: absolute;
    z-index: 1;
    top: 1.15rem;
    left: 0;
    width: 13px;
    height: 13px;
    border: 1.5px solid var(--amtecco-paper-soft);
    background: var(--amtecco-carbon);
}

.sf-site .amtecco-path-hero__stop .amtecco-path-hero__port {
    border-color: var(--path-accent);
    background: var(--path-accent);
}

.sf-site .amtecco-path-hero a {
    color: inherit;
    text-decoration: none;
}

.sf-site .amtecco-path-hero__service {
    display: block;
    color: var(--path-accent, var(--amtecco-steel));
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.sf-site .amtecco-path-hero__check .amtecco-path-hero__service {
    display: inline;
    color: var(--amtecco-paper);
}

.sf-site .amtecco-path-hero__verb,
.sf-site .amtecco-path-hero__source strong,
.sf-site .amtecco-path-hero__screens > strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: clamp(1.25rem, 1.6vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sf-site .amtecco-path-hero small {
    display: block;
    margin-top: 0.35rem;
    color: var(--amtecco-paper-soft);
    font-size: 1rem;
    line-height: 1.45;
}

.sf-site .amtecco-path-hero__source small,
.sf-site .amtecco-path-hero__screens > small {
    color: var(--amtecco-steel);
}

.sf-site .amtecco-path-hero__stop > a:focus-visible,
.sf-site .amtecco-path-hero__check:focus-visible {
    outline: 2px solid var(--amtecco-paper);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .sf-site .amtecco-path-hero__stop > a .amtecco-path-hero__verb {
        transition: color var(--amtecco-motion-fast) var(--amtecco-ease-standard);
    }

    .sf-site .amtecco-path-hero__stop > a:hover .amtecco-path-hero__verb {
        color: var(--path-accent);
    }
}

/* The outcome: real screens showing a real AMTC News frame. */
.sf-site .amtecco-path-hero__devices {
    position: relative;
    max-width: 22rem;
    margin: 0.25rem 2.5rem 1rem 0;
}

.sf-site .amtecco-path-hero__tv {
    border: 5px solid var(--amtecco-graphite-2);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon-deep);
}

.sf-site .amtecco-path-hero__tv img,
.sf-site .amtecco-path-hero__phone img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-site .amtecco-path-hero__tv img {
    aspect-ratio: 16 / 9;
}

.sf-site .amtecco-path-hero__phone {
    position: absolute;
    right: -2.25rem;
    bottom: -0.75rem;
    width: 26%;
    aspect-ratio: 9 / 18;
    overflow: hidden;
    border: 4px solid var(--amtecco-graphite-2);
    border-radius: 8px;
    background: var(--amtecco-carbon-deep);
}

.sf-site .amtecco-path-hero__phone img {
    object-position: 86% 50%;
}

/* TSPulse spans the path: it verifies the signal rather than moving it. */
.sf-site .amtecco-path-hero__check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.875rem;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border: 1px dashed var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    color: var(--amtecco-paper-soft);
    font-size: 1rem;
    line-height: 1.45;
}

.sf-site .amtecco-path-hero__check strong {
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: 1.125rem;
}

@media (hover: hover) and (pointer: fine) {
    .sf-site .amtecco-path-hero__check:hover {
        border-color: var(--amtecco-paper-soft);
    }
}

/* Desktop: the rail runs left to right and ends on the screens. */
@media (min-width: 992px) {
    .sf-site .amtecco-path-hero__track {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 4fr) minmax(0, 1.65fr);
    }

    .sf-site .amtecco-path-hero__stops {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .sf-site .amtecco-path-hero__source,
    .sf-site .amtecco-path-hero__stop > a,
    .sf-site .amtecco-path-hero__screens {
        height: 100%;
        padding: 2.25rem 1.25rem 0.5rem 0;
    }

    .sf-site :is(.amtecco-path-hero__source, .amtecco-path-hero__stop > a, .amtecco-path-hero__screens)::before {
        top: 6px;
        right: 0;
        bottom: auto;
        left: 0;
        width: auto;
        height: 1px;
    }

    .sf-site .amtecco-path-hero__stop > a::before {
        top: 5.5px;
        left: 0;
        width: auto;
        height: 2px;
    }

    /* The path ends at the screens: no rail beyond the final port. */
    .sf-site .amtecco-path-hero__screens::before {
        display: none;
    }

    .sf-site .amtecco-path-hero__port {
        top: 0;
    }

    .sf-site .amtecco-path-hero__screens {
        padding-right: 2.75rem;
    }

    .sf-site .amtecco-path-hero__devices {
        max-width: none;
        margin: 0 0 1.25rem;
    }

    .sf-site .amtecco-path-hero__phone {
        right: -2.25rem;
    }
}

/* ---------- Trust strip: one compact row ---------- */

.sf-site .amtecco-proof-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sf-site .amtecco-proof-strip__grid > div {
    min-height: 0;
    padding: 1.1rem 1.5rem;
}

@media (max-width: 991.98px) {
    .sf-site .amtecco-proof-strip__grid > div:nth-child(3) {
        border-top: 0;
    }
}

@media (max-width: 767.98px) {
    .sf-site .amtecco-proof-strip__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-site .amtecco-proof-strip__grid > div {
        min-height: 0;
        padding: 0.875rem 1.25rem;
    }

    .sf-site .amtecco-proof-strip__grid > div:nth-child(3) {
        border-top: 1px solid var(--amtecco-line);
    }

    .sf-site .amtecco-proof-strip strong,
    .sf-site .amtecco-proof-strip span {
        display: inline;
    }

    .sf-site .amtecco-proof-strip strong::after {
        content: " · ";
        color: var(--amtecco-steel);
    }
}

/* ---------- "What do you need?" picker ---------- */

.sf-site .amtecco-needs {
    background: var(--amtecco-carbon);
}

.sf-site .amtecco-needs__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--amtecco-line-strong);
    list-style: none;
}

.sf-site .amtecco-needs__row {
    display: grid;
    gap: 1rem 2.5rem;
    padding-block: 1.75rem;
    border-bottom: 1px solid var(--amtecco-line);
}

.sf-site .amtecco-needs__job {
    min-width: 0;
}

.sf-site .amtecco-needs__job h3 {
    max-width: 30ch;
    margin: 0 0 0.5rem;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-wrap: balance;
}

.sf-site .amtecco-needs__job p {
    max-width: 56ch;
    margin: 0;
    color: var(--amtecco-paper-soft) !important;
    font-size: var(--amtecco-type-body);
}

.sf-site .amtecco-needs__service {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    margin: 0;
}

.sf-site .amtecco-needs__service strong {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: 1.0625rem;
}

.sf-site .amtecco-needs__service strong::before {
    width: 10px;
    height: 10px;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-needs__service span,
.sf-site .amtecco-needs__service small {
    color: var(--amtecco-steel);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-site .amtecco-needs__service small {
    flex-basis: 100%;
    color: var(--amtecco-paper-soft);
}

.sf-site .amtecco-needs__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.sf-site .amtecco-needs__external {
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    text-underline-offset: 0.2em;
}

@media (min-width: 992px) {
    .sf-site .amtecco-needs__row {
        grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
        align-items: start;
    }
}

/* ---------- Services navigation ---------- */

.sf-site .amtecco-navbar .amtecco-services-menu {
    min-width: 21rem;
}

.sf-site .amtecco-navbar .amtecco-services-menu .dropdown-item {
    position: relative;
    display: grid;
    gap: 0.1rem;
    padding-left: 1.75rem;
    white-space: normal;
}

.sf-site .amtecco-navbar .amtecco-services-menu .dropdown-item::before {
    position: absolute;
    top: 1.05rem;
    left: 0.75rem;
    width: 8px;
    height: 8px;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-navbar .amtecco-services-menu strong {
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: 0.9375rem;
    font-weight: 600;
}

.sf-site .amtecco-navbar .amtecco-services-menu small {
    color: var(--amtecco-steel);
    font-size: 0.875rem;
}

.sf-site .amtecco-navbar .amtecco-services-menu .dropdown-item.active {
    background: var(--amtecco-graphite-2);
}

/* ---------- Phone: shorter homepage, same meaning ---------- */

@media (max-width: 767.98px) {
    .sf-site .amtecco-needs {
        padding-block: 3.5rem;
    }

    .sf-site .amtecco-needs .amtecco-section-heading {
        margin-bottom: 2rem;
    }

    .sf-site .amtecco-needs__row {
        gap: 0.75rem;
        padding-block: 1.25rem;
    }

    .sf-site .amtecco-needs__actions {
        flex-flow: row wrap;
        gap: 0.5rem 1.25rem;
    }

    /* Three client marks fit side by side; stacking them cost most of a screen. */
    .sf-site .amtecco-client-proof__logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sf-site .amtecco-client-proof__logos img {
        height: 64px;
        padding: 0.875rem;
    }
}

/* ---------- Service accents for the newly distinct services ---------- */

.sf-site .amtecco-service-hero--ai {
    --service-accent: var(--amtecco-ai);
    --service-accent-text: var(--amtecco-ai);
    --service-accent-ink: #1c1206;
}

.sf-site .amtecco-service-hero--fast {
    --service-accent: var(--amtecco-fast);
    --service-accent-text: var(--amtecco-fast);
    --service-accent-ink: #08160c;
}

/* ---------- Service hero: facts row under copy and picture ---------- */

.sf-site .amtecco-service-hero--has-visual .amtecco-service-hero__mast {
    grid-template-areas: "copy visual";
}

.sf-site .amtecco-service-hero > .container > .amtecco-service-hero__facts {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    border-bottom: 1px solid var(--amtecco-line);
}

.sf-site .amtecco-service-hero > .container > .amtecco-service-hero__facts li {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 1.1rem 1.5rem;
}

.sf-site .amtecco-service-hero > .container > .amtecco-service-hero__facts li:first-child {
    padding-left: 0;
}

.sf-site .amtecco-service-hero__visual figcaption .amtecco-visual-label {
    margin-right: 0.5rem;
}

.amtecco-visual-label {
    display: inline-block;
    flex: none;
    white-space: nowrap;
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    color: var(--amtecco-paper-soft);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
    vertical-align: 0.1em;
}

@media (max-width: 991.98px) {
    .sf-site .amtecco-service-hero--has-visual .amtecco-service-hero__mast {
        grid-template-areas:
            "copy"
            "visual";
    }
}

@media (max-width: 767.98px) {
    .sf-site .amtecco-service-hero > .container > .amtecco-service-hero__facts li,
    .sf-site .amtecco-service-hero > .container > .amtecco-service-hero__facts li:first-child {
        padding: 0.875rem 0;
    }
}

/* ---------- Shared frame for HTML result pictures ---------- */

.sf-site :is(.amtecco-fanout, .amtecco-screens, .amtecco-tv-steps) {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon);
    color: var(--amtecco-paper-soft);
    font-size: 1rem;
}

/* SRT Cloud: one feed fans out to every destination type. Laid out by the space the
   picture actually gets (container query): one column by default, three columns
   once the frame is at least 600 px wide (rule further down). */
.sf-site .amtecco-service-hero__visual {
    container-type: inline-size;
}

.sf-site .amtecco-fanout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "source" "hub" "destinations" "satellite";
    align-items: center;
    gap: 1.25rem;
}

.sf-site .amtecco-fanout p {
    margin: 0;
}

.sf-site .amtecco-fanout__source {
    grid-area: source;
}

.sf-site .amtecco-fanout__source span,
.sf-site .amtecco-fanout__hub {
    position: relative;
    display: block;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon-deep);
    color: var(--amtecco-paper);
    font-weight: 600;
}

.sf-site .amtecco-fanout__hub {
    grid-area: hub;
    margin-left: 1.5rem !important;
    border-color: var(--path-accent);
}

/* Feed → hub connector. */
.sf-site .amtecco-fanout__hub::before {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 1.5rem;
    height: 2px;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-fanout__hub strong {
    display: block;
    white-space: nowrap;
    color: var(--path-accent);
    font-family: var(--amtecco-display);
    font-size: 1.125rem;
}

.sf-site .amtecco-fanout__hub small {
    display: block;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    font-weight: 400;
}

.sf-site .amtecco-fanout__destinations {
    position: relative;
    grid-area: destinations;
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0 1.75rem;
    padding: 0 0 0 1.25rem;
    list-style: none;
}

/* Hub → destinations trunk, then one branch per destination. */
.sf-site .amtecco-fanout__destinations::before {
    position: absolute;
    top: 1.35rem;
    bottom: 1.35rem;
    left: 0;
    width: 2px;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-fanout__destinations::after {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 1.75rem;
    height: 2px;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-fanout__destinations li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.7rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--amtecco-line);
    border-radius: var(--amtecco-radius);
    color: var(--amtecco-paper);
}

.sf-site .amtecco-fanout__destinations li::before {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 1.25rem;
    height: 2px;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-fanout__destinations .amtecco-icon,
.sf-site .amtecco-fanout__satellite .amtecco-icon {
    color: var(--amtecco-steel);
}

.sf-site .amtecco-fanout__satellite {
    grid-area: satellite;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--amtecco-line-strong);
    color: var(--amtecco-steel);
}

@container (max-width: 599.98px) {
    .sf-site .amtecco-fanout__hub {
        margin-left: 0 !important;
    }

    .sf-site .amtecco-fanout__hub::before {
        top: auto;
        right: auto;
        bottom: 100%;
        left: 1.5rem;
        width: 2px;
        height: 1.25rem;
    }

    .sf-site .amtecco-fanout__destinations {
        margin-left: 1.5rem;
    }

    .sf-site .amtecco-fanout__destinations::after {
        top: auto;
        right: auto;
        bottom: 100%;
        left: 0;
        width: 2px;
        height: 1.25rem;
    }
}

/* CDN Live: one channel on every screen, inside a budget ceiling. */
.sf-site .amtecco-screens {
    display: grid;
    gap: 1.5rem;
}

.sf-site .amtecco-screens__channel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--amtecco-paper);
}

.sf-site .amtecco-screens__channel span:last-child {
    color: var(--path-accent);
    font-weight: 600;
}

.sf-site .amtecco-screens__live {
    padding: 0.1rem 0.4rem;
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-paper);
    color: var(--amtecco-carbon);
    font-family: var(--amtecco-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-site .amtecco-screens__devices {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr 0.6fr;
    align-items: end;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-site .amtecco-screens__device {
    display: grid;
    gap: 0.5rem;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
}

.sf-site .amtecco-screens__frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border: 4px solid var(--amtecco-graphite-2);
    border-radius: var(--amtecco-radius);
    background:
        linear-gradient(180deg, transparent 55%, rgba(9, 11, 13, 0.55)),
        linear-gradient(135deg, #1b2a3a, #10161d 60%, #1d2430);
}

.sf-site .amtecco-screens__device--apps .amtecco-screens__frame {
    aspect-ratio: 9 / 16;
    border-radius: 8px;
}

.sf-site .amtecco-screens__frame .amtecco-screens__live {
    position: absolute;
    bottom: 0.4rem;
    left: 0.4rem;
}

.sf-site .amtecco-screens__bug {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid var(--path-accent);
}

.sf-site .amtecco-screens__budget p {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.5rem;
    color: var(--amtecco-paper);
}

.sf-site .amtecco-screens__meter {
    height: 10px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--amtecco-graphite-2);
}

.sf-site .amtecco-screens__meter span {
    display: block;
    width: var(--meter-value);
    height: 100%;
    background: var(--path-accent);
}

.sf-site .amtecco-screens__budget small {
    display: block;
    margin-top: 0.5rem;
    color: var(--amtecco-steel);
    font-size: 0.9375rem;
}

/* AI Studio: the same story in two language editions. */
.sf-site .amtecco-editions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-site .amtecco-editions img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    object-fit: cover;
}

.sf-site .amtecco-editions span {
    display: block;
    margin-top: 0.6rem;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sf-site .amtecco-editions li:first-child span::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    background: var(--path-accent);
    content: "";
}

.sf-site .amtecco-editions li:not(:first-child) span::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 0.5rem;
    border: 1.5px solid var(--path-accent);
    content: "";
}

/* FAST-on-Broadcast: three steps on the viewer's TV. */
.sf-site .amtecco-tv-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    counter-reset: tv-step;
}

.sf-site .amtecco-tv-steps > li {
    display: grid;
    align-content: start;
    gap: 0.75rem;
    color: var(--amtecco-paper-soft);
    font-size: 0.9375rem;
    line-height: 1.45;
    counter-increment: tv-step;
}

.sf-site .amtecco-tv-steps > li::before {
    order: -1;
    color: var(--path-accent);
    font-family: var(--amtecco-mono);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    content: counter(tv-step, decimal-leading-zero);
}

.sf-site .amtecco-tv {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 4px solid var(--amtecco-graphite-2);
    border-radius: var(--amtecco-radius);
    background: linear-gradient(135deg, #22303e, #121a22 65%);
}

.sf-site .amtecco-tv--fast {
    background: linear-gradient(135deg, #24382b, #111c15 65%);
}

.sf-site .amtecco-tv__bug {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    width: 1.1rem;
    height: 0.7rem;
    background: var(--amtecco-paper-soft);
    opacity: 0.8;
}

.sf-site .amtecco-tv__prompt {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    left: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.4rem;
    border-radius: 2px;
    background: rgba(9, 11, 13, 0.85);
    color: var(--amtecco-paper);
    font-size: 0.625rem;
    line-height: 1.2;
}

/* The HbbTV red button is literally red; this is a remote-control key, not an alarm. */
.sf-site .amtecco-tv__red {
    flex: none;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #d5332a;
}

.sf-site .amtecco-tv__ad {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.05rem 0.35rem;
    border-radius: 2px;
    background: var(--path-accent);
    color: #08160c;
    font-family: var(--amtecco-mono);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.sf-site .amtecco-tv__progress {
    position: absolute;
    right: 0.4rem;
    bottom: 0.4rem;
    left: 0.4rem;
    height: 3px;
    background: linear-gradient(90deg, var(--path-accent) 40%, rgba(244, 241, 234, 0.25) 40%);
}

@media (max-width: 575.98px) {
    .sf-site .amtecco-tv-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .sf-site .amtecco-tv-steps > li {
        grid-template-columns: 8.5rem minmax(0, 1fr);
        align-items: center;
    }

    .sf-site .amtecco-tv-steps > li::before {
        grid-column: 1 / -1;
    }
}

/* ---------- "For your engineers" ---------- */

.sf-site .amtecco-engineers {
    border-top: 1px solid var(--amtecco-line);
    background: var(--amtecco-carbon-deep);
}

.sf-site .amtecco-engineers__head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.sf-site .amtecco-engineers__head h2 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.sf-site .amtecco-engineers__head p:not(.amtecco-kicker) {
    max-width: 40rem;
    margin: 0 0 1rem;
    color: var(--amtecco-paper-soft) !important;
}

.sf-site .amtecco-engineers__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    background: transparent;
    color: var(--amtecco-paper);
    font-size: 0.9375rem;
    font-weight: 600;
}

.sf-site .amtecco-engineers__copy:hover {
    border-color: var(--service-accent);
}

.sf-site .amtecco-engineers__copy:focus-visible {
    outline: 2px solid var(--amtecco-paper);
    outline-offset: 3px;
}

.sf-site .amtecco-engineers__path .amtecco-service-hero__system {
    margin-top: 2rem;
}

.sf-site .amtecco-engineers__body {
    display: grid;
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-top: clamp(3rem, 6vw, 4.5rem);
}

.sf-site .amtecco-engineers__block > h3,
.sf-site .amtecco-faq > h3 {
    margin: 0 0 0.75rem;
    color: var(--amtecco-paper);
    font-family: var(--amtecco-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: -0.03em;
}

.sf-site .amtecco-engineers__block > p {
    max-width: 44rem;
    color: var(--amtecco-paper-soft) !important;
}

.sf-site .amtecco-spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    margin: 1.5rem 0 0;
    border-top: 1px solid var(--amtecco-line);
}

.sf-site .amtecco-spec-list > div {
    padding: 1.25rem 1.5rem 1.25rem 0;
    border-bottom: 1px solid var(--amtecco-line);
}

.sf-site .amtecco-spec-list dt {
    margin-bottom: 0.35rem;
    color: var(--amtecco-paper);
    font-weight: 600;
}

.sf-site .amtecco-spec-list dd {
    margin: 0;
    color: var(--amtecco-paper-soft);
}

.sf-site .amtecco-faq__item {
    border-bottom: 1px solid var(--amtecco-line);
}

.sf-site .amtecco-faq__item:first-of-type {
    border-top: 1px solid var(--amtecco-line);
}

.sf-site .amtecco-faq__item summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: 1.1rem 0;
    color: var(--amtecco-paper);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.sf-site .amtecco-faq__item summary::-webkit-details-marker {
    display: none;
}

.sf-site .amtecco-faq__item summary::after {
    flex: none;
    color: var(--service-accent);
    content: "+";
}

.sf-site .amtecco-faq__item[open] summary::after {
    content: "−";
}

.sf-site .amtecco-faq__item summary:focus-visible {
    outline: 2px solid var(--amtecco-paper);
    outline-offset: 2px;
}

.sf-site .amtecco-faq__item p {
    max-width: 66ch;
    margin: 0 0 1.25rem;
    color: var(--amtecco-paper-soft) !important;
}

@media (min-width: 992px) {
    .sf-site .amtecco-engineers__head {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: end;
        column-gap: var(--amtecco-hero-axis-gap);
    }

    .sf-site .amtecco-engineers__path {
        display: grid;
        grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
        align-items: start;
        gap: var(--amtecco-hero-axis-gap);
    }

    .sf-site .amtecco-engineers__path .amtecco-service-hero__system {
        margin-top: 0;
    }
}

/* Page sheets (e.g. CDN Live) shrink every h3 with an ID selector; the engineer
   section keeps one heading scale across all service pages. */
#main-content .amtecco-engineers :is(.amtecco-engineers__block > h3, .amtecco-faq > h3) {
    font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
    line-height: 1.15 !important;
}

/* Small app screen: keep the live tag on one line. */
.sf-site .amtecco-screens__device--apps .amtecco-screens__live {
    padding: 0.05rem 0.2rem;
    font-size: 0.5625rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Long single-word destination names (e.g. German "Kabelnetzbetreiber") must stay inside the frame.
   Scoped to wider screens so the single-column phone layout above is not overridden. */
@container (min-width: 600px) {
    .sf-site .amtecco-fanout {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.05fr) minmax(0, 1.4fr);
        grid-template-areas:
            "source hub destinations"
            "satellite satellite satellite";
        gap: 1.5rem 0;
    }
}

.sf-site .amtecco-fanout__destinations li {
    min-width: 0;
    hyphens: auto;
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    .sf-site .amtecco-editions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sf-site .amtecco-editions li:first-child {
        grid-column: 1 / -1;
    }
}

/* ---------- Real interface captures (demo accounts, redacted) ---------- */

.sf-site .amtecco-product-shot {
    max-width: 60rem;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    text-align: left;
}

#cdn-early-access .amtecco-product-shot {
    max-width: 23rem;
}

/* This capture is a single card with its own border and corners. */
#cdn-early-access .amtecco-product-shot img {
    border: 0;
    background: transparent;
}

.sf-site .amtecco-product-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--amtecco-line-strong);
    border-radius: var(--amtecco-radius);
    background: var(--amtecco-carbon-deep);
}

.sf-site .amtecco-product-shot figcaption {
    margin-top: 0.75rem;
    color: var(--amtecco-steel) !important;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Phones: keep interface captures legible; the frame scrolls, never the page. */
@media (max-width: 767.98px) {
    .sf-site .amtecco-product-shot__frame {
        overflow-x: auto;
        overscroll-behavior-x: contain;
        border-radius: var(--amtecco-radius);
        scrollbar-width: thin;
    }

    .sf-site .amtecco-product-shot[style] .amtecco-product-shot__frame img {
        width: var(--shot-min-width);
        max-width: none;
    }

    .sf-site .amtecco-product-shot__frame:focus-visible {
        outline: 2px solid var(--amtecco-paper);
        outline-offset: 3px;
    }
}
