/* ==========================================================================
   Corewave homepage — built to the Rork "Agency Design Studio" comps
   ========================================================================== */

/* --- minimal reset: this page does not load the sitewide main.css --- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* paints the overscroll area at the bottom of the page, so rubber-banding
       past the footer shows the footer's colour rather than the page cream */
    background: #131313;
}

body.rk {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* :where() keeps these at zero specificity so any single-class rule below can
   still set its own margins — a plain `.rk p` selector would outrank them. */
:where(.rk h1, .rk h2, .rk h3, .rk h4, .rk p, .rk figure, .rk blockquote) {
    margin: 0;
}

:where(.rk ul, .rk ol) {
    margin: 0;
    padding: 0;
}

:where(.rk img, .rk svg, .rk video, .rk iframe) {
    display: block;
    max-width: 100%;
}

:where(.rk button, .rk input, .rk textarea, .rk select) {
    font: inherit;
    color: inherit;
}

.rk {
    --rk-cream: #eae7e1;
    --rk-ivory: #f4f1ea;
    --rk-ink: #131313;
    --rk-ink-soft: #1c1c1c;
    --rk-orange: #ff5722;
    --rk-orange-deep: #e04a1a;
    --rk-lime: #d4f542;
    --rk-lavender: #b8a6f5;

    --rk-line: rgba(19, 19, 19, 0.14);
    --rk-line-light: rgba(255, 255, 255, 0.14);
    --rk-muted: rgba(19, 19, 19, 0.62);
    --rk-muted-light: rgba(255, 255, 255, 0.62);

    --rk-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
    --rk-serif: 'Playfair Display', Georgia, serif;
    --rk-mono: 'Roboto Mono', ui-monospace, monospace;
    --rk-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Cap gutter on ultra-wide so side inset stays modest while content spans the viewport */
    --rk-gutter: clamp(1.25rem, 3vw, 2.75rem);
    --rk-maxw: none;

    background: var(--rk-cream);
    color: var(--rk-ink);
    font-family: var(--rk-body);
    /* `clip`, not `hidden`: hidden forces overflow-y to `auto`, which turns the
       body into its own scroll container and leaves a sliver of the page
       background showing below the footer. */
    overflow-x: clip;
}

.rk *,
.rk *::before,
.rk *::after {
    box-sizing: border-box;
}

.rk ::selection {
    background: var(--rk-orange);
    color: #fff;
}

/* ---------- shared primitives ---------- */

.rk-shell {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--rk-gutter);
    box-sizing: border-box;
}

.rk-eyebrow {
    font-family: var(--rk-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rk-muted);
}

.rk-eyebrow--light {
    color: rgba(255, 255, 255, 0.55);
}

.rk-display {
    font-family: var(--rk-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.84;
    text-wrap: balance;
}

.rk-serif {
    font-family: var(--rk-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.rk-ring {
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid var(--rk-orange);
    border-radius: 50%;
    display: block;
}

/* thin vertical column rules used across the light sections */
.rk-rules {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: repeating-linear-gradient(to right,
            transparent 0,
            transparent calc(100% / 6 - 1px),
            rgba(19, 19, 19, 0.07) calc(100% / 6 - 1px),
            rgba(19, 19, 19, 0.07) calc(100% / 6));
}

.rk-arrow-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    color: inherit;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.rk-arrow-btn:hover {
    background: var(--rk-ink);
    color: var(--rk-cream);
    transform: rotate(45deg);
}

.rk-link {
    font-family: var(--rk-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rk-link:hover {
    color: var(--rk-orange);
}

/* ==========================================================================
   Header
   ========================================================================== */

.rk-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(19, 19, 19, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.rk-header.is-stuck {
    border-bottom-color: var(--rk-line-light);
}

/* assets/site-deco.css has a `body.site-deco-active > header { position:
   relative }` rule (for pages using the decorative background overlay) that
   is more specific than the plain `.rk-header` sticky rule above and wins
   when this header is a direct child of that body — silently downgrading it
   from sticky to relative and breaking "stick to top on scroll". This
   selector is specific enough to always win instead. */
body.site-deco-active > #rk-header {
    position: sticky;
    top: 0;
}

.rk-header__inner {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 0.7rem var(--rk-gutter);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.rk-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--rk-cream);
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.rk-brand__logo {
    height: 1.75rem;
    width: auto;
    display: block;
}

.rk-brand__text {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--rk-cream);
}

.rk-brand__mark {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--rk-ink);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.rk-brand__mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--rk-orange);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.rk-brand__mark::after {
    content: '';
    position: absolute;
    left: 52%;
    top: 22%;
    width: 26%;
    height: 56%;
    background: var(--rk-cream);
    transform: skewX(-12deg);
}

.rk-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.rk-nav > a,
.rk-nav__trigger {
    display: inline-flex;
    align-items: center;
    font-family: var(--rk-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--rk-ink);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rk-nav > a:hover,
.rk-has-mega:hover .rk-nav__trigger {
    color: var(--rk-ink);
}

.rk-has-mega.is-open .rk-nav__trigger {
    background: rgba(19, 19, 19, 0.08);
    color: var(--rk-ink);
}

/* ---------- leading dot on every nav item; orange + underline on the active one ---------- */

.rk-nav__dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rk-muted);
    margin-right: 0.4rem;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.rk-nav > a:hover .rk-nav__dot,
.rk-has-mega:hover .rk-nav__trigger .rk-nav__dot {
    background: var(--rk-orange);
}

.rk-nav > a:hover::after,
.rk-has-mega:hover .rk-nav__trigger::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: -1px;
    height: 2px;
    background: var(--rk-orange);
    border-radius: 999px;
}

/* ---------- mega menu (Labs / AI) ---------- */

.rk-nav__item {
    display: flex;
    align-items: center;
}

.rk-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.rk-nav__chevron {
    display: none;
}

.rk-has-mega:hover .rk-nav__chevron,
.rk-has-mega.is-open .rk-nav__chevron {
    transform: rotate(180deg);
}

.rk-has-mega {
    position: static;
}

.rk-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    background: var(--rk-ink);
    border-bottom: 1px solid var(--rk-line-light);
    box-shadow: 0 24px 40px -28px rgba(0, 0, 0, 0.55);
}

.rk-has-mega:hover .rk-mega,
.rk-has-mega:focus-within .rk-mega,
.rk-has-mega.is-open .rk-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rk-mega__inner {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 2rem var(--rk-gutter) 2.5rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 4rem;
}

.rk-mega__col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rk-mega__heading {
    font-family: var(--rk-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rk-ink);
    margin: 0 0 0.55rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rk-line);
    white-space: nowrap;
}

.rk-mega__col a:not(.rk-mega__promo) {
    font-family: var(--rk-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--rk-muted);
    text-decoration: none;
    padding-block: 0;
    width: fit-content;
}

.rk-mega__col a:hover {
    color: var(--rk-orange);
}

.rk-mega__col--panel {
    gap: 1rem;
}

/* ---------- mega menu: recommended-reads column (blog thumbnails) ---------- */

.rk-mega__col--reads {
    width: 19rem;
    padding-left: 2rem;
    border-left: 1px solid var(--rk-line);
}

.rk-mega__reads-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.55rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--rk-line);
}

.rk-mega__reads-head .rk-mega__heading {
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rk-mega__reads-more {
    font-family: var(--rk-body);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--rk-orange-deep);
    text-decoration: none;
    white-space: nowrap;
}

.rk-mega__reads-more:hover {
    color: var(--rk-orange);
}

.rk-mega__reads-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 15.5rem;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.rk-mega__reads-list::-webkit-scrollbar {
    width: 4px;
}

.rk-mega__reads-list::-webkit-scrollbar-thumb {
    background: var(--rk-line);
    border-radius: 999px;
}

.rk-mega__read {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.3rem;
    margin-inline: -0.3rem;
    border-radius: 10px;
    text-decoration: none;
    width: auto;
    transition: background-color 0.2s ease;
}

.rk-mega__read:hover {
    background: var(--rk-ivory);
}

.rk-mega__read-thumb {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--rk-ivory);
}

.rk-mega__read-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rk-mega__read-title {
    font-family: var(--rk-body) !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
    color: var(--rk-ink) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rk-mega__read:hover .rk-mega__read-title {
    color: var(--rk-orange-deep) !important;
}

/* menus that append a recommended-reads column swap from a fixed grid
   template to flex, since the reads column has its own intrinsic width and
   the remaining link columns just need to sit at their content width */
.rk-mega__inner--with-reads {
    display: flex !important;
    align-items: stretch;
}

.rk-mega__card {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.1rem 1.25rem;
    border-radius: 12px;
    background: var(--rk-ivory);
    border: 1px solid var(--rk-line);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.rk-mega__card:hover {
    border-color: var(--rk-orange);
    transform: translateY(-2px);
}

.rk-mega__card-title {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--rk-ink);
}

.rk-mega__card-sub {
    font-family: var(--rk-body);
    font-size: 0.78rem;
    color: var(--rk-muted);
}

/* ---------- mega menu promo cards (Labs / Agent Store) ---------- */

.rk-mega__promo {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 22rem;
    padding: 1.25rem 1.5rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(155deg, rgba(255, 87, 34, 0.14), rgba(255, 87, 34, 0.05));
    border: 1px solid rgba(255, 87, 34, 0.22);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.rk-mega__promo:hover {
    border-color: rgba(255, 87, 34, 0.45);
    background: linear-gradient(155deg, rgba(255, 87, 34, 0.2), rgba(255, 87, 34, 0.07));
    transform: translateY(-2px);
}

.rk-mega__promo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 9px;
    background: rgba(255, 87, 34, 0.16);
    color: var(--rk-orange-deep);
    margin-bottom: 0.15rem;
}

.rk-mega__promo-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    row-gap: 0.3rem;
}

.rk-mega__promo-title {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--rk-ink);
}

.rk-mega__promo-badge {
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--rk-orange-deep);
    background: rgba(255, 87, 34, 0.16);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    white-space: nowrap;
}

.rk-mega__promo-sub {
    font-family: var(--rk-body);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--rk-muted);
}

.rk-mega__promo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    font-family: var(--rk-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--rk-orange-deep);
}

.rk-mega__promo-dots {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
}

.rk-mega__promo-dots i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 87, 34, 0.35);
}

/* ---------- services mega menu: 4 columns + sub-items + mini CTA/logos ---------- */

.rk-mega__inner--4col {
    grid-template-columns: 1.1fr 1.1fr 1fr 1fr;
}

.rk-mega__sub {
    padding-left: 0.85rem;
    font-size: 0.84rem !important;
    color: var(--rk-muted) !important;
}

.rk-mega__sub:hover {
    color: var(--rk-orange) !important;
}

.rk-mega__mini-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--rk-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--rk-ink);
    text-decoration: none;
    padding-block: 0.2rem;
}

.rk-mega__mini-cta:hover {
    color: var(--rk-orange);
}

.rk-mega__foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rk-mega__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rk-line);
}

.rk-mega__logos span {
    font-family: var(--rk-mono);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    color: var(--rk-muted);
}

.rk-mega__promo--compact {
    width: 100%;
    padding: 1.25rem 1.4rem 1.15rem;
    gap: 0.3rem;
}

.rk-mega__promo--compact .rk-mega__promo-title {
    font-size: 0.92rem;
}

/* ---------- services mega menu v2: sidebar tabs + columns + dark panel ---------- */

.rk-mega__inner--services {
    display: flex !important;
    align-items: stretch;
    gap: 2.5rem;
}

.rk-mega__tabs {
    display: flex;
    flex-direction: column;
    width: 12.5rem;
    flex-shrink: 0;
    border-right: 1px solid var(--rk-line);
    padding-right: 1.5rem;
}

.rk-mega__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    font-family: var(--rk-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rk-muted);
    background: transparent;
    border: none;
    border-left: 2px solid transparent;
    padding: 0.7rem 0 0.7rem 0.85rem;
    margin-left: -0.87rem;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.rk-mega__tab b {
    font-weight: 500;
    color: var(--rk-muted);
    opacity: 0.7;
}

