/**
 * Shondalai Studio Pages skin.
 *
 * Bespoke styling for the Studio Pages section stack in the Shondalai
 * Professional voice: an Inter body under Plus Jakarta Sans display with
 * tight negative tracking, brand blue for eyebrows, indices and prices, the
 * orange conversion accent reserved for commerce calls to action, hairline
 * borders, 12px cards that lift onto a soft shadow, pale blue tint bands and
 * the deep navy gradient band for contrast panels. Loads after the library
 * default pages.css and overrides it by source order at equal specificity.
 * All values come from the token layer; the few fixed hex values are the
 * template's own idiom colours (the navy band pair, the topbar link blue,
 * the band copy slate, the savings green wash) and each either reads on both
 * schemes or carries a dark override below.
 */

/* Stack rhythm and base voice */
.ts-pages {
    font-family: var(--ec-font-body);
    color: var(--ec-ink);
    gap: clamp(3rem, 6vw, 5.5rem);
}

/* ------------------------------------------------------------------ *
 * Buttons: square brand-blue primary (the storefront hero CTA), white
 * hairline rounded secondary, white-on-band contrast pill. Hovers move
 * one pixel and deepen, never flip colour families.
 * ------------------------------------------------------------------ */
.ts-page-btn {
    padding: 0.95rem 1.5rem;
    border-radius: 0;
    font-family: var(--ec-font-body);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background var(--ec-dur-1) var(--ec-ease), border-color var(--ec-dur-1) var(--ec-ease),
                color var(--ec-dur-1) var(--ec-ease), transform var(--ec-dur-1) var(--ec-ease),
                filter var(--ec-dur-1) var(--ec-ease), box-shadow var(--ec-dur-1) var(--ec-ease);
}

.ts-page-btn:hover {
    transform: translateY(-1px);
}

.ts-page-btn--primary {
    background: var(--ec-brand);
    color: var(--ec-brand-contrast);
}

.ts-page-btn--primary:hover {
    background: #2353c7;
    color: var(--ec-brand-contrast);
}

.ts-page-btn--ghost {
    border-radius: var(--ec-radius-sm);
    border-color: var(--ec-border);
    background: var(--ec-surface);
    color: var(--ec-ink);
}

.ts-page-btn--ghost:hover {
    border-color: var(--ec-brand);
    background: var(--ec-surface-soft);
    color: var(--ec-ink);
}

.ts-page-btn--oncontrast {
    background: #fff;
    color: #101a35;
}

.ts-page-btn--oncontrast:hover {
    color: #101a35;
    box-shadow: var(--ec-shadow-1);
}

/* ------------------------------------------------------------------ *
 * Hero: the storefront hero band. Pale blue 135deg gradient panel, a
 * brand eyebrow with a leading rule, huge tight display type and the
 * rotated grid-paper admin panel as the media tile.
 * ------------------------------------------------------------------ */
.ts-hero-sec {
    padding: clamp(2.25rem, 5vw, 4rem);
    border-radius: var(--ec-radius-lg);
    background: linear-gradient(135deg, var(--ec-surface) 0%, var(--ec-surface-soft) 100%);
}

.ts-hero-sec__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ec-brand);
}

.ts-hero-sec__eyebrow::before {
    content: '';
    width: 1.4rem;
    height: 2px;
    background: currentColor;
}

.ts-hero-sec__title {
    margin-top: 0.9rem;
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    color: var(--ec-ink);
}

.ts-hero-sec__subtitle {
    margin-top: 1.4rem;
    max-width: 56ch;
    font-size: clamp(1rem, 1.35vw, 1.25rem);
    line-height: 1.75;
    color: var(--ec-ink-muted);
}

.ts-hero-sec__actions {
    margin-top: 2rem;
    gap: 0.8rem;
}

.ts-hero-sec__media {
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
    box-shadow: var(--ec-shadow-3);
    transform: rotate(1deg);
    background:
        linear-gradient(var(--ec-surface-soft) 1px, transparent 1px) 0 0 / 42px 42px,
        linear-gradient(90deg, var(--ec-surface-soft) 1px, transparent 1px) 0 0 / 42px 42px,
        var(--ec-surface);
}

/* ------------------------------------------------------------------ *
 * Rich text: muted long-form body with an ink-coloured lead paragraph
 * at the storefront hero description scale.
 * ------------------------------------------------------------------ */
