html {
    background: var(--jj-bg);
    scroll-behavior: smooth;
    scrollbar-color: var(--jj-muted) var(--jj-bg);
    caret-color: var(--jj-ink);
}

body {
    background: var(--jj-bg);
}

::selection {
    background: var(--jj-ink);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--jj-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--jj-muted);
    border: 2px solid var(--jj-bg);
    border-radius: 999px;
}

.jj {
    background: var(--jj-bg);
    color: var(--jj-ink);
    font-family: "Vazirmatn", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.jj h1,
.jj h2,
.jj h3,
.jj p,
.jj figure {
    margin: 0;
}

.jj img {
    display: block;
    max-width: 100%;
    height: auto;
}

.jj p {
    text-wrap: pretty;
}

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

.jj-skip {
    position: fixed;
    top: var(--jj-s8);
    inset-inline-start: var(--jj-s24);
    z-index: 100;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--jj-s24);
    border-radius: var(--jj-radius-control);
    background: var(--jj-ink);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(calc(-100% - var(--jj-s24)));
}

.jj-skip:focus {
    transform: none;
}

.jj-h1 {
    max-width: 18ch;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.jj-h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.jj-h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.jj-lede {
    max-width: 46ch;
    color: var(--jj-muted);
}

.jj-head {
    display: grid;
    gap: var(--jj-s24);
    padding-bottom: var(--jj-s24);
}

.jj-head .jj-lede {
    max-width: 44ch;
}

.jj-section {
    padding-top: var(--jj-s64);
}

.jj-section[id],
.jj-cta[id] {
    scroll-margin-top: calc(var(--jj-nav-height) + 16px);
}

.jj-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--jj-s8);
    min-height: 52px;
    padding: 0 var(--jj-s24);
    border: 1px solid var(--jj-ink);
    border-radius: var(--jj-radius-control);
    background: var(--jj-ink);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.jj-button:hover {
    background: var(--jj-charcoal);
    border-color: var(--jj-charcoal);
    color: #ffffff;
}

.jj-button:active {
    background: var(--jj-black);
    border-color: var(--jj-black);
}

.jj-arrow {
    flex: none;
    transition: transform 0.25s var(--jj-ease);
}

.jj-button:hover .jj-arrow,
.jj-field-card:hover .jj-field-card__link .jj-arrow {
    transform: translateX(2px);
}

.jj-quiet-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--jj-s24);
    font-size: 14px;
    line-height: 1.4;
}

.jj-quiet-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--jj-muted);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.jj-quiet-links a:hover {
    color: var(--jj-ink);
}

.jj-icon {
    flex: none;
    color: var(--jj-charcoal);
}

.jj-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--jj-surface);
    border-bottom: 1px solid var(--jj-line);
}

.jj-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--jj-s24);
    min-height: var(--jj-nav-height);
}

.jj-nav__brand {
    display: flex;
    align-items: center;
    gap: var(--jj-s24);
    min-width: 0;
}

.jj-wordmark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--jj-ink);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.jj-nav__descriptor {
    display: none;
    padding-inline-start: var(--jj-s24);
    border-inline-start: 1px solid var(--jj-line);
    color: var(--jj-muted);
    font-size: 14px;
    line-height: 1.4;
}

.jj-nav__links {
    display: none;
    align-items: center;
    gap: var(--jj-s24);
}

.jj-nav__links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--jj-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jj-nav__links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 8px;
    height: 1px;
    background: var(--jj-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--jj-ease);
}

.jj-nav__links a:hover {
    color: var(--jj-ink);
}

.jj-nav__links a:hover::after {
    transform: scaleX(1);
}

.jj-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--jj-s8);
    min-height: 44px;
    min-width: 44px;
    margin-inline-end: calc(var(--jj-s8) * -1);
    padding: 0 var(--jj-s8);
    border: 0;
    border-radius: var(--jj-radius-control);
    background: none;
    color: var(--jj-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.jj-menu-toggle__icon {
    position: relative;
    display: block;
    width: 16px;
    height: 8px;
}

.jj-menu-toggle__icon::before,
.jj-menu-toggle__icon::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    height: 1.5px;
    background: currentColor;
}