.rk-mega__tab.is-active,
.rk-mega__tab:hover {
    color: var(--rk-ink);
    border-left-color: var(--rk-orange);
}

.rk-mega__cols {
    display: flex;
    flex: 1;
    gap: 2.5rem;
}

.rk-mega__cat {
    display: none;
    flex: 1;
    gap: 2.5rem;
}

.rk-mega__cat.is-active {
    display: flex;
}

.rk-mega__item-new {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.rk-mega__badge {
    font-family: var(--rk-mono);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--rk-cream);
    background: var(--rk-orange-deep);
    border-radius: 4px;
    padding: 0.12rem 0.35rem;
    line-height: 1.4;
}

.rk-mega__item-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    text-decoration: none;
}

.rk-mega__item-desc em {
    font-style: normal;
    font-family: var(--rk-body);
    font-size: 0.74rem;
    color: var(--rk-muted);
    opacity: 0.75;
}

.rk-mega__col--panel-dark {
    width: 15rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.rk-mega__panel-dark {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--rk-ink);
    color: var(--rk-cream);
    border-radius: 14px;
    padding: 1.4rem 1.5rem;
}

.rk-mega__panel-dark--link {
    text-decoration: none;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.rk-mega__panel-dark--link:hover {
    border-color: var(--rk-orange);
    transform: translateY(-2px);
}

.rk-mega__panel-kicker {
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--rk-orange);
}

.rk-mega__panel-title {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #fff;
    margin: 0.15rem 0 0;
}

.rk-mega__panel-sub {
    font-family: var(--rk-body);
    font-size: 0.82rem;
    color: rgba(234, 231, 225, 0.65);
    margin: 0;
}

.rk-mega__panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    font-family: var(--rk-body);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--rk-orange);
    text-decoration: none;
}

.rk-mega__panel-link:hover {
    color: var(--rk-cream);
}

.rk-header__cta {
    font-family: var(--rk-body);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--rk-cream);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    background: var(--rk-ink);
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.rk-header__cta:hover {
    color: var(--rk-cream);
    background: var(--rk-orange-deep);
    transform: translateY(-1px);
}

.rk-header__burger {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--rk-line);
    border-radius: 50%;
    background: transparent;
    color: var(--rk-ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .rk-nav,
    .rk-header__cta {
        display: none;
    }

    .rk-header__burger {
        display: inline-flex;
    }

    .rk-header.is-open .rk-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--rk-cream);
        border-block: 1px solid var(--rk-line);
        padding: 0.5rem var(--rk-gutter) 1.25rem;
    }

    .rk-header.is-open .rk-nav > a,
    .rk-header.is-open .rk-nav__trigger {
        width: 100%;
        padding-block: 0.85rem;
        padding-inline: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--rk-line);
        font-size: 1.05rem;
        color: var(--rk-ink);
        background: transparent;
    }

    .rk-header.is-open .rk-nav__item {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .rk-header.is-open .rk-nav__trigger {
        justify-content: space-between;
    }

    .rk-header.is-open .rk-mega {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        box-shadow: none;
        border-bottom: none;
        background: transparent;
        display: none;
    }

    .rk-header.is-open .rk-has-mega.is-open .rk-mega {
        display: block;
    }

    .rk-header.is-open .rk-mega__inner {
        max-width: none;
        padding: 0.25rem 0 1rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rk-header.is-open .rk-mega__inner--with-reads {
        display: flex !important;
        flex-direction: column;
    }

    .rk-header.is-open .rk-mega__col a {
        width: 100%;
        padding-block: 0.5rem;
    }

    .rk-header.is-open .rk-mega__col--reads {
        width: 100%;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--rk-line);
        padding-top: 1.25rem;
    }

    .rk-header.is-open .rk-mega__reads-list {
        max-height: none;
        overflow: visible;
    }

    .rk-header.is-open .rk-mega__inner--services {
        flex-direction: column;
        gap: 1.25rem;
    }

    .rk-header.is-open .rk-mega__tabs {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        border-right: none;
        padding-right: 0;
        gap: 0.5rem 1.25rem;
    }

    .rk-header.is-open .rk-mega__tab {
        margin-left: 0;
        padding-left: 0.6rem;
    }

    .rk-header.is-open .rk-mega__cols {
        flex-direction: column;
        gap: 1.25rem;
    }

    .rk-header.is-open .rk-mega__col--panel-dark {
        width: 100%;
    }
}

/* ---------- dark header theme: swap ink-on-cream for cream-on-ink ---------- */
/* placed last so it wins ties against the equal-specificity rules above */

#rk-header .rk-brand,
#rk-header .rk-brand__text,
#rk-header .rk-nav > a,
#rk-header .rk-nav__trigger,
#rk-header.is-open .rk-nav > a,
#rk-header.is-open .rk-nav__trigger {
    color: #fff;
}

#rk-header .rk-nav > a:hover,
#rk-header .rk-has-mega:hover .rk-nav__trigger {
    color: #fff;
}

#rk-header .rk-has-mega.is-open .rk-nav__trigger {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

#rk-header .rk-nav__dot {
    background: rgba(255, 255, 255, 0.4);
}

#rk-header .rk-nav > a:hover .rk-nav__dot,
#rk-header .rk-has-mega:hover .rk-nav__trigger .rk-nav__dot {
    background: var(--rk-orange) !important;
}

.rk-header__cta {
    background: var(--rk-orange);
    color: #fff;
}

.rk-header__cta:hover {
    background: #fff;
    color: var(--rk-ink);
}

.rk-header__burger {
    border-color: var(--rk-line-light);
    color: #fff;
}

.rk-header.is-open .rk-nav {
    background: var(--rk-ink);
    border-color: var(--rk-line-light);
}

.rk-header.is-open .rk-nav > a,
.rk-header.is-open .rk-nav__trigger {
    border-bottom-color: var(--rk-line-light);
}

#rk-header .rk-mega__heading,
#rk-header .rk-mega__reads-head .rk-mega__heading {
    color: #fff;
    border-bottom-color: var(--rk-line-light);
}

#rk-header .rk-mega__col a:not(.rk-mega__promo),
#rk-header .rk-mega a.rk-mega__item-desc,
#rk-header .rk-mega__sub {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
}

#rk-header .rk-mega__col a:hover,
#rk-header .rk-mega a.rk-mega__item-desc:hover {
    color: var(--rk-orange) !important;
}

#rk-header .rk-mega a.rk-mega__item-desc em {
    color: rgba(255, 255, 255, 0.55) !important;
}

.rk-mega__col--reads {
    border-left-color: var(--rk-line-light);
}

.rk-mega__read:hover {
    background: rgba(255, 255, 255, 0.06);
}

.rk-mega__read-thumb {
    background: rgba(255, 255, 255, 0.06);
}

.rk-mega__read-title {
    color: #fff !important;
}

.rk-mega__mini-cta {
    color: #fff;
}

.rk-mega__logos {
    border-top-color: var(--rk-line-light);
}

.rk-mega__logos span {
    color: rgba(255, 255, 255, 0.75);
}

.rk-mega__tabs {
    border-right-color: var(--rk-line-light);
}

.rk-mega__tab,
.rk-mega__tab b {
    color: rgba(255, 255, 255, 0.75);
}

.rk-mega__tab.is-active,
.rk-mega__tab:hover {
    color: #fff;
}

.rk-mega__panel-dark {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--rk-line-light);
}

.rk-mega__panel-sub {
    color: rgba(255, 255, 255, 0.75);
}

.rk-header.is-open .rk-mega__col--reads {
    border-top-color: var(--rk-line-light);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.rk-hero {
    position: relative;
    padding-top: clamp(2rem, 5vw, 4rem);
    padding-bottom: 2rem;
    overflow: hidden;
}

.rk-hero--dark {
    color: var(--rk-cream);
    background: var(--rk-ink);
    isolation: isolate;
}

.rk-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.rk-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none;
    filter: brightness(0.55) saturate(0.45);
    transform: scale(1.55);
    transform-origin: center center;
}

.rk-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(19, 19, 19, 0.9) 0%,
        rgba(19, 19, 19, 0.78) 42%,
        rgba(19, 19, 19, 0.94) 100%
    );
}

.rk-hero--dark .rk-hero__ticker,
.rk-hero--dark .rk-hero__body,
.rk-hero--dark .rk-hero__foot,
.rk-hero--dark .rk-hero__ring {
    position: relative;
    z-index: 1;
}

.rk-hero--dark .rk-hero__ticker p {
    color: var(--rk-muted-light);
}

.rk-hero--dark .rk-hero__ticker-brand::before {
    background: var(--rk-cream);
}

.rk-hero--dark .rk-hero__title {
    color: var(--rk-cream);
}

.rk-hero--dark .rk-hero__blurb {
    color: var(--rk-muted-light);
}

.rk-hero--dark .rk-hero__art-label {
    color: var(--rk-muted-light);
}

.rk-hero--dark .rk-hero__art-shape--ghost {
    background: rgba(255, 255, 255, 0.07);
}

.rk-hero--dark .rk-hero__art-scroll {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--rk-cream);
    background: rgba(255, 255, 255, 0.08);
}

.rk-hero--dark .rk-hero__art-scroll:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
}

.rk-hero--dark .rk-hero__foot p,
.rk-hero--dark .rk-hero__foot a {
    color: var(--rk-muted-light);
}

.rk-hero--dark .rk-hero__foot a:hover {
    color: var(--rk-cream);
}

@media (prefers-reduced-motion: reduce) {
    .rk-hero__video {
        display: none;
    }

    .rk-hero--dark {
        background: linear-gradient(160deg, #1a1a1a 0%, #0c0c0c 100%);
    }
}

.rk-hero__ticker {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--rk-gutter);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.rk-hero__ticker p {
    font-family: var(--rk-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-muted);
    margin: 0;
}

.rk-hero__ticker-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.rk-hero__ticker-brand::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--rk-ink);
}

.rk-hero__ring {
    position: absolute;
    top: 5.5rem;
    left: clamp(6rem, 12vw, 11rem);
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid var(--rk-orange);
    border-radius: 50%;
}

.rk-hero__body {
    position: relative;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--rk-gutter);
    box-sizing: border-box;
}

/* Two lanes: copy on the left, artwork on the right. Keeps the card clear of
   the headline instead of cropping it. */
@media (min-width: 901px) {
    .rk-hero__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        column-gap: clamp(1.25rem, 3vw, 2.5rem);
        align-items: start;
    }

    .rk-hero__kicker,
    .rk-hero__title,
    .rk-hero__sub,
    .rk-hero__blurb {
        grid-column: 1;
    }
}

.rk-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--rk-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rk-orange);
    margin-bottom: 0.75rem;
}

.rk-hero__kicker span {
    font-size: 1rem;
    line-height: 1;
}

.rk-hero__title {
    font-family: var(--rk-display);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.82;
    /* sized to the left lane so the longest line clears the artwork */
    font-size: clamp(2.9rem, 7.8vw, 6.7rem);
    margin: 0;
}

/* the comp staggers the three lines across the grid */
.rk-hero__title span {
    display: block;
    white-space: nowrap;
}

.rk-hero__title span:nth-child(2) {
    margin-left: clamp(0.5rem, 3vw, 2.5rem);
}

.rk-hero__sub {
    font-family: var(--rk-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2.7vw, 2.2rem);
    color: var(--rk-orange);
    line-height: 1.1;
    margin: 0.35em 0 0;
    max-width: 24ch;
}

.rk-hero__blurb {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--rk-muted);
    max-width: 34ch;
    margin: clamp(1.25rem, 3vw, 2rem) 0 0;
}

/* --- hero art: interactive AI visual (iframe) or legacy static composition --- */
.rk-hero__art {
    position: relative;
    aspect-ratio: 16 / 11;
    perspective: 1200px;
}