.ts-richtext-sec__body {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ec-ink-muted);
}

.ts-richtext-sec__body p:first-child {
    font-size: 1.25rem;
    line-height: 1.65;
    font-weight: 500;
    color: var(--ec-ink);
}

/* ------------------------------------------------------------------ *
 * Shared band headings: Plus Jakarta Sans, tight tracking, left aligned
 * like the storefront section heads.
 * ------------------------------------------------------------------ */
.ts-features__heading,
.ts-stats__heading,
.ts-testimonials__heading,
.ts-faq__heading,
.ts-products__heading,
.ts-catband__heading,
.ts-modules__heading {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
    color: var(--ec-ink);
}

.ts-features__heading,
.ts-stats__heading,
.ts-testimonials__heading {
    text-align: left;
    margin-bottom: 1.1rem;
}

/* ------------------------------------------------------------------ *
 * Feature grid: white hairline cards that lift, indices as soft blue
 * square chips in the admin-mock sidebar language.
 * ------------------------------------------------------------------ */
.ts-features__sub {
    margin: 0 0 2.2rem;
    max-width: 52ch;
    text-align: left;
    color: var(--ec-ink-muted);
    line-height: 1.75;
}

.ts-features__grid {
    gap: 1.25rem;
}

.ts-feature {
    padding: 1.6rem;
    gap: 0.65rem;
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
    transition: transform var(--ec-dur-2) var(--ec-ease), box-shadow var(--ec-dur-2) var(--ec-ease);
}

.ts-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--ec-shadow-2);
}

.ts-feature__num {
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    margin-bottom: 0.35rem;
    border-radius: 9px;
    background: var(--ec-surface-soft);
    color: var(--ec-brand);
    font-family: var(--ec-font-heading);
    font-weight: 800;
    font-size: 0.8rem;
}

.ts-feature__title {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    color: var(--ec-ink);
}