.jj-menu-toggle__icon::before {
    top: 0;
}

.jj-menu-toggle__icon::after {
    bottom: 0;
}

.jj-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--jj-surface);
    color: var(--jj-ink);
    font-family: "Vazirmatn", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.jj-menu::backdrop {
    background: var(--jj-bg);
}

.jj-menu[open] {
    display: flex;
    flex-direction: column;
    animation: jj-menu-in 0.32s var(--jj-ease);
}

.jj-menu:focus {
    outline: none;
}

.jj-menu__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--jj-s24);
    min-height: var(--jj-nav-height);
    padding-inline: var(--jj-s24);
    border-bottom: 1px solid var(--jj-line);
}

.jj-menu__close {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--jj-s24);
    border: 1px solid var(--jj-line);
    border-radius: var(--jj-radius-control);
    background: none;
    color: var(--jj-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.jj-menu__close:hover {
    border-color: var(--jj-muted);
}

.jj-menu__nav {
    display: flex;
    flex-direction: column;
    padding: var(--jj-s24);
}

.jj-menu__nav a {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding-block: var(--jj-s24);
    border-bottom: 1px solid var(--jj-line);
    color: var(--jj-ink);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.jj-menu__nav a:first-child {
    border-top: 1px solid var(--jj-line);
}

.jj-menu__foot {
    margin-top: auto;
    padding: var(--jj-s24);
    border-top: 1px solid var(--jj-line);
}

.jj-menu__foot > p {
    margin-bottom: var(--jj-s8);
    color: var(--jj-muted);
    font-size: 14px;
}

html.jj-menu-open,
html.jj-menu-open body {
    overflow: hidden;
}

@keyframes jj-menu-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}

.jj-hero {
    padding-top: var(--jj-s24);
}

.jj-hero__grid {
    display: grid;
    gap: var(--jj-s24);
}

.jj-hero__lede {
    max-width: 52ch;
    margin-top: var(--jj-s24);
    color: var(--jj-muted);
}

.jj-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--jj-s8) var(--jj-s24);
    margin-top: var(--jj-s24);
}

.jj-hero__media {
    margin-inline: calc(var(--jj-s24) * -1);
}

.jj-hero__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.jj-fields {
    display: grid;
    gap: var(--jj-s24);
}

.jj-field-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--jj-s8);
    border: 1px solid var(--jj-line);
    border-radius: var(--jj-radius-card);
    background: var(--jj-surface);
    color: var(--jj-ink);
    transition: border-color 0.2s ease;
}

.jj-field-card__media {
    overflow: hidden;
    border-radius: var(--jj-radius-control);
    background: var(--jj-bg);
}

.jj-field-card__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.6s var(--jj-ease);
}

/* Only a card that actually has a destination answers. The frame and the photograph
   respond to the title link's state, never to the card's own hover. */
.jj-field-card:has(.jj-field-card__title-link):hover,
.jj-field-card:has(.jj-field-card__title-link:focus-visible) {
    border-color: var(--jj-ink);
}

.jj-field-card:has(.jj-field-card__title-link):hover .jj-field-card__media img,
.jj-field-card:has(.jj-field-card__title-link:focus-visible) .jj-field-card__media img {
    transform: scale(1.015);
}

/* Kept for the field page's capability ledger, which reads the kind label from here. */
.jj-field-card__kind {
    display: flex;
    align-items: center;
    gap: var(--jj-s8);
    color: var(--jj-muted);
    font-size: 14px;
    line-height: 1.4;
}

.jj-field-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--jj-s24) 16px 16px;
}

.jj-field-card__title-link {
    color: inherit;
    text-decoration: none;
}