.rk-hero__art:has(.rk-hero__visual) {
    aspect-ratio: auto;
    overflow: visible;
    perspective: none;
}

.rk-hero__visual {
    position: relative;
    width: 100%;
    min-height: clamp(300px, 42vw, 620px);
}

.rk-hero__visual-frame {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color-scheme: normal;
    min-height: clamp(300px, 42vw, 620px);
}

@media (min-width: 901px) {
    .rk-hero__art {
        grid-column: 2;
        grid-row: 1 / span 4;
        align-self: center;
        /* a small bleed past the right gutter, as in the comps */
        margin-right: calc(var(--rk-gutter) * -0.65);
    }
}

.rk-hero__art-shape {
    position: absolute;
    border-radius: 2px;
}

.rk-hero__art-shape--lime {
    background: var(--rk-lime);
    inset: 34% 18% 6% 52%;
    transform: rotate(-7deg);
}

.rk-hero__art-shape--orange {
    background: var(--rk-orange);
    inset: 40% 4% 4% 68%;
    transform: rotate(6deg);
}

.rk-hero__art-shape--ghost {
    background: rgba(19, 19, 19, 0.07);
    inset: 26% 10% 14% 46%;
    transform: rotate(-2deg);
}

.rk-hero__card {
    position: absolute;
    inset: 8% 14% 16% 2%;
    background: linear-gradient(155deg, #1b1b1b 0%, #0c0c0c 100%);
    color: var(--rk-cream);
    border-radius: 3px;
    padding: 1.1rem 1.3rem;
    transform: rotateX(11deg) rotateY(-13deg) rotate(-2.5deg);
    transform-style: preserve-3d;
    box-shadow: 0 2.5rem 4rem -1.5rem rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.rk-hero__card::before {
    /* the faint arc sweeping through the card in the comp */
    content: '';
    position: absolute;
    left: -18%;
    bottom: -55%;
    width: 90%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 87, 34, 0.5);
    border-radius: 50%;
}

.rk-hero__card::after {
    content: '';
    position: absolute;
    right: 12%;
    top: -8%;
    width: 62%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32));
    transform: rotate(28deg);
}

.rk-hero__card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--rk-mono);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

.rk-hero__card-row--bottom {
    align-items: flex-end;
}

.rk-hero__card-glyph {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--rk-orange);
}

.rk-hero__card-bars {
    position: absolute;
    left: 50%;
    top: 44%;
    display: flex;
    align-items: flex-end;
    gap: 0.28rem;
    height: 3.2rem;
}

.rk-hero__card-bars i {
    width: 0.22rem;
    background: rgba(255, 255, 255, 0.55);
    display: block;
}

.rk-hero__card-bars i:nth-child(1) { height: 42%; }
.rk-hero__card-bars i:nth-child(2) { height: 68%; }
.rk-hero__card-bars i:nth-child(3) { height: 100%; }

.rk-hero__card-cursor {
    position: absolute;
    right: 24%;
    bottom: 26%;
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 1.1rem solid var(--rk-orange);
    transform: rotate(-28deg);
}

.rk-hero__art-label {
    position: absolute;
    right: 0;
    top: 12%;
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-muted);
    text-align: right;
    line-height: 1.5;
}

.rk-hero__art-scroll {
    position: absolute;
    right: 8%;
    bottom: 12%;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid var(--rk-ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rk-ink);
    text-decoration: none;
    background: rgba(234, 231, 225, 0.6);
}

.rk-hero__foot {
    width: 100%;
    max-width: none;
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    padding-inline: var(--rk-gutter);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.rk-hero__foot p,
.rk-hero__foot a {
    font-family: var(--rk-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rk-muted);
    margin: 0;
    text-decoration: none;
}

@media (max-width: 900px) {
    /* below the two-column threshold the artwork returns to normal flow */
    .rk-hero__art {
        position: static;
        width: 100%;
        aspect-ratio: 4 / 3;
        margin-top: 2rem;
    }

    .rk-hero__art:has(.rk-hero__visual) {
        aspect-ratio: auto;
    }

    .rk-hero__ticker p:first-child {
        display: none;
    }
}

/* ==========================================================================
   Orange marquee strip
   ========================================================================== */

.rk-strip {
    background: var(--rk-orange);
    color: var(--rk-ink);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
}

.rk-strip__badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    padding-left: var(--rk-gutter);
    flex-shrink: 0;
}

.rk-strip__badge b {
    font-family: var(--rk-display);
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.rk-strip__badge span {
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rk-strip__track {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4rem, #000 calc(100% - 4rem), transparent);
}

.rk-strip__row {
    display: flex;
    gap: 2.5rem;
    flex-shrink: 0;
    animation: rk-marquee 26s linear infinite;
}

.rk-strip__row li {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rk-strip__row li::before {
    content: '';
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--rk-ink);
}

@keyframes rk-marquee {
    to {
        transform: translateX(-100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-strip__row {
        animation: none;
    }
}

/* ==========================================================================
   Stats (dark)
   ========================================================================== */

.rk-stats {
    background: var(--rk-ink);
    color: var(--rk-cream);
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

.rk-stats__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) repeat(5, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.rk-stats__label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.rk-stats__label span:first-child {
    color: var(--rk-orange);
    font-size: 1rem;
    line-height: 1;
}

.rk-stat {
    border-top: 1px solid var(--rk-line-light);
    padding-top: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 7vw, 5.5rem);
}

.rk-stat__value {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    letter-spacing: -0.045em;
    line-height: 0.9;
    margin: 0;
}

.rk-stat__value em {
    font-style: normal;
    color: var(--rk-orange);
}

.rk-stat__name {
    font-family: var(--rk-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin: 0;
}

.rk-stats__feature {
    font-family: var(--rk-serif);
    font-style: italic;
    color: var(--rk-orange);
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    /* pulled back into the shell gutter so it sits nearer the section edge */
    margin: clamp(2rem, 5vw, 3.5rem) 0 0 calc(var(--rk-gutter) * -0.55);
}

/* The five stats only fit on one row once each column can hold the longest
   label ("Partners & Supporters") without wrapping. */
@media (max-width: 1200px) {
    .rk-stats__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rk-stats__label {
        grid-column: 1 / -1;
    }

    .rk-stat {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .rk-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Clients & partners
   ========================================================================== */

.rk-clients {
    background:
        radial-gradient(ellipse 80% 55% at 12% 0%, rgba(255, 87, 34, 0.07), transparent 55%),
        linear-gradient(180deg, var(--rk-cream) 0%, var(--rk-ivory) 42%, var(--rk-cream) 100%);
    color: var(--rk-ink);
    padding-block: clamp(3.25rem, 7vw, 5.25rem);
    border-top: 1px solid var(--rk-line);
    position: relative;
    overflow: hidden;
}

.rk-clients::before {
    content: '';
    position: absolute;
    right: -8%;
    top: 8%;
    width: min(22rem, 40vw);
    height: min(22rem, 40vw);
    border-radius: 50%;
    border: 1px solid rgba(19, 19, 19, 0.06);
    pointer-events: none;
}

.rk-clients__top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.rk-clients__intro {
    max-width: 40rem;
}

.rk-clients__title-accent {
    font-style: normal;
    color: var(--rk-orange);
    display: inline;
}

.rk-clients__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.1rem;
}

.rk-clients__kicker span {
    color: var(--rk-orange);
    font-size: 1rem;
    line-height: 1;
}

.rk-clients__title {
    font-family: var(--rk-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.04;
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    margin: 0 0 1rem;
    text-wrap: balance;
}

.rk-clients__lead {
    font-size: clamp(0.92rem, 1.35vw, 1.02rem);
    line-height: 1.65;
    color: var(--rk-muted);
    max-width: 46ch;
    margin: 0;
}

.rk-clients__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-top: 1.5rem;
}

.rk-clients__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rk-clients__cta--primary {
    background: var(--rk-orange);
    color: #fff;
    border: 1px solid var(--rk-orange);
}

.rk-clients__cta--primary:hover {
    background: #e0431c;
    transform: translateY(-1px);
}

.rk-clients__cta--ghost {
    background: transparent;
    color: var(--rk-ink);
    border: 1px solid var(--rk-line);
}

.rk-clients__cta--ghost:hover {
    border-color: var(--rk-ink);
}

.rk-clients__aside {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--rk-line);
    border-radius: 12px;
    box-shadow: 0 1.5rem 3rem -1.75rem rgba(19, 19, 19, 0.18);
}

.rk-clients__scale {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rk-clients__scale-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(19, 19, 19, 0.08);
}

.rk-clients__scale-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.rk-clients__scale-label {
    display: block;
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.rk-clients__scale-text {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--rk-muted);
}

.rk-clients__proof {
    margin: 1.25rem 0 0;
    font-family: var(--rk-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rk-muted);
}

.rk-clients__proof strong {
    color: var(--rk-orange);
    font-weight: 600;
}

@media (max-width: 900px) {
    .rk-clients__top {
        grid-template-columns: 1fr;
    }
}

.rk-clients__marquees {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: clamp(2.25rem, 5vw, 3.25rem);
    width: 100%;
}

.rk-clients__marquee {
    overflow: hidden;
    width: 100%;
    min-height: clamp(4.75rem, 8vw, 5.75rem);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.rk-clients__track {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: max-content;
}

.rk-clients__track--left {
    animation: rk-clients-scroll-left 22s linear infinite;
    will-change: transform;
}

.rk-clients__track--right {
    animation: rk-clients-scroll-right 24s linear infinite;
    will-change: transform;
}

.rk-clients__marquee:hover .rk-clients__track {
    animation-play-state: paused;
}

.rk-clients__logo {
    flex-shrink: 0;
    margin: 0;
    width: clamp(10.5rem, 18vw, 13.25rem);
    height: clamp(4.75rem, 8vw, 5.75rem);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rk-ivory);
    border: 1px solid var(--rk-line);
    border-radius: 3px;
    box-shadow: 0 1.25rem 2.5rem -1rem rgba(19, 19, 19, 0.12);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rk-clients__marquee:hover .rk-clients__logo {
    border-color: rgba(255, 87, 34, 0.22);
}

.rk-clients__logo img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

@keyframes rk-clients-scroll-left {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@keyframes rk-clients-scroll-right {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 640px) {
    .rk-clients__marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-clients__track--left,
    .rk-clients__track--right {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        padding-inline: var(--rk-gutter);
    }

    .rk-clients__marquee {
        overflow: visible;
    }
}

/* ==========================================================================
   Industries carousel
   ========================================================================== */

.rk-industries {
    background: var(--rk-cream);
    color: var(--rk-ink);
    padding-block: clamp(3.25rem, 7vw, 5.5rem);
    border-top: 1px solid var(--rk-line);
}

.rk-industries__head {
    max-width: 52rem;
    margin-bottom: clamp(2rem, 4.5vw, 3rem);
}

.rk-industries__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.1rem;
}

.rk-industries__kicker span {
    color: var(--rk-lime);
    font-size: 1rem;
    line-height: 1;
    text-shadow: 0 0 0 var(--rk-ink);
}

.rk-industries__title {
    font-family: var(--rk-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.06;
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    margin: 0;
    text-wrap: balance;
}

.rk-industries__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rk-gutter);
    scrollbar-width: none;
    cursor: grab;
}

.rk-industries__viewport::-webkit-scrollbar {
    display: none;
}

.rk-industries__viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.rk-industries__track {
    display: flex;
    gap: clamp(0.85rem, 2vw, 1.15rem);
    width: max-content;
    padding-inline: var(--rk-gutter);
    padding-block: 0.15rem 0.35rem;
}

.rk-industries__card {
    position: relative;
    flex-shrink: 0;
    width: clamp(16.5rem, 28vw, 21.5rem);
    min-height: clamp(22rem, 38vw, 27.5rem);
    border-radius: 1.5rem;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    scroll-snap-align: start;
    isolation: isolate;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: linear-gradient(180deg, #3d3d3d 0%, #141414 50%, #000 100%);
}

.rk-industries__card--placeholder .rk-industries__card-scrim {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.28) 42%,
        rgba(0, 0, 0, 0.82) 100%
    );
}

.rk-industries__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1.75rem 3rem -1.25rem rgba(19, 19, 19, 0.35);
}

.rk-industries__card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.rk-industries__card-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.42) 32%,
        rgba(0, 0, 0, 0.9) 100%
    );
    transition: background 0.35s ease;
}

