/*
 * nysno.se/partnerskap and /partnerskap/resource (Controllers\Partnerships).
 * The index uses the site's ordinary hero + a grid (.pp-*); ReSource is a
 * one-pager of its own (.rs-*), built from nysnö's tokens (nysno-public.css:
 * Averta / Avertape, purple → pink, sand) rather than the hero + body template.
 */

/* ---------- /partnerskap: the grid under the hero ---------- */

.pp-grid-wrap {
    margin: 40px 40px 80px;
}
.pp-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
    gap: 24px;
}
.pp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--c-card-border, #ddd3c4);
    border-radius: 4px;
    overflow: hidden;
    color: var(--c-text, #1a1b1f);
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}
.pp-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pp-card:focus-visible { outline: 2px solid var(--c-purple, #75479a); outline-offset: 3px; }
.pp-card-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(245, 122, 167, .55), transparent 60%),
        radial-gradient(90% 90% at 10% 100%, rgba(117, 71, 154, .9), transparent 70%),
        #1a1b1f;
    color: #fff;
}
.pp-card-mark {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.01em;
}
.pp-card-with {
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .8;
}
.pp-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pp-card-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pp-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(117, 71, 154, .1);
    color: var(--c-purple, #75479a);
}
.pp-status { font-size: 13px; color: var(--c-text-muted, #8d8579); }
.pp-card-title { margin: 4px 0 0; font-family: var(--font-body); font-size: 24px; font-weight: 700; line-height: 1.2; }
.pp-card-title span { font-weight: 400; color: var(--c-text-muted, #8d8579); }
.pp-card-text { margin: 0; font-size: 16px; line-height: 1.55; }
.pp-card-more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--c-purple, #75479a); }

@media (max-width: 767px) {
    .pp-grid-wrap { margin: 24px 4vw 56px; }
}

/* ---------- /partnerskap/resource ---------- */
/* Short and quiet (Peder 2026-11-09: premium, not a template). Hairlines,
   a dark solid button, the gradient only as an accent in the manifesto. */

.rs {
    --rs-ink: #1a1b1f;
    --rs-muted: #6f675d;
    --rs-line: rgba(26, 27, 31, .12);
    --rs-paper: #f8f7f4;
    --rs-purple: #75479a;
    --rs-pink: #f57aa7;
    --rs-grad: linear-gradient(135deg, #75479a 0%, #f57aa7 100%);
    --rs-pad: max(4vw, calc((100% - 1160px) / 2));
    color: var(--rs-ink);
    font-family: var(--font-body);
    overflow-x: clip;
}
.rs *, .rs *::before, .rs *::after { box-sizing: border-box; }
.rs-wrap { padding-left: var(--rs-pad); padding-right: var(--rs-pad); }
.rs h1, .rs h2, .rs h3, .rs p, .rs ul, .rs ol { margin: 0; }
/* No widows: a last line is never one lonely word (Peder 2026-11-09). */
.rs p, .rs li { text-wrap: pretty; }
.rs h1, .rs h2, .rs h3 { text-wrap: balance; }

.rs-kicker, .rs-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rs-muted);
}
.rs-h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 40px !important;
}

/* Button: one, dark and solid */
.rs-btn {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}
.rs-btn:focus-visible { outline: 2px solid var(--rs-purple); outline-offset: 3px; }
.rs-btn-primary { background: var(--rs-ink); color: #fff; }
.rs-btn-primary:hover { background: var(--rs-purple); color: #fff; }
.rs-btn-secondary { border: 1px solid var(--rs-ink); color: var(--rs-ink); background: transparent; }
.rs-btn-secondary:hover { background: var(--rs-ink); color: #fff; }

/* Hero, built like /apps (.apps-hero): a soft panel framed like the site's
   heroes (40px side margins), the brand strokes behind floating cards. */
.rs-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: 620px;
    margin: 0 40px;
    padding: 0 4vw;
    border-radius: 4px;
    background: #f3ede6;
}
.rs-hero-copy { position: relative; z-index: 2; align-self: center; max-width: 580px; padding: 80px 0; }
.rs-hero-visual { position: relative; z-index: 1; min-height: 620px; }
/* Centred on the cards, so whatever the layout the strokes frame them and
   never sit under the copy (same as .apps-hero-shapes). */
.rs-hero-shapes {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: auto;
    transform: translate(-42%, -44%);
    z-index: 0;
    pointer-events: none;
}
.rs-hero-visual .rs-panel {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: min(400px, 92%);
    transform: translate(-46%, -54%);
    box-shadow: 0 30px 70px rgba(45, 15, 70, .22);
}
.rs-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(45, 15, 70, .2);
    font-size: 13px;
    line-height: 1.35;
    color: var(--rs-muted);
}
.rs-float strong { display: block; font-size: 14px; color: var(--rs-ink); }
.rs-float-leaders { left: 2%; bottom: 13%; }
.rs-faces { display: inline-flex; }
.rs-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; display: block; }
.rs-faces img + img { margin-left: -12px; }
.rs-float-pilot { right: 4%; top: 12%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 20px; border-radius: 12px; }
.rs-title {
    margin-top: 20px !important;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(46px, 6.2vw, 88px);
    line-height: 1;
    letter-spacing: -0.02em;
}
.rs-lede { margin-top: 28px !important; max-width: 32em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: #3b3a38; }
.rs-actions { margin-top: 36px; }

/* Both marks side by side, black, no plate (Peder 2026-11-13). Wevolve's
   lockup as on wevolve.se (.wordmark — their symbol + the name in Cormorant
   Garamond 500, .06em), the symbol recoloured black
   (wevolve-symbol-dark.svg); nysnö's own symbol + wordmark as they are. */
.rs-plate {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    color: #000;
}
.rs-plate-wv {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-right: -.06em; /* the trailing letter-spacing after the last e */
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .06em;
    line-height: 1;
}
.rs-plate-wv img { width: 34px; height: 34px; display: block; }
/* An SVG, not the × glyph: the glyph sits on the baseline, low between the logos. */
.rs-plate-x { display: block; flex: none; width: 10px; height: 10px; opacity: .45; }
.rs-plate-ny { display: inline-flex; align-items: center; gap: 9px; }
.rs-plate-ny img { display: block; width: auto; }
.rs-plate-ny img:first-child { height: 24px; }
.rs-plate-ny img:last-child { height: 30px; }

/* The panel: the next info sessions */
.rs-panel {
    background: #fff;
    border: 1px solid var(--rs-line);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(26, 27, 31, .07);
    padding: 8px 24px;
}
.rs-panel-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 14px; border-bottom: 1px solid var(--rs-line); }
.rs-panel-label { font-weight: 700; font-size: 15px; }
.rs-panel-count { font-size: 13px; color: var(--rs-muted); }
.rs-panel-list { list-style: none; padding: 0; }
.rs-panel-row > a, .rs-panel-row.is-placeholder {
    display: grid;
    grid-template-columns: 104px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rs-line);
    color: inherit;
    text-decoration: none;
}
.rs-panel-row:last-child > a, .rs-panel-row.is-placeholder:last-child { border-bottom: 0; }
.rs-panel-row > a:hover .rs-panel-go { color: var(--rs-purple); }
.rs-panel-date { font-family: var(--font-heading); font-size: 21px; }
.rs-panel-meta { font-size: 14px; color: var(--rs-muted); }
.rs-panel-go { font-size: 14px; font-weight: 600; }
.rs-panel-row.is-placeholder .rs-panel-date { color: #c9c1b5; }

/* Manifesto: Wevolve's five sentences, large, on dark, within one screen */
.rs-manifest {
    padding: clamp(48px, 6vw, 80px) 0;
    background:
        radial-gradient(55% 60% at 95% 0%, rgba(245, 122, 167, .22), transparent 70%),
        radial-gradient(60% 60% at 0% 100%, rgba(117, 71, 154, .38), transparent 70%),
        #16151a;
    color: #f4efe8;
}
.rs-manifest .rs-kicker { color: rgba(244, 239, 232, .55); }
.rs-manifest-text { margin-top: 28px; max-width: 27em; font-size: clamp(22px, 2.4vw, 34px); }
.rs-manifest-text p {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1em;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: pretty;
}
.rs-manifest-text p + p { margin-top: .5em; }
/* Filled in on scroll (data-rs-fill): words start dim and light up as the
   reader passes them. Only once JS has split the text (.rs-fill). */
.rs-fill .rs-w { color: rgba(244, 239, 232, .2); transition: color .35s ease; }
.rs-fill .rs-w.is-lit { color: #f4efe8; }

/* Sections */
.rs-section { padding: clamp(64px, 8vw, 112px) 0; }
.rs-section-tight { padding-top: 0; }

/* Leaders and their credentials */
.rs-leaders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.rs-leader { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; align-items: start; }
.rs-leader img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; display: block; background: #ddd3c4; }
.rs-leader h3 { font-family: var(--font-heading); font-weight: 400; font-size: 26px; line-height: 1.15; }
.rs-leader-role { margin-top: 8px !important; font-size: 15px; font-weight: 600; color: var(--rs-purple); }
.rs-creds { list-style: none; padding: 0; margin-top: 18px !important; border-top: 1px solid var(--rs-line); }
.rs-leader-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--rs-ink); text-decoration: none; border-bottom: 1px solid var(--rs-line); }
.rs-leader-link:hover { color: var(--rs-purple); border-color: currentColor; }
.rs-creds li { padding: 11px 0; border-bottom: 1px solid var(--rs-line); font-size: 15px; line-height: 1.45; color: #3b3a38; }

/* The programme in one row */
.rs-steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--rs-ink);
}
.rs-steps li { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 0 0; }
.rs-steps span { font-size: 13px; font-weight: 600; color: var(--rs-muted); }
.rs-steps strong { font-size: 20px; font-weight: 700; }
.rs-steps em { font-style: normal; font-size: 15px; color: var(--rs-muted); }
.rs-duration { margin: -16px 0 24px !important; font-family: var(--font-heading); font-size: 22px; }
.rs-duration span { font-family: var(--font-body); font-size: 15px; color: var(--rs-muted); }
/* Under the timeline: what's included (LCP, solid) and a possible
   component (coaching, dashed — may be included or chosen as an add-on;
   Wevolve 2026-11-13). */
