/* Page-scoped styles keep the shared navigation and footer intact. */
.page-friends, .page-friends #js-scroll-content { background: var(--bg-dark); }
.page-friends #footer > .container { transform: none !important; }
@media (min-width: 1000px) {
    .page-friends .header-logo { mix-blend-mode: normal; }
    .page-friends .header-logo__img { filter: invert(1); }
}
.card-title {
  white-space: pre-line;
}
.friends { font-family: 'Lato', sans-serif; color: #000; }
.friends *, .friends *::before, .friends *::after { box-sizing: border-box; }
.friends button, .friends a { font: inherit; }

.friends-hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 155px 24px 0;
    text-align: center;
}
.friends-eyebrow {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
    text-transform: uppercase;
    color: #6d6d6d;
    letter-spacing: 0;
}
.friends-hero h1 {
    margin: 20px auto 24px;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
    text-wrap: balance;
}
.friends-hero p {
    max-width: 630px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    color: #6d6d6d;
}
.friends-carousel {
    max-width: 1600px;
    margin: 30px auto 0;
    padding-top: 22px;
    overflow: hidden;
}
.friends-stage {
    position: relative;
    height: 510px;
    perspective: 1300px;
    touch-action: pan-y;
    isolation: isolate;
}
.friends-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 360px;
    max-width: calc(100% - 56px);
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: var(--bg-dark);
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .15);
    transform: translateX(-50%);
    transform-origin: center;
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s;
    -webkit-tap-highlight-color: transparent;
}
.friends-card::after { content: ""; position: absolute; z-index: 1; inset: 0; background: rgba(0, 0, 0, .2); opacity: 1; pointer-events: none; transition: opacity .3s ease; }
.friends-card[aria-current="true"]::after { opacity: 0; }
.friends-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}
.friends-card__shade {
    position: absolute;
    z-index: 2;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .68) 55%, rgba(0, 0, 0, .9));
    pointer-events: none;
}
.friends-card__copy { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 26px; }
.friends-card__label { display: block; font-size: 11px; font-weight: 700; line-height: 1.5; }
.friends-card__title {
    display: block;
    margin: 12px 0 20px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    text-wrap: balance;
}
.friends-card__discover { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.5; }
.friends-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 36px 0 18px; }
.friends .friends-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #b0b0b0;
    border-radius: 50%;
    background: transparent;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.friends .friends-control:hover { background: #000; color: #fff; }
.friends button:focus-visible, .friends a:focus-visible { outline: 2px solid #000; outline-offset: 5px; }
.friends-counter { min-width: 76px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; color: #6d6d6d; }
.friends-instructions { padding: 0 24px; margin: 0; color: #6d6d6d; text-align: center; font-size: 13px; line-height: 1.6; }
.friends-detail, .friends-models__inner { width: 80%; max-width: 1380px; margin: 0 auto; }
.friends-detail { padding: 58px 0 72px; scroll-margin-top: 125px; }
.friends-detail__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 64px;
    padding-top: 36px;
    border-top: 1px solid #ccc;
}
.friends-detail h2, .friends-models h2 {
    margin: 16px 0 0;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    text-wrap: balance;
}
.friends-detail__body p, .friends-model p { font-size: 18px; line-height: 1.7; color: #6d6d6d; margin: 0; }
.friends-price { font-size: 22px; line-height: 1.4; font-weight: 700; margin: 24px 0; }
.friends .friends-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 100%;
    min-height: 56px;
    border: 1px solid #b0b0b0;
    padding: 18px 24px;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.friends-cta i { flex-shrink: 0; }
.friends .friends-cta:hover { background: #000; color: #fff; }
.friends-models { padding: 72px 0; color: #fff; }
.friends-models__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 44px; }
.friends-models .friends-eyebrow, .friends-model p { color: #b0b0b0; }
.friends-models h2 { font-size: 32px; }
.friends-model { border-left: 1px solid #505355; padding-left: 28px; }
.friends-model h3 { font-size: 24px; line-height: 1.3; font-weight: 700; margin: 0 0 16px; }
.friends-model p { font-size: 17px; }

@media (max-width: 1199px) {
    .friends-hero h1 { font-size: 46px; }
    .friends-stage { height: 470px; }
    .friends-card { width: 330px; }
    .friends-detail__inner { gap: 40px; }
    .friends-models__inner { gap: 28px; }
}
@media (max-width: 999px) {
    .friends-hero { padding-top: 116px; }
    .friends-detail, .friends-models__inner { width: calc(100% - 48px); }
    .friends-models__inner { grid-template-columns: 1fr 1fr; }
    .friends-models__inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .friends-hero { padding: 108px 20px 0; }
    .friends-hero h1 { font-size: 32px; line-height: 1.14; margin: 16px 0 20px; }
    .friends-hero p { font-size: 16px; }
    .friends-carousel { margin-top: 20px; padding-top: 12px; }
    .friends-stage { height: 420px; }
    .friends-card { width: 280px; }
    .friends-card__copy { left: 20px; right: 20px; bottom: 22px; }
    .friends-card__title { font-size: 24px; margin: 10px 0 16px; }
    .friends-controls { margin-top: 28px; }
    .friends-instructions { font-size: 12px; }
    .friends-detail, .friends-models__inner { width: calc(100% - 40px); }
    .friends-detail { padding: 36px 0 44px; scroll-margin-top: 96px; }
    .friends-detail__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 28px; }
    .friends-detail h2, .friends-models h2 { font-size: 28px; }
    .friends-detail__body p { font-size: 17px; }
    .friends-price { font-size: 20px; margin: 20px 0; }
    .friends .friends-cta { width: 100%; padding: 16px 20px; }
    .friends-models { padding: 44px 0; }
    .friends-models__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .friends-model { padding: 24px 0 0; border-left: 0; border-top: 1px solid #505355; }
    .friends-model h3 { font-size: 22px; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .friends *, .friends *::before, .friends *::after { transition: none !important; }
}

@media (min-width: 1000px) {
    .friends-experience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; width: 80%; max-width: 1380px; margin: 30px auto 0; }
    .friends-carousel { position: relative; width: 100%; max-width: none; margin: 0; padding: 0; overflow: visible; }
    .friends-stage { height: clamp(620px, 76vh, 720px); overflow: hidden; perspective: 1300px; }
    .friends-card { top: 50%; left: 50%; width: min(360px, calc(100% - 44px)); height: 510px; max-height: calc(100% - 100px); }
    .friends-controls { position: absolute; z-index: 11; top: 50%; right: calc(25% - min(90px, 25% - 11px) - 70px); flex-direction: column; gap: 12px; margin: 0; transform: translateY(-50%); }
    .friends-control i { transform: rotate(90deg); }
    .friends-detail { width: auto; max-width: none; min-width: 0; margin: 0; padding: 0 0 48px; }
    .friends-detail__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
    .friends-detail h2 { font-size: 42px; }
    .friends-detail__body p { font-size: 20px; }
}