.rk-industries__card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: inherit;
    padding: clamp(1.15rem, 2.5vw, 1.45rem);
    /* Reserve space so the hover “Live Demo” bar does not cover pills */
    padding-bottom: clamp(4.75rem, 10vw, 5.25rem);
}

.rk-industries__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.rk-industries__card-head h3 {
    font-family: var(--rk-display);
    font-size: clamp(1.65rem, 3vw, 2.05rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.rk-industries__card-go {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.rk-industries__tags {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: clamp(2.5rem, 8vw, 5rem);
    padding-bottom: 0.25rem;
}

.rk-industries__tags li {
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    padding: 0.42rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.rk-industries__demo {
    position: absolute;
    left: clamp(1.15rem, 2.5vw, 1.45rem);
    right: clamp(1.15rem, 2.5vw, 1.45rem);
    bottom: clamp(1.15rem, 2.5vw, 1.45rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 3.1rem;
    padding: 0.55rem 0.55rem 0.55rem 1.05rem;
    border-radius: 0.85rem;
    background: var(--rk-orange);
    color: #fff;
    opacity: 0;
    transform: translateY(0.65rem);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.rk-industries__demo-label {
    font-family: var(--rk-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.rk-industries__demo-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.55rem;
    background: var(--rk-ivory);
    color: var(--rk-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (hover: hover) {
    .rk-industries__card:hover .rk-industries__card-scrim,
    .rk-industries__card:focus-visible .rk-industries__card-scrim {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.48) 32%,
            rgba(0, 0, 0, 0.94) 100%
        );
    }

    .rk-industries__card:hover .rk-industries__card-go,
    .rk-industries__card:focus-visible .rk-industries__card-go {
        background: var(--rk-orange);
        border-color: var(--rk-orange);
        color: #fff;
        transform: scale(1.04);
    }

    .rk-industries__card:hover .rk-industries__demo,
    .rk-industries__card:focus-visible .rk-industries__demo {
        opacity: 1;
        transform: translateY(0);
    }
}

.rk-industries__foot {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3vw, 1.75rem);
    margin-top: clamp(1.35rem, 3vw, 1.85rem);
}

.rk-industries__nav {
    display: flex;
    gap: 0.55rem;
}

.rk-industries__arrow {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    border: 1px solid var(--rk-line);
    background: var(--rk-ivory);
    color: var(--rk-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.rk-industries__arrow:hover:not(:disabled) {
    border-color: var(--rk-ink);
    background: #fff;
}

.rk-industries__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.rk-industries__progress-track {
    display: block;
    height: 2px;
    background: rgba(19, 19, 19, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.rk-industries__progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--rk-ink);
    border-radius: inherit;
    transition: width 0.2s ease-out;
}

@media (max-width: 640px) {
    .rk-industries__foot {
        grid-template-columns: 1fr;
    }

    .rk-industries__nav {
        order: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-industries__card:hover {
        transform: none;
    }

    .rk-industries__progress-fill,
    .rk-industries__card-go,
    .rk-industries__demo,
    .rk-industries__card-scrim {
        transition: none;
    }

    @media (hover: hover) {
        .rk-industries__card:hover .rk-industries__demo,
        .rk-industries__card:focus-visible .rk-industries__demo {
            transform: none;
        }
    }
}

/* ==========================================================================
   About
   ========================================================================== */

.rk-about {
    position: relative;
    background: var(--rk-ivory);
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.rk-about__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.rk-about__title {
    font-size: clamp(2.6rem, 6.6vw, 5.4rem);
    margin: 0.75rem 0 1.75rem;
}

.rk-about__ring {
    position: absolute;
    left: calc(var(--rk-gutter) * -1 + 0.5rem);
    top: 4.5rem;
}

.rk-about__copy p {
    font-size: 0.92rem;
    line-height: 1.68;
    color: var(--rk-muted);
    margin: 0 0 1.1rem;
}

/* Scoped to links inside the paragraphs so the "Read More" button below them
   keeps its own black-to-orange treatment. */
.rk-about__copy strong,
.rk-about__copy p a {
    color: var(--rk-orange);
    font-weight: 700;
    text-decoration: none;
}

.rk-about__copy p a:hover {
    text-decoration: underline;
}

.rk-about__more {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--rk-ink);
    text-decoration: none;
    border-bottom: 1.5px solid var(--rk-ink);
    padding-bottom: 0.15rem;
}

.rk-about__more:hover {
    color: var(--rk-orange);
    border-color: var(--rk-orange);
}

/* orbit diagram */
.rk-orbit {
    position: relative;
    aspect-ratio: 1;
    max-width: 30rem;
    margin-inline: auto;
    width: 100%;
}

.rk-orbit__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(19, 19, 19, 0.22);
    border-radius: 50%;
}

.rk-orbit__ellipse {
    position: absolute;
    inset: 34% -4%;
    border: 1px solid rgba(19, 19, 19, 0.3);
    border-radius: 50%;
    transform: rotate(-24deg);
}

.rk-orbit__core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 26%;
    aspect-ratio: 1;
    background: var(--rk-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.rk-orbit__core--pale {
    background: var(--rk-cream);
}

.rk-orbit__tag {
    position: absolute;
    font-family: var(--rk-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.45rem;
    color: var(--rk-ink);
    line-height: 1;
}

.rk-orbit__tag--ai { background: var(--rk-orange); left: 6%; top: 40%; transform: rotate(-12deg); }
.rk-orbit__tag--ml { background: var(--rk-lime); right: 8%; top: 34%; transform: rotate(10deg); }
.rk-orbit__tag--web { background: var(--rk-lavender); left: 34%; bottom: 8%; transform: rotate(-8deg); }
.rk-orbit__tag--app { background: var(--rk-orange); right: 22%; bottom: 4%; transform: rotate(14deg); }

.rk-about__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--rk-line);
    border: 1px solid var(--rk-line);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.rk-about__card {
    background: var(--rk-ivory);
    padding: 1.4rem 1.35rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rk-about__card-check {
    color: var(--rk-orange);
    font-size: 1.1rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.rk-about__card h3 {
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.rk-about__card p {
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--rk-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .rk-about__grid {
        grid-template-columns: 1fr;
    }

    .rk-about__ring {
        display: none;
    }
}

@media (max-width: 560px) {
    .rk-about__cards {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Portfolio
   ========================================================================== */

.rk-work {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.rk-work__head {
    display: grid;
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.rk-work__title {
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    margin: 0;
}

.rk-work__title em {
    display: block;
    font-family: var(--rk-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-left: 0.15em;
}

/* own full-width row so all four pills sit on a single line */
.rk-filters {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

@media (min-width: 700px) {
    .rk-filters {
        flex-wrap: nowrap;
    }
}

.rk-filter {
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--rk-ink);
    background: transparent;
    color: var(--rk-ink);
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.rk-filter:hover {
    background: rgba(19, 19, 19, 0.06);
}

.rk-filter.is-active {
    background: var(--rk-orange);
    border-color: var(--rk-orange);
    color: var(--rk-ink);
}

/* Homepage portfolio — dark case-studies layout; homepage heading copy/fonts only */
.rk #rk-home-case-studies.cw-case-studies {
    --cs-bg: #070b14;
    --cs-ink: #f4f7fb;
    --cs-muted: #9aa3b2;
    --cs-tab-ink: #e8edf5;
    --cs-lime: #c6f34c;
    --cs-card: #ffffff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--cs-ink);
    padding: clamp(3.5rem, 7vw, 4.75rem) 0 clamp(4rem, 8vw, 5rem);
    font-family: "Plus Jakarta Sans", var(--rk-body), system-ui, sans-serif;
    background: rgba(7, 11, 20, 0.88);
}

/* Soft color orbs — visible through tabs / depth behind the layout */
.rk #rk-home-case-studies.cw-case-studies::before {
    content: "";
    position: absolute;
    inset: -15% -8%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 420px 380px at 8% 55%,
            rgba(61, 220, 132, 0.42) 0%,
            transparent 68%
        ),
        radial-gradient(
            ellipse 520px 440px at 72% 38%,
            rgba(56, 98, 190, 0.48) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 360px 320px at 48% 92%,
            rgba(198, 243, 76, 0.28) 0%,
            transparent 65%
        ),
        radial-gradient(
            ellipse 280px 260px at 88% 78%,
            rgba(255, 87, 34, 0.22) 0%,
            transparent 62%
        );
    filter: blur(56px);
    opacity: 1;
}

.rk #rk-home-case-studies.cw-case-studies::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 520px at 18% -10%, rgba(46, 78, 140, 0.16), transparent 60%),
        radial-gradient(900px 420px at 88% 0%, rgba(20, 40, 80, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(7, 11, 20, 0.22) 0%, rgba(7, 11, 20, 0.42) 100%);
}

.rk #rk-home-case-studies .cw-case-studies__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: var(--rk-gutter);
    box-sizing: border-box;
}

.rk #rk-home-case-studies .cw-case-studies__header {
    max-width: 720px;
    margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

.rk #rk-home-case-studies .cw-case-studies__eyebrow {
    font-family: var(--rk-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c5cdd8;
}

.rk #rk-home-case-studies .cw-case-studies__plus {
    color: #3ddc84;
    font-size: 1.125rem;
    font-weight: 500;
}

.rk #rk-home-case-studies .cw-case-studies__heading {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: clamp(2.8rem, 8vw, 6.5rem);
    letter-spacing: -0.035em;
    line-height: 0.84;
    color: #fff;
    text-wrap: balance;
    margin-bottom: 0;
}

.rk #rk-home-case-studies .cw-case-studies__heading em {
    font-family: var(--rk-serif);
    font-style: italic;
    font-weight: 400;
    display: inline;
    margin-left: 0.12em;
}

.rk #rk-home-case-studies .cw-case-studies__subtitle {
    color: var(--cs-muted);
}

.rk #rk-home-case-studies .cw-case-studies__layout {
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 18px;
}

.rk #rk-home-case-studies .cw-case-studies__tabs {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.rk #rk-home-case-studies .cw-case-studies__tab {
    border-radius: 16px;
    background: rgba(23, 28, 39, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    backdrop-filter: blur(16px) saturate(155%);
}

.rk #rk-home-case-studies .cw-case-studies__tab-title {
    font-family: "Inter Tight", var(--rk-display), "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    font-weight: 650;
    color: #f3f6fb;
}

.rk #rk-home-case-studies .cw-case-studies__tab-sub {
    font-family: "Plus Jakarta Sans", var(--rk-body), system-ui, sans-serif;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    color: #8b95a7;
}

.rk #rk-home-case-studies .cw-case-studies__tab:hover:not(.is-active) {
    background: rgba(34, 40, 56, 0.52);
    border-color: rgba(255, 255, 255, 0.14);
}

.rk #rk-home-case-studies .cw-case-studies__tab.is-active {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .rk #rk-home-case-studies .cw-case-studies__tab {
        background: #171c27;
    }

    .rk #rk-home-case-studies .cw-case-studies__tab.is-active {
        background: #fff;
    }
}

.rk #rk-home-case-studies .cw-case-studies__tab.is-active .cw-case-studies__tab-title {
    color: #12151c;
}

.rk #rk-home-case-studies .cw-case-studies__tab.is-active .cw-case-studies__tab-sub {
    color: #6d7585;
}

.rk #rk-home-case-studies .cw-case-studies__card {
    background: var(--cs-card);
    border: 0;
    color: #1b1f29;
    border-radius: 28px;
    min-height: 430px;
}