/* The stretched target: the whole card opens the field, one tab stop, one short name. */
.jj-field-card__title-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.jj-field-card__role {
    margin-top: var(--jj-s8);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.jj-field-card__copy {
    margin-top: var(--jj-s8);
    color: var(--jj-muted);
}

.jj-field-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--jj-s8);
    min-height: 44px;
    margin-top: var(--jj-s24);
    color: var(--jj-ink);
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--jj-line);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s ease;
}

.jj-field-card:hover .jj-field-card__link {
    text-decoration-color: currentColor;
}

.jj-field-card__state {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-top: var(--jj-s24);
}

.jj-approach {
    padding: var(--jj-s24);
    border: 1px solid var(--jj-line);
    border-radius: var(--jj-radius-card);
    background: var(--jj-surface);
}

.jj-approach__item {
    padding-block: var(--jj-s24);
}

.jj-approach__item:first-child {
    padding-top: var(--jj-s8);
}

.jj-approach__item:last-child {
    padding-bottom: var(--jj-s8);
}

.jj-approach__item + .jj-approach__item {
    border-top: 1px solid var(--jj-line);
}

.jj-approach__item .jj-h3 {
    margin-top: var(--jj-s24);
}

.jj-approach__item p {
    max-width: 40ch;
    margin-top: var(--jj-s8);
    color: var(--jj-muted);
}

.jj-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jj-step {
    padding-block: var(--jj-s24);
    border-top: 1px solid var(--jj-line);
}

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

.jj-step__index {
    display: block;
    margin-bottom: var(--jj-s8);
    color: var(--jj-muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.jj-step p {
    max-width: 42ch;
    margin-top: var(--jj-s8);
    color: var(--jj-muted);
}

.jj-library {
    display: grid;
    gap: var(--jj-s64) var(--jj-s24);
}

.jj-entry {
    display: flex;
    flex-direction: column;
    color: var(--jj-ink);
    text-decoration: none;
}

.jj-entry:focus-visible {
    outline: 2px solid var(--jj-ink);
    outline-offset: 3px;
}

.jj-entry__media {
    overflow: hidden;
    border-radius: var(--jj-radius-control);
    background: var(--jj-surface);
}

.jj-entry__media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.6s var(--jj-ease);
}

.jj-entry:hover .jj-entry__media img,
.jj-entry:focus-visible .jj-entry__media img {
    transform: scale(1.015);
}

.jj-entry__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--jj-s24);
    margin-top: var(--jj-s24);
    color: var(--jj-muted);
    font-size: 14px;
    line-height: 1.4;
}

.jj-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid var(--jj-line);
    border-radius: 999px;
    background: var(--jj-surface);
    color: var(--jj-muted);
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.jj-entry__title {
    max-width: 28ch;
    margin-top: var(--jj-s8);
}

.jj-entry__copy {
    margin-top: var(--jj-s8);
    color: var(--jj-muted);
}

.jj-expertise__copy .jj-h2 {
    max-width: 20ch;
}

.jj-expertise__copy p {
    max-width: 48ch;
    margin-top: var(--jj-s24);
    color: var(--jj-muted);
}

.jj-expertise__media {
    margin-top: var(--jj-s24);
}

.jj-expertise__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: var(--jj-radius-card);
    object-fit: cover;
}

.jj-expertise__media figcaption {
    margin-top: var(--jj-s8);
    color: var(--jj-muted);
    font-size: 14px;
    line-height: 1.4;
}

.jj-faq {
    display: grid;
    gap: var(--jj-s24);
}

.jj-faq__list {
    interpolate-size: allow-keywords;
}

.jj-faq__intro .jj-lede {
    margin-top: var(--jj-s24);
}

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

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

.jj-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--jj-s24);
    min-height: 44px;
    padding-block: var(--jj-s24);
    list-style: none;
    cursor: pointer;
}

.jj-faq__item summary::-webkit-details-marker {
    display: none;
}

.jj-faq__q {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.jj-plus {
    position: relative;
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--jj-ink);
}

.jj-plus::before,
.jj-plus::after {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--jj-ease);
}

.jj-plus::after {
    transform: rotate(90deg);
}