.ts-feature__text {
    color: var(--ec-ink-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ------------------------------------------------------------------ *
 * Stats: the hero proof row. Hairline rule above each figure, display
 * value in brand blue, uppercase micro label.
 * ------------------------------------------------------------------ */
.ts-stats__heading {
    margin-bottom: 2rem;
}

.ts-stats__grid {
    gap: clamp(1.25rem, 3vw, 2.75rem);
}

.ts-stat {
    border-left: 0;
    border-top: 1px solid var(--ec-border);
    padding: 1.2rem 0 0;
}

.ts-stat__value {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: clamp(2.3rem, 4.6vw, 3.4rem);
    letter-spacing: -0.05em;
    color: var(--ec-brand);
}

.ts-stat__label {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ec-ink-muted);
}

/* ------------------------------------------------------------------ *
 * Testimonials: pale blue band holding white hairline cards; quote
 * marks in brand blue, attribution behind its own hairline.
 * ------------------------------------------------------------------ */
.ts-testimonials {
    background: var(--ec-surface-soft);
    border-radius: var(--ec-radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
}

.ts-testimonials__heading {
    margin-bottom: 1.6rem;
}

.ts-testimonials__grid {
    gap: 1.25rem;
}

.ts-testimonial {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
}

.ts-testimonial__quote {
    margin: 0;
    font-family: var(--ec-font-heading);
    font-weight: 600;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--ec-ink);
}

.ts-testimonial__quote::before,
.ts-testimonial__quote::after {
    color: var(--ec-brand);
}

.ts-testimonial__by {
    padding-top: 1rem;
    border-top: 1px solid var(--ec-border);
    gap: 0.2rem;
}

.ts-testimonial__author {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: normal;
    text-transform: none;
    color: var(--ec-ink);
}

.ts-testimonial__role {
    font-size: 0.78rem;
    color: var(--ec-ink-muted);
}

/* ------------------------------------------------------------------ *
 * FAQ: rounded hairline cards per item (the SPA FAQ idiom), circled
 * brand plus glyph, open items ring in brand blue.
 * ------------------------------------------------------------------ */
.ts-faq__heading {
    margin-bottom: 0.6rem;
}

.ts-faq__intro {
    color: var(--ec-ink-muted);
    line-height: 1.75;
    margin-bottom: 1.6rem;
}

.ts-faq__list {
    border-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ts-faq__item {
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
    background: var(--ec-surface);
    transition: border-color var(--ec-dur-1) var(--ec-ease), box-shadow var(--ec-dur-1) var(--ec-ease);
}

.ts-faq__item[open] {
    border-color: var(--ec-brand);
    box-shadow: var(--ec-shadow-1);
}

.ts-faq__q {
    padding: 1.05rem 1.25rem;
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
    color: var(--ec-ink);
    transition: color var(--ec-dur-1) var(--ec-ease);
}

.ts-faq__q:hover {
    color: var(--ec-brand);
}

.ts-faq__glyph {
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid var(--ec-border);
    border-radius: 999px;
    background: var(--ec-surface);
    transition: border-color var(--ec-dur-1) var(--ec-ease), background var(--ec-dur-1) var(--ec-ease);
}

.ts-faq__glyph::before,
.ts-faq__glyph::after {
    background: var(--ec-brand);
}

.ts-faq__glyph::before {
    left: 8px;
    right: 8px;
}

.ts-faq__glyph::after {
    top: 8px;
    bottom: 8px;
}

.ts-faq__item[open] .ts-faq__glyph {
    border-color: var(--ec-brand);
    background: var(--ec-surface-soft);
}

.ts-faq__a {
    padding: 0 1.25rem 1.2rem;
    color: var(--ec-ink-muted);
    line-height: 1.7;
}

/* ------------------------------------------------------------------ *
 * CTA: the storefront closing band. Navy 135deg gradient panel, topbar
 * blue eyebrow, slate copy, and the primary button flips to the orange
 * conversion accent exactly as the storefront CTA does.
 * ------------------------------------------------------------------ */
.ts-cta-sec {
    background: linear-gradient(135deg, #101a35, #243f82);
    border-radius: var(--ec-radius-lg);
    padding: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
}

.ts-cta-sec__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #c9d8ff;
}

.ts-cta-sec__title {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    color: #fff;
}

.ts-cta-sec__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c1cbe0;
}

.ts-cta-sec__actions {
    margin-top: 1.1rem;
}

.ts-cta-sec .ts-page-btn--primary {
    background: var(--ec-accent);
    color: var(--ec-accent-contrast);
}

.ts-cta-sec .ts-page-btn--primary:hover {
    background: var(--ec-accent);
    color: var(--ec-accent-contrast);
    filter: brightness(0.92);
}

/* ------------------------------------------------------------------ *
 * Trust bar: the white assurance strip. Hairline rules above and below,
 * uppercase slate micro labels, checks in green savings circles.
 * ------------------------------------------------------------------ */
.ts-trust {
    background: var(--ec-surface);
    border-block: 1px solid var(--ec-border);
    padding-block: 1.7rem;
}

.ts-trust__row {
    gap: clamp(1.25rem, 4vw, 3.25rem);
}

.ts-trust__item {
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #59657b;
}

.ts-trust__icon {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #dcf8ec;
    color: var(--ec-success);
    font-size: 0.7rem;
}

:root[data-color-scheme="dark"] .ts-trust__item {
    color: var(--ec-ink-muted);
}

:root[data-color-scheme="dark"] .ts-trust__icon {
    background: rgb(11 156 107 / 0.2);
}

/* ------------------------------------------------------------------ *
 * Product grid: the storefront product card verbatim. White card,
 * hairline, 3/2 soft-blue media, brand price, rounded brand add chip,
 * five pixel lift onto the ambient shadow.
 * ------------------------------------------------------------------ */
.ts-products__head {
    align-items: baseline;
    margin-bottom: 1.6rem;
}

.ts-products__all {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ec-ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color var(--ec-dur-1) var(--ec-ease);
}

.ts-products__all:hover {
    color: var(--ec-brand);
}

.ts-products__grid {
    gap: 1.25rem;
}

.ts-pg-card {
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
    overflow: hidden;
    transition: transform var(--ec-dur-2) var(--ec-ease), box-shadow var(--ec-dur-2) var(--ec-ease);
}

.ts-pg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ec-shadow-2);
    color: var(--ec-ink);
}

.ts-pg-card__media {
    aspect-ratio: 3 / 2;
    border: 0;
    border-bottom: 1px solid var(--ec-border);
    background: var(--ec-surface-soft);
}

.ts-pg-card__media img {
    object-position: center top;
}