.rk #rk-home-case-studies .cw-case-studies__btn {
    background: var(--cs-lime);
    color: #17210a;
}

.rk #rk-home-case-studies .cw-case-studies__btn:hover {
    filter: brightness(0.96);
    color: #17210a;
}

@media (max-width: 980px) {
    .rk #rk-home-case-studies .cw-case-studies__container {
        width: 100%;
        padding-inline: var(--rk-gutter);
    }

    .rk #rk-home-case-studies .cw-case-studies__heading em {
        display: block;
        margin-left: 0;
    }

    /* Stack tabs above the card (homepage overrides desktop side-by-side layout) */
    .rk #rk-home-case-studies .cw-case-studies__layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rk #rk-home-case-studies .cw-case-studies__tabs {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
        margin: 0 -4px;
        padding-inline: 4px;
    }

    .rk #rk-home-case-studies .cw-case-studies__tabs::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .rk #rk-home-case-studies .cw-case-studies__tab {
        flex: 0 0 auto;
        min-width: min(148px, 42vw);
        max-width: 200px;
        scroll-snap-align: start;
        padding: 12px 14px 11px;
    }

    .rk #rk-home-case-studies .cw-case-studies__card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 22px 18px 24px;
    }

    .rk #rk-home-case-studies .cw-case-studies__visual {
        height: min(52vw, 320px);
        min-height: 240px;
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .rk #rk-home-case-studies .cw-case-studies__header {
        margin-bottom: 1.35rem;
    }

    .rk #rk-home-case-studies .cw-case-studies__heading {
        font-size: clamp(2.15rem, 10vw, 2.85rem);
        line-height: 0.92;
    }

    .rk #rk-home-case-studies .cw-case-studies__tab {
        min-width: min(132px, 38vw);
    }

    .rk #rk-home-case-studies .cw-case-studies__tab-sub {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rk #rk-home-case-studies .cw-case-studies__logo-text {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .rk #rk-home-case-studies .cw-case-studies__desc {
        font-size: 15px;
    }
}

.rk-work__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
    align-items: start;
}

/* the comp offsets the middle and right columns vertically */
.rk-work__grid > *:nth-child(3n + 2) {
    margin-top: clamp(3rem, 7vw, 5.5rem);
}

.rk-work__grid > *:nth-child(3n + 3) {
    margin-top: clamp(1.5rem, 3.5vw, 2.75rem);
}

.rk-project {
    text-decoration: none;
    color: inherit;
    display: block;
}

.rk-project[hidden] {
    display: none;
}

.rk-project__tile {
    position: relative;
    aspect-ratio: 1;
    background: var(--rk-tile, var(--rk-orange));
    border: 1px solid var(--rk-ink);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.1rem;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-project:hover .rk-project__tile {
    transform: translate(-4px, -4px);
}

.rk-project__tile::after {
    /* the offset shadow plate visible on the comps */
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--rk-ink);
    transform: translate(6px, 6px);
    z-index: -1;
}

.rk-project__num {
    position: absolute;
    top: 0.85rem;
    left: 1.1rem;
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--rk-ink);
}

.rk-project__go {
    position: absolute;
    top: 0.85rem;
    right: 0.9rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--rk-ivory);
    border: 1px solid var(--rk-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rk-ink);
    transition: transform 0.3s ease;
}

.rk-project:hover .rk-project__go {
    transform: rotate(45deg);
}

/* the abstract shape inside each tile */
.rk-project__shape {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 52%;
    aspect-ratio: 16 / 10;
    transform: translate(-50%, -50%) rotate(-22deg);
    border: 1px solid var(--rk-ink);
    background: var(--rk-shape, rgba(0, 0, 0, 0.35));
    border-radius: 50%;
}

.rk-project__shape--square {
    border-radius: 2px;
    aspect-ratio: 1;
    width: 44%;
    transform: translate(-50%, -50%) rotate(16deg);
}

.rk-project__shape::before {
    content: '';
    position: absolute;
    inset: -18%;
    border: 1px solid rgba(19, 19, 19, 0.55);
    border-radius: inherit;
}

.rk-project__name {
    position: relative;
    z-index: 1;
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    letter-spacing: -0.03em;
    color: var(--rk-ink);
    line-height: 1;
    margin: 0;
}

.rk-project__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
}

.rk-project__meta strong {
    font-size: 0.88rem;
    font-weight: 700;
}

.rk-project__meta span {
    font-family: var(--rk-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-muted);
}

@media (max-width: 900px) {
    .rk-work__head {
        grid-template-columns: 1fr;
    }

    .rk-filters {
        justify-content: flex-start;
    }

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

    .rk-work__grid > *:nth-child(3n + 2),
    .rk-work__grid > *:nth-child(3n + 3) {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .rk-work__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Testimonial intro (orange) + video cards
   ========================================================================== */

.rk-quote-intro {
    position: relative;
    background: var(--rk-orange);
    color: var(--rk-ink);
    padding-block: clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
}

.rk-quote-intro__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.rk-quote-intro__title {
    font-size: clamp(2.6rem, 7.2vw, 5.6rem);
    margin: 0.75rem 0 0;
}

.rk-quote-intro__blurb {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 34ch;
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 0 auto;
}

.rk-quote-intro .rk-orbit__ring,
.rk-quote-intro .rk-orbit__ellipse {
    border-color: rgba(19, 19, 19, 0.45);
}

.rk-quote-intro .rk-orbit__core {
    background: var(--rk-lime);
    width: 20%;
}

.rk-quote-intro__star {
    position: absolute;
    right: 14%;
    top: 18%;
    font-size: 1.4rem;
    line-height: 1;
}

.rk-stories {
    padding-block: 0 clamp(2rem, 4vw, 3rem);
    width: 100%;
}

.rk-stories__carousel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.65rem, 1.8vw, 1.15rem);
    padding-inline: var(--rk-gutter);
    padding-top: clamp(1.75rem, 4.5vw, 2.75rem);
}

.rk-stories__stage {
    min-width: 0;
}

.rk-stories__viewport {
    overflow: hidden;
    width: 100%;
}

.rk-stories__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.rk-stories__slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 621px) {
    .rk-stories__slide {
        flex: 0 0 33.333333%;
        width: 33.333333%;
        min-width: 33.333333%;
    }
}

.rk-stories__arrow {
    flex-shrink: 0;
    align-self: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--rk-line);
    border-radius: 50%;
    background: var(--rk-ivory);
    color: var(--rk-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.rk-stories__arrow:hover:not(:disabled) {
    border-color: var(--rk-orange);
    color: var(--rk-orange);
}

.rk-stories__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.rk-stories__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.rk-stories__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(19, 19, 19, 0.22);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.rk-stories__dot.is-active {
    background: var(--rk-orange);
    transform: scale(1.15);
}

.rk-story {
    background: var(--rk-ivory);
    border: 1px solid var(--rk-line);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rk-story__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}

.rk-story__media iframe,
.rk-story__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.rk-story__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border: 0;
    color: #fff;
    cursor: pointer;
    padding: 0;
}

.rk-story__play svg {
    width: 2.6rem;
    height: 2.6rem;
}

.rk-story__badge {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 600;
    padding: 0.28rem 0.45rem;
    border-radius: 3px;
    max-width: calc(100% - 3rem);
    text-align: left;
}

.rk-story__body {
    padding: 1.1rem 1.05rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.rk-story__mark {
    font-family: var(--rk-serif);
    font-size: 1.6rem;
    line-height: 0.6;
    color: var(--rk-orange);
}

.rk-story__quote {
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--rk-muted);
    margin: 0;
    flex: 1;
}

.rk-story__name {
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0;
}

.rk-story__role {
    font-family: var(--rk-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-muted);
    margin: 0.2rem 0 0;
}

.rk-stories__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    border-top: 1px solid var(--rk-line);
    margin-top: clamp(1.25rem, 3vw, 2rem);
    padding: 1rem var(--rk-gutter) 0;
    width: 100%;
    box-sizing: border-box;
}

.rk-stories__foot p {
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-muted);
    margin: 0;
    line-height: 1.7;
}

.rk-stories__foot p:first-child::before {
    content: '\002A';
    color: var(--rk-orange);
    margin-right: 1.5rem;
}

@media (max-width: 900px) {
    .rk-quote-intro__grid,
    .rk-stories__foot {
        grid-template-columns: 1fr;
    }

    .rk-quote-intro__blurb {
        margin-left: 0;
    }
}

@media (max-width: 620px) {
    .rk-stories__carousel {
        gap: 0.45rem;
        padding-top: clamp(1.25rem, 4vw, 2rem);
    }

    .rk-stories__arrow {
        width: 2.35rem;
        height: 2.35rem;
    }

    .rk-story {
        max-width: none;
        margin-inline: 0;
        width: 100%;
    }
}

/* ==========================================================================
   Services — sticky intro + scrolling accordions
   ========================================================================== */