.jj-faq__item[open] .jj-plus::after {
    transform: rotate(0deg);
}

.jj-faq__answer {
    padding: 0 var(--jj-s24) var(--jj-s24) 0;
}

.jj-faq__answer p {
    max-width: 60ch;
    color: var(--jj-muted);
}

.jj-faq__item::details-content {
    height: 0;
    overflow: hidden;
    transition:
        height 0.4s var(--jj-ease),
        content-visibility 0.4s allow-discrete;
}

.jj-faq__item[open]::details-content {
    height: auto;
}

.jj-cta {
    margin-top: var(--jj-s64);
    padding-block: var(--jj-s64);
    border-top: 1px solid var(--jj-line);
}

.jj-cta__grid {
    display: grid;
    gap: var(--jj-s24);
}

.jj-cta__copy p {
    max-width: 46ch;
    margin-top: var(--jj-s24);
    color: var(--jj-muted);
}

.jj-cta__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--jj-s8);
}

#approach {
    padding-bottom: var(--jj-s64);
}

#journey {
    padding-bottom: var(--jj-s64);
    background: var(--jj-black);
    color: var(--jj-on-dark);
}

#journey .jj-lede,
#journey .jj-step p {
    color: var(--jj-on-dark-muted);
}

#journey .jj-step__index {
    color: var(--jj-on-dark-dim);
}

#journey .jj-step {
    border-color: var(--jj-dark-line);
}

#journey :focus-visible {
    outline-color: var(--jj-on-dark);
}

.jj-approach {
    border-color: var(--jj-dark-line);
    background: var(--jj-dark-surface);
    color: var(--jj-on-dark);
}

.jj-approach .jj-icon {
    color: var(--jj-on-dark-soft);
}

.jj-approach .jj-approach__item + .jj-approach__item {
    border-color: var(--jj-dark-line);
}

.jj-approach__item p {
    color: var(--jj-on-dark-muted);
}

.jj-cta {
    border-top: 0;
}

.jj-cta__grid {
    width: calc(100% - var(--jj-s24) * 2);
    padding: var(--jj-s24);
    border: 1px solid var(--jj-dark-line);
    border-radius: var(--jj-radius-card);
    background: var(--jj-dark-surface);
    color: var(--jj-on-dark);
}

.jj-cta__copy p {
    color: var(--jj-on-dark-muted);
}

.jj-cta__grid .jj-button {
    border-color: var(--jj-on-dark);
    background: var(--jj-on-dark);
    color: var(--jj-black);
}

.jj-cta__grid .jj-button:hover {
    border-color: #e2e2e2;
    background: #e2e2e2;
    color: var(--jj-black);
}

.jj-cta__grid .jj-button:active {
    border-color: #cccccc;
    background: #cccccc;
}

.jj-cta__grid .jj-quiet-links a {
    color: var(--jj-on-dark-muted);
}

.jj-cta__grid .jj-quiet-links a:hover {
    color: var(--jj-on-dark);
}

.jj-cta__grid :focus-visible {
    outline-color: var(--jj-on-dark);
}

#journey *::selection,
.jj-approach *::selection,
.jj-cta__grid *::selection {
    background: var(--jj-on-dark);
    color: var(--jj-black);
}

.jj-js .jj-field-card.jj-reveal {
    opacity: 0;
    transform: translateY(12px);
}

.jj-js .jj-field-card.jj-reveal.is-in {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.6s var(--jj-ease),
        transform 0.6s var(--jj-ease);
    transition-delay: var(--jj-delay, 0ms);
}

@media (min-width: 640px) {
    .jj-hero__media {
        max-width: 520px;
        margin-inline: 0;
        overflow: hidden;
        border-radius: var(--jj-radius-card);
    }

    .jj-field-card {
        flex-direction: row;
        align-items: center;
    }

    .jj-field-card__media {
        flex: none;
        width: 200px;
    }

    .jj-field-card__body {
        padding: var(--jj-s24);
    }
}