.ts-pg-card__row {
    margin-top: 0;
    padding: 1.05rem 1.15rem 1.2rem;
    align-items: center;
}

.ts-pg-card__name {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--ec-ink);
}

.ts-pg-card__price {
    margin-top: 0.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--ec-brand);
}

.ts-pg-card__add {
    width: 1.9rem;
    height: 1.9rem;
    border: 0;
    border-radius: 8px;
    background: var(--ec-brand);
    color: var(--ec-brand-contrast);
    font-family: var(--ec-font-body);
    font-weight: 800;
    transition: background var(--ec-dur-1) var(--ec-ease);
}

.ts-pg-card:hover .ts-pg-card__add {
    background: #2353c7;
}

/* ------------------------------------------------------------------ *
 * Category band: discrete rounded tiles in the store category grid
 * language; brand micro index, arrow nudges right, border warms to
 * brand on hover.
 * ------------------------------------------------------------------ */
.ts-catband__heading {
    margin-bottom: 1.6rem;
}

.ts-catband__grid {
    gap: 1rem;
}

.ts-catband__tile {
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
    box-shadow: none;
    padding: 1.3rem 1.25rem;
    gap: 1.75rem;
    transition: transform var(--ec-dur-2) var(--ec-ease), box-shadow var(--ec-dur-2) var(--ec-ease),
                border-color var(--ec-dur-2) var(--ec-ease);
}

.ts-catband__tile:hover {
    transform: translateY(-3px);
    border-color: var(--ec-brand);
    box-shadow: var(--ec-shadow-2);
}

.ts-catband__num {
    font-family: var(--ec-font-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--ec-brand);
}

.ts-catband__title {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.025em;
    color: var(--ec-ink);
}

.ts-catband__count {
    font-size: 0.78rem;
    color: var(--ec-ink-muted);
    margin-top: 0.2rem;
}

.ts-catband__arrow {
    color: var(--ec-brand);
    transition: transform var(--ec-dur-1) var(--ec-ease);
}

.ts-catband__tile:hover .ts-catband__arrow {
    transform: translateX(4px);
}

/* ------------------------------------------------------------------ *
 * Featured product: the EasyCommerce showcase band. Pale blue panel
 * holding a square grid-paper product stage under the deep ambient
 * shadow; price at the storefront amount scale; the buy button takes
 * the orange conversion accent.
 * ------------------------------------------------------------------ */
.ts-featured {
    background: var(--ec-surface-soft);
    border-radius: var(--ec-radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
}

.ts-featured__media {
    border: 1px solid var(--ec-border);
    border-radius: 0;
    box-shadow: var(--ec-shadow-3);
    background:
        linear-gradient(var(--ec-surface-soft) 1px, transparent 1px) 0 0 / 42px 42px,
        linear-gradient(90deg, var(--ec-surface-soft) 1px, transparent 1px) 0 0 / 42px 42px,
        var(--ec-surface);
}

.ts-featured__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--ec-brand);
}

.ts-featured__name {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    color: var(--ec-ink);
}

.ts-featured__blurb {
    color: var(--ec-ink-muted);
    line-height: 1.75;
}

.ts-featured__price {
    font-family: var(--ec-font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--ec-brand);
}

.ts-featured .ts-page-btn--primary {
    background: var(--ec-accent);
    color: var(--ec-accent-contrast);
}

.ts-featured .ts-page-btn--primary:hover {
    background: var(--ec-accent);
    color: var(--ec-accent-contrast);
    filter: brightness(0.92);
}

/* ------------------------------------------------------------------ *
 * Module position: a white slot card, the storefront module band as a
 * contained hairline panel.
 * ------------------------------------------------------------------ */
.ts-modules {
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
}

.ts-modules__body {
    gap: 1.75rem;
}

/* ------------------------------------------------------------------ *
 * Tone panels: dark is the navy 135deg gradient band; accent is the
 * orange conversion panel under its own warm glow (the EC panel chip
 * shadow). Placed after the sections so a toned hero, stats, CTA or
 * featured band repaints by source order.
 * ------------------------------------------------------------------ */