.rk-services {
    --rk-services-bg: linear-gradient(165deg, #1c1c1c 0%, var(--rk-ink) 42%, #1a1512 100%);
    background: transparent;
    color: var(--rk-cream);
    position: relative;
    isolation: isolate;
}

/* What Solutions — no scroll-driven pin / expand / list scrub */
.rk-services.is-services-static {
    background: var(--rk-services-bg);
}

.rk-services.is-services-static .rk-services__scroll-wrap {
    height: auto !important;
    background: var(--rk-services-bg);
}

.rk-services.is-services-static .rk-services__sticky {
    position: relative;
    top: auto;
    height: auto !important;
    overflow: visible;
}

.rk-services.is-services-static .rk-services__sticky-inner {
    height: auto;
}

.rk-services.is-services-static .rk-services__intro {
    max-height: none;
    overflow: visible;
}

@media (min-width: 901px) {
    .rk-services.is-services-static .rk-services__sticky-inner {
        align-items: start;
        padding-block: clamp(2.5rem, 5vw, 4rem);
    }

    .rk-services.is-services-static .rk-services__intro {
        position: sticky;
        top: calc(
            var(--rk-services-header-offset, 0px) + clamp(2.25rem, 5vh, 3.5rem)
        );
        align-self: start;
        z-index: 1;
    }
}

.rk-services.is-services-static .rk-services__panel-col {
    height: auto !important;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
}

.rk-services.is-services-static.has-open-service .rk-services__panel-col {
    overflow: visible;
}

.rk-services.is-services-static .rk-services__track {
    transform: none !important;
    will-change: auto;
}

.rk-services.is-services-engage {
    z-index: 4;
    background: var(--rk-services-bg);
}

.rk-services.is-services-engage .rk-services__scroll-wrap {
    background: var(--rk-services-bg);
}

.rk-services__scroll-wrap {
    position: relative;
    background: transparent;
}

.rk-services__sticky {
    position: sticky;
    top: var(--rk-services-header-offset, 0px);
    overflow: hidden;
    background: var(--rk-services-bg);
    height: var(--rk-services-compact-h, auto);
}

.rk-services.is-services-ready .rk-services__sticky {
    height: calc(
        var(--rk-services-compact-h) +
        (var(--rk-services-full-h) - var(--rk-services-compact-h)) * var(--rk-services-expand, 0)
    );
}

.rk-services.is-services-ready:not(.is-services-engage) .rk-services__sticky-inner {
    height: 100%;
    box-sizing: border-box;
}

.rk-services.is-services-engage .rk-services__sticky {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rk-services.is-services-engage .rk-services__sticky-inner {
    height: auto;
    width: 100%;
    flex: 0 0 auto;
    align-items: center;
}

.rk-services__sticky-inner {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
    padding-block: clamp(1.15rem, 2.5vh, 1.75rem);
    box-sizing: border-box;
}

.rk-services__intro {
    align-self: start;
    max-width: 34rem;
}

.rk-services__icon {
    color: var(--rk-orange);
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.rk-services__icon svg {
    width: 40px;
    height: 40px;
}

.rk-services__eyebrow {
    margin-bottom: 0.65rem;
}

.rk-services__title {
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.6vw, 2.65rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 0.65rem;
}

.rk-services__blurb {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--rk-muted-light);
    margin: 0;
    max-width: 42ch;
}

.rk-services__blurb a {
    color: var(--rk-orange);
    font-weight: 700;
    text-decoration: none;
}

.rk-services__panel-col {
    --rk-services-visible-rows: 5;
    min-height: 0;
    align-self: start;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: calc(var(--rk-services-row-h, 4.35rem) * var(--rk-services-visible-rows) + var(--rk-services-visible-rows) * 1px);
    mask-image: linear-gradient(180deg, #000 0%, #000 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 100%);
}

.rk-services.has-open-service .rk-services__panel-col {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rk-services.has-open-service .rk-services__panel-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (min-width: 901px) {
    .rk-services__sticky-inner.rk-shell {
        max-width: none;
        width: 100%;
        margin-inline: 0;
        padding-inline: 0;
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    }

    .rk-services__intro {
        padding-left: var(--rk-gutter);
        padding-right: clamp(0.75rem, 2vw, 1.5rem);
    }

    .rk-services__panel-col {
        padding-right: var(--rk-gutter);
        box-sizing: border-box;
    }

    .rk-services__intro {
        max-height: var(--rk-services-window-h, none);
        overflow: hidden;
    }

    .rk-services.is-services-full .rk-services__intro {
        max-height: none;
        overflow: visible;
    }
}

.rk-services__track {
    will-change: transform;
}

.rk-services__item {
    border-bottom: 1px solid var(--rk-line-light);
}

.rk-services__item:first-child {
    border-top: 1px solid var(--rk-line-light);
}

.rk-services__trigger {
    width: 100%;
    min-height: 4.35rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem 1.25rem;
    align-items: center;
    padding: 1.1rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.rk-services__trigger:hover .rk-services__label {
    color: var(--rk-orange);
}

.rk-services__index {
    font-family: var(--rk-mono);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

.rk-services__label {
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: clamp(1.12rem, 2.15vw, 1.55rem);
    letter-spacing: -0.02em;
    line-height: 1.22;
    transition: color 0.25s ease;
}

.rk-services__chev {
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
    margin-top: -0.2rem;
}

.rk-services__item.is-open .rk-services__chev {
    transform: rotate(-135deg);
    margin-top: 0.15rem;
}

.rk-services__panel {
    padding: 0.15rem 0 1.5rem 2.85rem;
}

.rk-services__panel-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    margin: 0 0 1.15rem;
    max-width: 52ch;
}

.rk-services__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.rk-services__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: var(--rk-cream);
    color: var(--rk-ink);
    border-radius: 3px;
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.rk-services__chip:hover {
    background: var(--rk-orange);
    color: #fff;
}

@media (max-width: 900px) {
    .rk-services__scroll-wrap {
        height: auto !important;
    }

    .rk-services__sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .rk-services__sticky-inner {
        grid-template-columns: 1fr;
        height: auto;
        padding-block: clamp(2.5rem, 7vw, 4rem);
    }

    .rk-services__intro {
        position: static;
        max-width: none;
    }

    .rk-services__panel-col {
        height: auto !important;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .rk-services.has-open-service .rk-services__panel-col {
        overflow: visible;
    }

    .rk-services__track {
        transform: none !important;
    }

    .rk-services__panel {
        padding-left: 0;
    }
}

@media (max-width: 620px) {
    .rk-services__trigger {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.85rem;
        min-height: 3.75rem;
        padding: 1.15rem 0;
    }
}

/* ==========================================================================
   Expertise — four-column services grid
   ========================================================================== */

.rk-services.is-services-engage + .rk-expertise {
    position: relative;
    z-index: 1;
}

.rk-expertise {
    background: var(--rk-cream);
    color: var(--rk-ink);
    border-top: 1px solid var(--rk-line);
    position: relative;
    z-index: 2;
}

.rk-expertise__scroll-wrap {
    position: relative;
}

.rk-expertise__sticky {
    position: sticky;
    top: var(--rk-expertise-header-offset, 0px);
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    background: var(--rk-cream);
}

.rk-expertise.is-expertise-engage {
    z-index: 3;
}

.rk-expertise.is-expertise-engage .rk-expertise__sticky {
    box-shadow: 0 24px 48px -32px rgba(19, 19, 19, 0.18);
}

.rk-expertise.is-expertise-ready .rk-expertise__col-inner {
    --rk-expertise-card-p: 0;
    opacity: var(--rk-expertise-card-p);
    transform: translate3d(
        0,
        calc(
            (1 - var(--rk-expertise-card-p)) *
            (var(--rk-expertise-slide, 5rem) + var(--rk-expertise-col-lift, 0px))
        ),
        0
    );
    will-change: transform, opacity;
}

.rk-expertise.is-expertise-static .rk-expertise__col-inner,
.rk-expertise:not(.is-expertise-ready) .rk-expertise__col-inner {
    opacity: 1;
    transform: none;
}

.rk-expertise.is-expertise-ready .rk-expertise__foot {
    opacity: var(--rk-expertise-foot-p, 0);
    transform: translate3d(
        0,
        calc((1 - var(--rk-expertise-foot-p, 0)) * 1.25rem),
        0
    );
}

.rk-expertise.is-expertise-static .rk-expertise__foot,
.rk-expertise:not(.is-expertise-ready) .rk-expertise__foot {
    opacity: 1;
    transform: none;
}

.rk-expertise__header {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.rk-expertise__title {
    margin: 0;
    font-family: var(--rk-display);
    font-weight: 700;
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    letter-spacing: -0.03em;
    line-height: 1.04;
    text-wrap: balance;
}

.rk-expertise__title span {
    display: block;
}

.rk-expertise__title span:last-child {
    font-family: var(--rk-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.rk-expertise__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    overflow: hidden;
    border-top: 1px solid var(--rk-line);
    border-bottom: 1px solid var(--rk-line);
}

.rk-expertise__col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: clamp(20rem, 46vh, 30rem);
    padding: 0;
    overflow: hidden;
    border-left: 1px solid var(--rk-line);
}

.rk-expertise__col:first-child {
    border-left: none;
}

/* Extra travel during slide-in only — all columns share the same top when p = 1 */
.rk-expertise__col:nth-child(1) {
    --rk-expertise-col-lift: 0px;
}

.rk-expertise__col:nth-child(2) {
    --rk-expertise-col-lift: clamp(1.5rem, 3.5vw, 2.75rem);
}

.rk-expertise__col:nth-child(3) {
    --rk-expertise-col-lift: clamp(2.75rem, 6.5vw, 4.5rem);
}

.rk-expertise__col:nth-child(4) {
    --rk-expertise-col-lift: clamp(1.75rem, 4vw, 3rem);
}

.rk-expertise__col-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding:
        clamp(1.5rem, 2.5vw, 2rem)
        clamp(1.25rem, 3.5vw, 2.75rem)
        clamp(1.75rem, 3vw, 2.25rem);
}

.rk-expertise.is-expertise-done .rk-expertise__col {
    overflow: visible;
    min-height: 0;
}

.rk-expertise.is-expertise-done .rk-expertise__col-inner {
    opacity: 1;
    transform: none;
}

.rk-expertise.is-expertise-static .rk-expertise__col,
.rk-expertise:not(.is-expertise-ready) .rk-expertise__col {
    min-height: 0;
    overflow: visible;
}

.rk-expertise__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.35rem;
    border-radius: 50%;
    border: 1px solid var(--rk-orange);
    background: var(--rk-ivory);
    color: var(--rk-orange);
}

.rk-expertise__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.rk-expertise__col-title {
    margin: 0 0 0.85rem;
    font-family: var(--rk-display);
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.rk-expertise__col-text {
    margin: 0;
    font-family: var(--rk-body);
    font-size: clamp(0.88rem, 1.2vw, 0.92rem);
    line-height: 1.65;
    color: var(--rk-muted);
}

.rk-expertise__foot {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}

.rk-expertise__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    border: 1px solid var(--rk-ink);
    background: transparent;
    color: var(--rk-ink);
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.rk-expertise__cta:hover {
    background: var(--rk-orange);
    border-color: var(--rk-orange);
    color: var(--rk-ink);
    text-decoration: none;
}

@media (max-width: 980px) {
    .rk-expertise__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rk-expertise__col:nth-child(odd) {
        border-left: none;
    }

    .rk-expertise__col:nth-child(n + 3) {
        border-top: 1px solid var(--rk-line);
    }
}

@media (max-width: 560px) {
    .rk-expertise__grid {
        grid-template-columns: 1fr;
    }

    .rk-expertise__col {
        border-left: none;
        border-top: 1px solid var(--rk-line);
    }

    .rk-expertise__col:first-child {
        border-top: none;
    }
}

/* ==========================================================================
   Process (lavender)
   ========================================================================== */

.rk-process {
    background: var(--rk-lavender);
    color: var(--rk-ink);
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

.rk-process__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.rk-process__title {
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    margin: 0.75rem 0 2rem;
}

.rk-process__note strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.rk-process__note p {
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 32ch;
    margin: 0;
}

.rk-process__note a {
    color: var(--rk-ink);
    font-weight: 700;
}

.rk-step {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: start;
    border-top: 1px solid rgba(19, 19, 19, 0.35);
    padding: clamp(1.35rem, 3vw, 2.25rem) 0;
}

.rk-step:last-child {
    border-bottom: 1px solid rgba(19, 19, 19, 0.35);
}

.rk-step__num {
    font-family: var(--rk-mono);
    font-size: 0.7rem;
    padding-top: 0.7rem;
}

.rk-step h3 {
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.rk-step p {
    font-size: 0.83rem;
    line-height: 1.6;
    color: rgba(19, 19, 19, 0.72);
    margin: 0;
    max-width: 52ch;
}

@media (max-width: 900px) {
    .rk-process__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Why choose us
   ========================================================================== */

.rk-why {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.rk-why__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}

.rk-why__title {
    font-size: clamp(2.6rem, 7.2vw, 5.6rem);
    margin: 0.75rem 0 1.5rem;
}

.rk-why__blurb {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--rk-muted);
    max-width: 46ch;
    margin: 0 0 0 clamp(0rem, 6vw, 5rem);
}

.rk-why__blurb strong {
    color: var(--rk-ink);
}

.rk-why__points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.rk-why__point {
    border-top: 1px solid var(--rk-ink);
    padding-top: 1rem;
}

.rk-why__point-num {
    font-family: var(--rk-mono);
    font-size: 0.66rem;
    color: var(--rk-orange);
    margin: 0 0 3.5rem;
}

.rk-why__point h3 {
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.025em;
    margin: 0 0 0.6rem;
}

:where(.rk-why__point) p {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--rk-muted);
    margin: 0;
}

@media (max-width: 900px) {
    .rk-why__grid {
        grid-template-columns: 1fr;
    }

    .rk-why__blurb {
        margin-left: 0;
    }

    .rk-why__point-num {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 560px) {
    .rk-why__points {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Technology index (orange)
   ========================================================================== */

.rk-tech {
    position: relative;
    background: var(--rk-orange);
    color: var(--rk-ink);
    padding-block: clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
}

.rk-tech__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.rk-tech__title {
    font-size: clamp(2.4rem, 6.6vw, 5rem);
    margin: 0.75rem 0 0;
}

.rk-tech .rk-orbit__ring,
.rk-tech .rk-orbit__ellipse {
    border-color: rgba(19, 19, 19, 0.4);
}

.rk-tech .rk-orbit__core {
    background: var(--rk-cream);
    width: 22%;
}

.rk-tech__dot {
    position: absolute;
    width: 0.55rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--rk-lime);
}

.rk-tech__dot--a { left: 46%; top: 6%; }
.rk-tech__dot--b { left: 40%; bottom: 12%; }
.rk-tech__dot--c { right: 2%; top: 52%; background: var(--rk-ink); }

/* Cream panel: the brand marks stay full colour and actually read here, which
   they cannot do directly on the orange (Firebase / Laravel / CodeIgniter are
   almost exactly this orange). */
.rk-tech__panel {
    position: relative;
    margin-top: clamp(2.5rem, 6vw, 4rem);
    background: var(--rk-ivory);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(19, 19, 19, 0.16);
}

.rk-tech__cat {
    background: var(--rk-ivory);
    padding: clamp(1.25rem, 2.2vw, 1.9rem) clamp(1rem, 1.8vw, 1.5rem);
    box-shadow: 1px 0 0 rgba(19, 19, 19, 0.12);
}

.rk-tech__cat:last-child {
    box-shadow: none;
}

.rk-tech__cat-num {
    font-family: var(--rk-mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    color: var(--rk-orange);
    margin: 0 0 0.5rem;
}

.rk-tech__cat-name {
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: -0.02em;
    margin: 0 0 1.35rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(19, 19, 19, 0.16);
}

.rk-tech__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rk-tech__items li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--rk-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: rgba(19, 19, 19, 0.78);
    transition: color 0.2s ease, transform 0.2s ease;
}

.rk-tech__items li:hover {
    color: var(--rk-ink);
    transform: translateX(3px);
}

.rk-tech__icon {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .rk-tech__panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* hairlines come from the 1px grid gap once columns wrap */
    .rk-tech__cat {
        box-shadow: none;
    }
}

@media (max-width: 720px) {
    .rk-tech__panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .rk-tech__panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .rk-tech__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Testimonial wall (dark)
   ========================================================================== */

.rk-wall {
    background: var(--rk-ink);
    color: var(--rk-cream);
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

.rk-wall__title {
    font-size: clamp(2.8rem, 8.4vw, 6.5rem);
    color: var(--rk-orange);
    margin: 0.75rem 0 clamp(2rem, 5vw, 3.5rem);
}

.rk-wall__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.rk-wall__card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1.6rem 1.5rem 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rk-wall__card p {
    font-size: 0.85rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    flex: 1;
}

.rk-wall__card strong {
    display: block;
    color: var(--rk-orange);
    font-size: 0.9rem;
}

.rk-wall__card span {
    font-family: var(--rk-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .rk-wall__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .rk-wall__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.rk-faq {
    background: var(--rk-ivory);
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.rk-faq__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.rk-faq__title {
    font-size: clamp(2.6rem, 7vw, 5rem);
    margin: 0.75rem 0 0;
}

.rk-faq__item {
    border-top: 1px solid var(--rk-line);
}

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

.rk-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: none;
    border: 0;
    padding: 1.25rem 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: clamp(0.95rem, 1.6vw, 1.12rem);
    letter-spacing: -0.015em;
    color: var(--rk-ink);
}

.rk-faq__q:hover {
    color: var(--rk-orange);
}

.rk-faq__chev {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rk-faq__item.is-open .rk-faq__chev {
    transform: rotate(180deg);
}

.rk-faq__a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-faq__item.is-open .rk-faq__a {
    grid-template-rows: 1fr;
}

.rk-faq__a > div {
    overflow: hidden;
}

.rk-faq__a p {
    font-size: 0.85rem;
    line-height: 1.68;
    color: var(--rk-muted);
    margin: 0 0 1.35rem;
    max-width: 62ch;
}

@media (max-width: 900px) {
    .rk-faq__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Blog
   ========================================================================== */

.rk-blog {
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.rk-blog__head {
    display: grid;
    grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.2fr) minmax(0, 0.6fr);
    gap: 1.5rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.rk-blog__title {
    font-size: clamp(2.8rem, 7.6vw, 6rem);
    margin: 0;
}

.rk-blog__head .rk-eyebrow:last-child {
    text-align: right;
}

.rk-blog__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.rk-post {
    display: flex;
    gap: 1.25rem;
    border: 1px solid var(--rk-line);
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.28);
}

.rk-post__swatch {
    flex-shrink: 0;
    width: 4.4rem;
    height: 4.4rem;
    background: var(--rk-swatch, var(--rk-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--rk-ink);
    text-decoration: none;
}

.rk-post__body {
    min-width: 0;
}

.rk-post h3 {
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0 0 0.4rem;
}

.rk-post h3 a {
    color: var(--rk-ink);
    text-decoration: none;
}

.rk-post h3 a:hover {
    color: var(--rk-orange);
}

.rk-post__date {
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    color: var(--rk-muted);
    margin: 0 0 0.6rem;
}

.rk-post__excerpt {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--rk-muted);
    margin: 0 0 0.9rem;
}

@media (max-width: 900px) {
    .rk-blog__head {
        grid-template-columns: 1fr;
    }

    .rk-blog__head .rk-eyebrow:last-child {
        text-align: left;
    }

    .rk-blog__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Contact
   ========================================================================== */

.rk-contact {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
}

/* ---- Curtain reveal (blog -> contact) ----
   rk-reveal-wrap reserves one viewport of scroll distance in normal flow;
   rk-reveal-panel sits fixed behind it and is clipped from the top by
   rork-home.js, so the panel's visible edge tracks the wrap's own top edge
   as it scrolls — the contact section rises up over the blog section
   instead of just appearing underneath it. */
.rk-reveal-wrap {
    position: relative;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.rk-reveal-panel {
    position: fixed;
    inset: auto 0 0 0;
    height: 100vh;
    z-index: 1;
    background: var(--rk-lavender);
    clip-path: inset(100% 0 0 0);
    visibility: hidden;
    will-change: clip-path;
    padding-block: 0;
    display: flex;
    align-items: center;
    /* overflow-x hidden matches the original .rk-contact rule (it clips the
       decorative orbit ring/badge that's deliberately positioned outside its
       own bounds) — overflow: auto here let that decoration poke past the
       fixed panel's edge and produce a page-wide horizontal scrollbar.
       overflow-y stays auto so taller viewports can still scroll the form
       into view. */
    overflow-x: hidden;
    overflow-y: auto;
    /* .rk-reveal-wrap (the parent) sets pointer-events: none so the invisible
       spacer never blocks clicks while the panel is still clipped away —
       reset it here so the form inside stays clickable once revealed. */
    pointer-events: auto;
}

/* Once the panel has fully uncovered (rk-reveal-wrap's top edge has
   scrolled up to the viewport top), rork-home.js swaps it from `fixed` to
   this — absolutely positioned within rk-reveal-wrap instead of pinned to
   the viewport. Visually identical (the wrap is exactly one viewport tall,
   so this lands in the same spot), but it now scrolls away normally with
   the rest of the page. Without this hand-off the panel stays fixed behind
   everything for the rest of the document, and on any viewport taller than
   the footer, the fixed panel's cream background shows through as blank
   space below the footer instead of the footer just ending the page. */
.rk-reveal-panel.rk-reveal-released {
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    clip-path: none;
    visibility: visible;
}

/* Reduced motion / no-JS fallback: render the panel as a normal in-flow
   section, no clipping, no fixed positioning. */
.rk-reveal-panel.rk-reveal-static {
    position: relative;
    inset: auto;
    height: auto;
    clip-path: none;
    visibility: visible;
    padding-block: clamp(3.5rem, 8vw, 6rem);
    overflow: hidden;
}

@media (max-width: 900px) {
    .rk-reveal-wrap {
        height: auto;
    }

    .rk-reveal-panel {
        position: relative;
        inset: auto;
        height: auto;
        clip-path: none;
        visibility: visible;
        padding-block: clamp(3.5rem, 8vw, 6rem);
        overflow: hidden;
    }
}

.rk-contact__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.rk-contact__title {
    font-size: clamp(2.8rem, 8vw, 6rem);
    margin: 0.75rem 0 2rem;
}

.rk-contact__title em {
    font-style: normal;
    color: var(--rk-orange);
}

.rk-contact__estimate {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    font-family: var(--rk-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--rk-ink);
    text-decoration: none;
}

.rk-contact__estimate:hover {
    color: var(--rk-orange);
}

.rk-contact__meta {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    margin-top: clamp(3rem, 8vw, 6rem);
    max-width: 34rem;
}

.rk-contact__meta p {
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-muted);
    line-height: 1.7;
    margin: 0;
}

.rk-contact__form-wrap {
    position: relative;
}

.rk-contact__deco {
    position: absolute;
    inset: -18% -12% auto auto;
    width: 26rem;
    aspect-ratio: 1;
    pointer-events: none;
    /* no z-index here on purpose — it would trap the badge in this stacking
       context and keep it stuck behind the form panel */
}

.rk-contact__deco .rk-orbit__ring {
    border-color: rgba(19, 19, 19, 0.2);
}

/* sits on top of the form panel, overlapping its corner */
.rk-contact__badge {
    position: absolute;
    top: -2.4rem;
    left: -2.4rem;
    z-index: 2;
    width: clamp(5.5rem, 9vw, 7rem);
    aspect-ratio: 1;
    background: var(--rk-lime);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.05;
    pointer-events: none;
}

.rk-contact__badge b {
    font-family: var(--rk-serif);
    font-style: normal;
    font-weight: 500;
    font-size: 0.95rem;
}

.rk-contact__badge i {
    font-family: var(--rk-serif);
    font-style: italic;
    color: var(--rk-orange);
    font-size: 0.95rem;
}

/* opaque backdrop so the orbit rings stop running through the fields */
.rk-contact__form {
    position: relative;
    z-index: 1;
    background: var(--rk-ivory);
    border: 1px solid rgba(19, 19, 19, 0.14);
    box-shadow: 0 1.5rem 3rem -1.5rem rgba(19, 19, 19, 0.18);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rk-contact__form-title {
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rk-muted);
    text-align: right;
    margin: 0;
}

.rk-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(19, 19, 19, 0.35);
    padding-bottom: 0.4rem;
}

.rk-field label {
    font-family: var(--rk-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rk-muted);
}

.rk-field input,
.rk-field textarea {
    border: 0;
    background: transparent;
    font-family: var(--rk-body);
    font-size: 0.95rem;
    color: var(--rk-ink);
    padding: 0.2rem 0;
    resize: vertical;
}

.rk-field input:focus,
.rk-field textarea:focus {
    outline: none;
}

.rk-field:focus-within {
    border-bottom-color: var(--rk-orange);
}

.rk-contact__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    background: none;
    border: 0;
    border-bottom: 1.5px solid var(--rk-ink);
    padding: 0 0 0.6rem;
    font-family: var(--rk-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--rk-ink);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.rk-contact__submit:hover {
    color: var(--rk-orange);
    border-bottom-color: var(--rk-orange);
}

.rk-contact__status {
    font-size: 0.8rem;
    margin: 0;
    color: var(--rk-muted);
}

@media (max-width: 900px) {
    .rk-contact__grid {
        grid-template-columns: 1fr;
    }

    .rk-contact__deco,
    .rk-contact__badge {
        display: none;
    }

    .rk-contact__meta {
        grid-template-columns: 1fr;
        margin-top: 2.5rem;
    }

    .rk-contact__form-title {
        text-align: left;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.rk-footer {
    position: relative;
    z-index: 2;
    background: var(--rk-ink);
    color: var(--rk-cream);
    /* Height stays purely intrinsic to .rk-footer__content, the only
       in-flow child — .rk-footer__mark below is decorative and absolutely
       positioned, so it can never push the footer taller or shorter than
       its content needs (that coupling is what caused the earlier bugs). */
    overflow: hidden;
}

/* Purely decorative watermark, centred behind the real content. Sized off
   the footer's own box (inset: 0) rather than any formula tied to content
   height, so it can't drift out of sync the way the old scroll-stretched
   version did. */
.rk-footer__mark {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.rk-footer__mark span {
    font-family: var(--rk-display);
    font-weight: 800;
    text-transform: uppercase;
    /* Resting/no-JS fallback only — rork-home.js measures the rendered
       word and sets an exact px font-size so it always spans edge to edge
       at any viewport width, then applies the scaleY stretch below. This
       clamp is just a reasonable approximation for that fallback case. */
    font-size: clamp(2.8rem, 17.5vw, 17rem);
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--rk-orange);
    opacity: 0.16;
    transform-origin: 50% 50%;
    will-change: transform;
}

.rk-footer__content {
    position: relative;
    z-index: 1;
    padding-top: clamp(1.75rem, 4vw, 2.75rem);
    padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.rk-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rk-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--rk-mono);
    font-size: 0.85rem;
    color: var(--rk-cream);
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.rk-footer__brand .rk-brand__mark::after {
    background: var(--rk-ink);
}

.rk-footer__tag {
    font-size: 0.88rem;
    margin: 0 0 0.75rem;
    /* Explicit instead of relying on inheritance from .rk-footer: a page
       that also loads a global `p { color }` base style (e.g. main.css)
       would otherwise beat the inherited value regardless of the parent
       rule's specificity. Baking the color in here makes this component
       correct no matter what else a hosting page loads alongside it. */
    color: var(--rk-cream);
}

.rk-footer__desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 24ch;
    margin: 0;
}

.rk-footer__col h3 {
    font-family: var(--rk-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rk-orange);
    margin: 0 0 1.1rem;
    font-weight: 400;
}

.rk-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rk-footer__col a {
    font-family: var(--rk-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.rk-footer__col a:hover {
    color: var(--rk-orange);
}

.rk-footer__addr {
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.1rem;
}

.rk-footer__addr b {
    display: block;
    color: var(--rk-cream);
    font-weight: 700;
}

.rk-footer__addr a {
    color: inherit;
    text-decoration: none;
}

.rk-footer__addr a:hover {
    color: var(--rk-orange);
}

.rk-footer__legal {
    font-family: var(--rk-mono);
    font-size: 0.68rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.rk-footer__legal p {
    /* Explicit for the same reason as .rk-footer__tag above — otherwise a
       page-level `p { color; font-size }` base style can beat what this
       <p> would've inherited from .rk-footer__legal. */
    color: inherit;
    font-size: inherit;
}

.rk-footer__legal a {
    color: inherit;
    text-decoration: none;
}

.rk-footer__legal a:hover {
    color: var(--rk-orange);
}

.rk-footer__legal span {
    color: var(--rk-orange);
}

.rk-footer__bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: clamp(1.25rem, 3vw, 1.75rem);
    font-family: var(--rk-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.6);
}

.rk-footer__bottom p {
    margin: 0;
    /* Same page-level `p { color; font-size }` conflict guard as above. */
    color: inherit;
    font-size: inherit;
}

.rk-footer__bottom a {
    color: inherit;
    text-decoration: none;
}

.rk-footer__bottom a:hover {
    color: var(--rk-orange);
}

@media (max-width: 900px) {
    .rk-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .rk-footer__legal {
        grid-column: 1 / -1;
        align-items: flex-start;
        text-align: left;
    }

    .rk-footer__bottom {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Product Forge
   ========================================================================== */

.rk-forge {
    --pf-lime: #c6e635;
    --pf-orange: #ff3a14;
    --pf-lilac: #d7c6f6;
    background: #110c09;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.rk-forge__window {
    border: 1px solid #111;
    background: #0c0c0c;
    color: #fff;
}

.rk-forge__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 46px;
    padding: 0.55rem 1.15rem;
    background: #f6f3ec;
    color: #161616;
    border-bottom: 1px solid #111;
}

.rk-forge__bar p {
    margin: 0;
    font-family: var(--rk-display);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.rk-forge__lights {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    flex-shrink: 0;
}

.rk-forge__lights i {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    display: block;
}

.rk-forge__lights i:nth-child(1) { background: var(--pf-lilac); }
.rk-forge__lights i:nth-child(2) { background: #d4ee40; }
.rk-forge__lights i:nth-child(3) { background: #f53606; }

.rk-forge__body {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    min-height: 560px;
}

.rk-forge__pitch {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.65rem 1.7rem 1.45rem;
    background:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        #0c0c0c;
    background-size: 26px 26px, 26px 26px, auto;
    border-right: 1px solid #1a1a1a;
}

.rk-forge__kicker {
    margin: 0 0 1.35rem;
    font-family: var(--rk-display);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f3f1ec;
}

.rk-forge__kicker em {
    font-style: normal;
    color: var(--pf-lime);
}

.rk-forge__title {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: var(--rk-display);
    font-weight: 800;
    font-size: clamp(4rem, 5.8vw, 6.15rem);
    line-height: 0.78;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: #fff;
}

.rk-forge__zero {
    color: var(--pf-orange);
}

.rk-forge__to {
    display: flex;
    align-items: baseline;
    gap: 0.12em;
    white-space: nowrap;
}

.rk-forge__to em {
    display: inline-block;
    font-family: var(--rk-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 0.7em;
    letter-spacing: -0.03em;
    line-height: 0.8;
    text-transform: none;
    background: linear-gradient(180deg, #f7f2ff 0%, #c9b0f2 48%, #8d68d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rk-forge__lead {
    max-width: 28ch;
    margin: 1.7rem 0 0;
    font-family: var(--rk-body);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: #8d8d8d;
}

.rk-forge__meter {
    margin-top: auto;
    padding: 0.95rem 1rem 0.85rem;
    border: 1px solid var(--pf-lime);
}

.rk-forge__meter-label {
    margin: 0;
    font-family: var(--rk-display);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.rk-forge__meter-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.35rem;
}

.rk-forge__meter-row p {
    margin: 0;
    font-family: var(--rk-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.15rem;
    color: #fff;
}

.rk-forge__meter-row strong {
    font-family: var(--rk-display);
    font-size: 1.85rem;
    font-weight: 750;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: var(--pf-lime);
}

.rk-forge__meter-track {
    display: block;
    height: 5px;
    margin-top: 0.7rem;
    background: #3a3a3a;
    border-radius: 99px;
    overflow: hidden;
}

.rk-forge__meter-track span {
    display: block;
    height: 100%;
    background: var(--pf-lime);
    border-radius: inherit;
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.rk-forge__stages {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #0a0a0a;
}

.rk-forge__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex: 1;
    padding: 1.35rem 1.5rem 1.35rem 1.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rk-forge__stage--open {
    align-items: flex-start;
    flex: 1.2;
    border-bottom-color: #111;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rk-forge__stage--open:hover {
    background: var(--pf-lilac);
    color: #141414;
}

.rk-forge__stage--engine {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rk-forge__stage--engine:hover {
    background: #d4ee40;
    color: #141414;
}

.rk-forge__stage--polish {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.rk-forge__stage--polish:hover {
    background: #f53606;
    color: #fff;
}

.rk-forge__stage--last {
    flex: 1.45;
    border-bottom: 0;
}

.rk-forge__stage:not(.rk-forge__stage--open) {
    align-items: flex-start;
    padding-top: 2.35rem;
}

.rk-forge__stage h3 {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    font-family: var(--rk-display);
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.rk-forge__stage h3 span {
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0;
    color: #7a7a7a;
}

.rk-forge__stage--open:hover h3 span,
.rk-forge__stage--engine:hover h3 span {
    color: #6d6578;
}

.rk-forge__stage--polish:hover h3 span {
    color: #fff;
}

.rk-forge__stage-copy {
    max-width: 34rem;
    padding-right: 4.5rem;
}

.rk-forge__stage-copy p {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    max-width: 36ch;
    font-family: var(--rk-body);
    font-size: 0.95rem;
    font-weight: 450;
    line-height: 1.45;
    color: #3c3648;
    transition: grid-template-rows 0.01s linear, margin-top 0.01s linear;
}

.rk-forge__stage-copy p span {
    display: block;
    overflow: hidden;
    min-height: 0;
}

.rk-forge__stage--polish:hover .rk-forge__stage-copy p {
    color: #fff;
}

.rk-forge__stage--open:hover .rk-forge__stage-copy p,
.rk-forge__stage--engine:hover .rk-forge__stage-copy p,
.rk-forge__stage--polish:hover .rk-forge__stage-copy p {
    grid-template-rows: 1fr;
    margin-top: 1.45rem;
}

.rk-forge__stage--open:hover .rk-forge__stage-copy p em,
.rk-forge__stage--engine:hover .rk-forge__stage-copy p em,
.rk-forge__stage--polish:hover .rk-forge__stage-copy p em {
    animation: rk-forge-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rk-forge-rise {
    from {
        opacity: 0;
        transform: translateY(130%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rk-forge__stage--open:hover .rk-forge__stage-copy p em,
    .rk-forge__stage--engine:hover .rk-forge__stage-copy p em,
    .rk-forge__stage--polish:hover .rk-forge__stage-copy p em {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .rk-forge__stage::after {
        transition: none;
    }
}

.rk-forge__stage::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 30px;
    height: 30px;
    border: 1px solid #2a2623;
    border-top: 0;
    border-right: 0;
    pointer-events: none;
    transition: width 0.35s ease, height 0.35s ease;
}

.rk-forge__stage--open:hover::after,
.rk-forge__stage--engine:hover::after,
.rk-forge__stage--polish:hover::after {
    width: 88px;
    height: 88px;
}

.rk-forge__jump {
    position: absolute;
    top: 2.05rem;
    right: 2.15rem;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
}

.rk-forge__stage--open:hover .rk-forge__jump,
.rk-forge__stage--engine:hover .rk-forge__jump,
.rk-forge__stage--polish:hover .rk-forge__jump {
    border-color: #141414;
    color: #141414;
}

.rk-forge__ticker {
    overflow: hidden;
    background: #f7f5f0;
    color: #141414;
    border-top: 1px solid #111;
}

.rk-forge__ticker-track {
    display: flex;
    width: max-content;
    animation: rk-marquee 28s linear infinite;
}

.rk-forge__ticker-track p {
    margin: 0;
    flex-shrink: 0;
    padding: 0.55rem 0;
    font-family: var(--rk-display);
    font-size: 0.68rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rk-forge__ticker-track span {
    padding: 0 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
    .rk-forge__ticker-track {
        animation: none;
    }
}

@media (max-width: 980px) {
    .rk-forge__body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .rk-forge__pitch {
        border-right: 0;
        border-bottom: 1px solid #1a1a1a;
        min-height: 520px;
    }

    .rk-forge__stage--open,
    .rk-forge__stage--last,
    .rk-forge__stage {
        flex: none;
        min-height: 132px;
    }
}

@media (max-width: 640px) {
    .rk-forge__title {
        font-size: clamp(3.2rem, 16vw, 4.4rem);
    }

    .rk-forge__stage-copy {
        padding-right: 3.2rem;
    }
}

@media (max-width: 560px) {
    .rk-footer__top {
        grid-template-columns: 1fr;
    }
}

/* ---------- scroll reveal ----------
   Gated on .rk-js, which the inline head script sets. If scripting is off, the
   script 404s, or the observer never fires, the content simply stays visible
   rather than being stuck at opacity 0. */
@media (prefers-reduced-motion: no-preference) {
    .rk-js .rk [data-rk-reveal] {
        opacity: 0;
        transform: translateY(1.5rem);
        transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .rk-js .rk [data-rk-reveal].is-in {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Node Banner v2 embed (Corewave Node Banner v2.html)
   ========================================================================== */

.rk-cw-node {
    background: #eae7e1;
    margin: 0;
    padding: 0;
}

.rk-cw-node__frame {
    display: block;
    width: 100%;
    min-height: clamp(520px, 62vh, 1180px);
    border: 0;
    background: #eae7e1;
}

@media (max-width: 900px) {
    .rk-cw-node__frame {
        /* Let embed JS set exact height — avoid empty beige gap below the canvas */
        min-height: 0;
    }
}