.rs-extras { list-style: none; padding: 0; margin-top: 28px !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rs-extra { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; border: 1.5px solid var(--rs-ink); border-radius: 4px; background: rgba(255, 255, 255, .55); }
.rs-extra.is-optional { border: 1.5px dashed #a39a8e; background: rgba(255, 255, 255, .22); }
.rs-extra-label { margin-bottom: 4px !important; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--rs-muted); }
.rs-extra strong { font-size: 18px; font-weight: 700; }
.rs-extra > span { font-size: 15px; line-height: 1.5; color: #3b3a38; }
.rs-extra a { color: inherit; text-decoration: underline; text-decoration-color: var(--rs-line); text-underline-offset: 2px; }
.rs-extra a:hover { color: var(--rs-purple); }
.rs-more { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #3b3a38; }
.rs-more summary { display: inline-block; cursor: pointer; font-weight: 600; color: var(--rs-ink); border-bottom: 1px solid var(--rs-line); list-style: none; }
.rs-more summary::-webkit-details-marker { display: none; }
.rs-more summary::after { content: " +"; }
.rs-more[open] summary::after { content: " –"; }
.rs-more summary:hover { color: var(--rs-purple); }
.rs-more summary:focus-visible { outline: 2px solid var(--rs-purple); outline-offset: 3px; }
.rs-more p { margin-top: 12px !important; }
.rs-fine { margin-top: 32px !important; max-width: 46em; font-size: 15px; line-height: 1.6; color: var(--rs-muted); }

/* What develops: six capacities, hairline grid */
.rs-areas {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--rs-ink);
}
.rs-areas li { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px 0; border-bottom: 1px solid var(--rs-line); }
.rs-areas strong { font-size: 18px; font-weight: 700; }
.rs-areas span { font-size: 15px; line-height: 1.5; color: var(--rs-muted); }

/* The pilot and the price idea */
/* Leaders' own words, from the study */
.rs-quotes { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
.rs-quote { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.rs-quote blockquote { margin: 0; padding: 0; border: 0; }
.rs-quote blockquote p { font-family: var(--font-heading); font-weight: 400; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--rs-ink); }
.rs-quote figcaption { text-align: left; font-size: 14px; color: var(--rs-muted); }
.rs-quotes-source { margin-top: 32px !important; max-width: 52em; font-size: 13px; line-height: 1.55; color: var(--rs-muted); }
.rs-quotes-source a { color: inherit; text-decoration: underline; text-decoration-color: var(--rs-line); text-underline-offset: 2px; }
.rs-quotes-source a:hover { color: var(--rs-purple); }

.rs-pilot { padding: clamp(56px, 7vw, 96px) 0; background: #16151a; color: #f4efe8; }
.rs-pilot .rs-kicker { color: rgba(244, 239, 232, .55); }
.rs-pilot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.rs-pilot-title { margin-top: 12px !important; font-family: var(--font-heading); font-weight: 400; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.rs-pilot-text { margin-top: 20px !important; max-width: 30em; font-size: 17px; line-height: 1.55; color: rgba(244, 239, 232, .75); }
.rs-price { padding-top: 24px; border-top: 1px solid rgba(244, 239, 232, .2); }
.rs-price-sum { margin-top: 12px !important; font-family: var(--font-heading); font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.rs-price-sum span { font-family: var(--font-body); font-size: .4em; color: rgba(244, 239, 232, .6); }
.rs-price-note + .rs-price-note { margin-top: 4px !important; }
.rs-price-note a { color: #f4efe8; text-decoration: underline; text-decoration-color: rgba(244, 239, 232, .4); text-underline-offset: 3px; }
.rs-price-note a:hover { text-decoration-color: currentColor; }
.rs-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rs-price-note { margin-top: 14px !important; font-size: 15px; line-height: 1.55; color: rgba(244, 239, 232, .75); }

/* Info session dates */
.rs-dates { background: var(--rs-paper); border-top: 1px solid var(--rs-line); }
/* An individual talk instead of an info session (Wevolve 2026-12-02). */
.rs-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rs-line); }
.rs-contact p { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.5; }
.rs-contact .rs-btn { flex-shrink: 0; }
.rs-date-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rs-date-card > a, .rs-date-card.is-placeholder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--rs-line);
    color: inherit;
    text-decoration: none;
    transition: border-color .2s ease;
}
.rs-date-card > a:hover { border-color: var(--rs-ink); }
.rs-date-card > a:focus-visible { outline: 2px solid var(--rs-purple); outline-offset: 3px; }
.rs-date-card.is-placeholder { background: transparent; border-style: dashed; color: var(--rs-muted); }
.rs-date-weekday { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rs-muted); }
.rs-date-day { margin-top: 8px; font-family: var(--font-heading); font-size: 44px; line-height: 1; }
.rs-date-day small { font-size: .5em; }
.rs-date-card.is-placeholder .rs-date-day { color: #c9c1b5; }
.rs-date-meta { margin-top: 10px; font-size: 15px; color: var(--rs-muted); }
.rs-date-cta {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--rs-ink);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.rs-date-card > a:hover .rs-date-cta { background: var(--rs-purple); }
.rs-date-card.is-full .rs-date-cta { background: transparent; color: var(--rs-muted); padding: 0; }

/* Responsive */
@media (max-width: 1199px) {
    .rs-float-leaders { left: -2%; }
}
/* Below desktop: copy first, then a band with the cards over the strokes. */
@media (max-width: 991px) {
    .rs-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .rs-hero-copy { padding: 56px 0 8px; }
    .rs-hero-visual { min-height: 520px; }
    .rs-hero-shapes { width: 150%; transform: translate(-50%, -40%); }
    .rs-float-leaders { left: 0; bottom: 6%; }
    .rs-float-pilot { right: 0; top: 4%; }
    .rs-leaders { grid-template-columns: 1fr; }
    .rs-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rs-pilot-grid { grid-template-columns: 1fr; }
    .rs-quotes { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 767px) {
    .rs-hero { margin: 0; padding: 0 20px; border-radius: 0; }
    .rs-hero-copy { padding: 40px 0 8px; }
    .rs-hero-visual { min-height: 500px; }
    .rs-hero-shapes { width: 230%; transform: translate(-50%, -42%); }
    .rs-hero-visual .rs-panel { width: 100%; left: 0; transform: translateY(-50%); }
    .rs-float-pilot { top: 2%; }
    .rs-float-leaders { bottom: 2%; }
    .rs-panel-row > a, .rs-panel-row.is-placeholder { grid-template-columns: 88px 1fr auto; }
    .rs-panel-date { font-size: 18px; }
    .rs-leader { grid-template-columns: 120px 1fr; gap: 18px; }
    .rs-leader h3 { font-size: 22px; }
    .rs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
    .rs-manifest-text p { line-height: 1.3; }
    .rs-extras { grid-template-columns: 1fr; gap: 14px; }
    .rs-extra { padding: 18px 18px 20px; }
    .rs-date-cards { grid-template-columns: 1fr; }
    .rs-contact { flex-direction: column; align-items: flex-start; }
    .rs-areas { grid-template-columns: 1fr; }
    .rs-plate { gap: 14px; }
    .rs-plate-wv { font-size: 19px; }
    .rs-plate-wv img { width: 28px; height: 28px; }
    .rs-plate-ny img:first-child { height: 20px; }
    .rs-plate-ny img:last-child { height: 25px; }
}