.ts-tone-dark {
    background: linear-gradient(135deg, #101a35, #243f82);
    color: #fff;
    border-radius: var(--ec-radius-lg);
    padding: clamp(2.25rem, 5vw, 4rem);
}

.ts-tone-accent {
    background: var(--ec-accent);
    color: var(--ec-accent-contrast);
    border-radius: var(--ec-radius-lg);
    padding: clamp(2.25rem, 5vw, 4rem);
    box-shadow: 0 16px 36px rgb(241 95 58 / 0.25);
}

.ts-tone-dark .ts-stat,
.ts-tone-accent .ts-stat {
    border-top-color: color-mix(in oklab, currentColor 30%, transparent);
}

.ts-tone-dark .ts-page-btn--ghost,
.ts-tone-accent .ts-page-btn--ghost {
    background: transparent;
}

.ts-tone-dark .ts-page-btn--ghost:hover,
.ts-tone-accent .ts-page-btn--ghost:hover {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

/* Brand blue is unreadable on the navy band; the price inherits the band ink. */
.ts-tone-dark .ts-featured__price {
    color: #fff;
}

/* ------------------------------------------------------------------ *
 * Small screens (the template collapses at 640px)
 * ------------------------------------------------------------------ */
@media (max-width: 640px) {
    .ts-hero-sec,
    .ts-cta-sec,
    .ts-featured,
    .ts-testimonials,
    .ts-modules,
    .ts-tone-dark,
    .ts-tone-accent {
        border-radius: var(--ec-radius-md);
        padding: 1.5rem 1.25rem;
    }

    .ts-hero-sec__title {
        font-size: 2.4rem;
    }

    .ts-hero-sec__media {
        transform: none;
    }

    .ts-stat__value {
        font-size: 2.1rem;
    }

    .ts-products__grid,
    .ts-catband__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .ts-trust__row {
        justify-content: flex-start;
        gap: 0.9rem 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-page-btn,
    .ts-feature,
    .ts-pg-card,
    .ts-catband__tile,
    .ts-catband__arrow,
    .ts-faq__item,
    .ts-faq__q,
    .ts-faq__glyph {
        transition: none;
    }

    .ts-feature:hover,
    .ts-pg-card:hover,
    .ts-catband__tile:hover {
        transform: none;
    }
}

/* ------------------------------------------------------------------ *
 * Template showcase: link cards in the storefront product-card idiom.
 * A cover-image panel over a white hairline body; the name in Plus
 * Jakarta, a muted blurb and a brand-blue call to action whose arrow
 * slides on hover. This is navigation, so the cta wears brand blue,
 * not the orange conversion accent the store reserves for buy buttons.
 * Link cards lift onto the ambient shadow like the product grid; a
 * plain (non-link) card stays put.
 * ------------------------------------------------------------------ */
.ts-showcase__heading {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
    color: var(--ec-ink);
    margin-bottom: 0.6rem;
}

.ts-showcase__sub {
    margin: 0 0 2rem;
    max-width: 52ch;
    color: var(--ec-ink-muted);
    line-height: 1.75;
}

.ts-showcase__grid {
    display: grid;
    grid-template-columns: repeat(var(--ts-cols, 3), minmax(0, 1fr));
    gap: 1.25rem;
}

.ts-showcase__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ec-surface);
    border: 1px solid var(--ec-border);
    border-radius: var(--ec-radius-md);
    color: inherit;
    text-decoration: none;
    transition: transform var(--ec-dur-2) var(--ec-ease), box-shadow var(--ec-dur-2) var(--ec-ease),
                border-color var(--ec-dur-2) var(--ec-ease);
}

a.ts-showcase__card:hover {
    transform: translateY(-5px);
    border-color: var(--ec-brand);
    box-shadow: var(--ec-shadow-2);
    color: inherit;
}

.ts-showcase__media {
    display: block;
    aspect-ratio: 16 / 10;
    background-color: var(--ec-surface-soft);
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--ec-border);
}

.ts-showcase__text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.3rem 1.35rem 1.45rem;
}

.ts-showcase__name {
    font-family: var(--ec-font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    color: var(--ec-ink);
}

.ts-showcase__blurb {
    color: var(--ec-ink-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.ts-showcase__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-family: var(--ec-font-body);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ec-brand);
}

.ts-showcase__arrow {
    transition: transform var(--ec-dur-1) var(--ec-ease);
}

a.ts-showcase__card:hover .ts-showcase__arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .ts-showcase__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-showcase__card,
    .ts-showcase__arrow {
        transition: none;
    }

    a.ts-showcase__card:hover {
        transform: none;
    }
}