@media (min-width: 960px) {
    .jj-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jj-field-card__media {
        width: 232px;
    }

    .jj-approach {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jj-approach__item {
        padding: var(--jj-s8) var(--jj-s24);
    }

    .jj-approach__item:first-child {
        padding-inline-start: 0;
    }

    .jj-approach__item:last-child {
        padding-inline-end: 0;
    }

    .jj-approach__item + .jj-approach__item {
        border-top: 0;
        border-inline-start: 1px solid var(--jj-line);
    }

    .jj-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 var(--jj-s24);
    }

    .jj-steps .jj-step:nth-child(2) {
        border-top: 1px solid var(--jj-line);
    }

    .jj-library {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--jj-s24);
    }
}

@media (min-width: 1024px) {
    .jj-container {
        padding-inline: var(--jj-s64);
    }

    .jj-nav__descriptor {
        display: block;
    }

    .jj-nav__links {
        display: flex;
    }

    .jj-menu-toggle {
        display: none;
    }

    .jj-section {
        padding-top: var(--jj-s120);
    }

    .jj-h1 {
        font-size: 44px;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    .jj-head {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: baseline;
        gap: var(--jj-s64);
        padding-bottom: var(--jj-s64);
    }

    .jj-head .jj-lede {
        justify-self: end;
        max-width: 42ch;
    }

    .jj-hero {
        padding-top: var(--jj-s64);
    }

    .jj-hero__grid {
        grid-template-columns: minmax(0, 1fr) 470px;
        gap: var(--jj-s64);
        align-items: center;
    }

    .jj-hero__copy {
        max-width: 560px;
    }

    .jj-hero__media {
        max-width: none;
    }

    .jj-hero__lede {
        max-width: 46ch;
    }

    .jj-hero__actions {
        margin-top: var(--jj-s24);
    }

    .jj-steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0 var(--jj-s24);
    }

    .jj-step {
        border-bottom: 0;
        padding-top: var(--jj-s24);
        padding-bottom: 0;
    }

    .jj-step:last-child {
        border-bottom: 0;
    }

    .jj-step__index {
        margin-bottom: var(--jj-s24);
    }

    .jj-expertise {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: var(--jj-s64);
        align-items: start;
    }

    .jj-expertise__media {
        margin-top: 0;
    }

    .jj-faq {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: var(--jj-s64);
        align-items: start;
    }

    .jj-faq__intro {
        position: sticky;
        top: calc(var(--jj-nav-height) + 32px);
    }

    .jj-cta {
        margin-top: var(--jj-s120);
        padding-block: var(--jj-s120);
    }

    .jj-cta__grid {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--jj-s64);
        align-items: center;
    }

    .jj-cta__copy .jj-h2 {
        max-width: 24ch;
    }

    .jj-cta__action {
        padding-inline-start: var(--jj-s64);
        border-inline-start: 1px solid var(--jj-line);
    }

    #approach {
        padding-bottom: var(--jj-s120);
    }

    #journey {
        padding-bottom: var(--jj-s120);
    }

    .jj-cta__grid {
        width: calc(100% - var(--jj-s64) * 2);
        max-width: calc(1328px - var(--jj-s64) * 2);
        padding: var(--jj-s64);
    }

    .jj-cta__action {
        border-inline-start-color: var(--jj-dark-line);
    }
}

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

    .jj *,
    .jj *::before,
    .jj *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Right-to-left storefronts. Logical properties already carry the spacing, borders and
   offsets; these are the few decorations that only exist on the physical axes — an arrow
   drawn pointing right, a hover nudge along X, and a transform origin, which CSS has no
   logical keyword for. The dir attribute comes from storefront/base.html. */
[dir="rtl"] .jj-nav__links a::after {
    transform-origin: right;
}

[dir="rtl"] .jj-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .jj-button:hover .jj-arrow,
[dir="rtl"] .jj-field-card:hover .jj-field-card__link .jj-arrow {
    transform: translateX(-2px) scaleX(-1);
}
