/* ==========================================================
   RETEKLIMA · NUOVA SEDE · AREA EX-GRAFFER
   Foglio dedicato alla pagina /sede/
   Rifattorizzato con Tipografia Fluida (Modern clamp() method)
   ========================================================== */

:root {
    /* Colori e Aspetto (Originali) */
    --rk-green: #67b14a;
    --rk-green-dark: #4e9637;
    --rk-green-soft: #eef7ea;
    --rk-ink: #172019;
    --rk-text: #39413c;
    --rk-muted: #707973;
    --rk-line: #dfe6e0;
    --rk-paper: #f8faf8;
    --rk-white: #fff;
    --rk-dark: #0d1510;
    --rk-radius: 16px;
    --rk-shadow: 0 18px 50px rgba(17, 29, 21, .11);
    --rk-shadow-soft: 0 10px 30px rgba(17, 29, 21, .07);

    /* ==========================================================
       TIPOGRAFIA FLUIDA (Metodo Moderno con clamp)
       Scala generata dinamicamente da viewport mobile a desktop
       ========================================================== */
    --fs-nano: clamp(0.5rem, 0.5vw + 0.35rem, 0.625rem);       /* ~8px - 10px */
    --fs-micro: clamp(0.5625rem, 0.6vw + 0.4rem, 0.6875rem);   /* ~9px - 11px */
    --fs-xs: clamp(0.6875rem, 0.8vw + 0.5rem, 0.75rem);        /* ~11px - 12px */
    --fs-sm: clamp(0.75rem, 1vw + 0.55rem, 0.875rem);          /* ~12px - 14px */
    --fs-base: clamp(0.875rem, 1.2vw + 0.6rem, 1rem);          /* ~14px - 16px */
    --fs-lg: clamp(0.9375rem, 1.5vw + 0.65rem, 1.0625rem);     /* ~15px - 17px */
    --fs-xl: clamp(1rem, 1.8vw + 0.7rem, 1.125rem);            /* ~16px - 18px */
    --fs-2xl: clamp(1.25rem, 2vw + 0.75rem, 1.4375rem);        /* ~20px - 23px */
    --fs-3xl: clamp(1.375rem, 2.5vw + 0.8rem, 1.6875rem);      /* ~22px - 27px */
    --fs-4xl: clamp(1.4375rem, 3vw + 0.85rem, 1.8125rem);      /* ~23px - 29px */
    --fs-5xl: clamp(1.5rem, 3.5vw + 0.9rem, 1.875rem);         /* ~24px - 30px */
    --fs-6xl: clamp(2rem, 4vw + 1rem, 2.75rem);                /* ~32px - 44px */
    
    /* Titoli Principali e Hero */
    --fs-h2: clamp(2.5rem, 5vw + 1.25rem, 4.25rem);            /* ~40px - 68px */
    --fs-hero-title: clamp(1.4375rem, 4vw + 0.5rem, 2.625rem); /* ~23px - 42px */
    --fs-hero-h1: clamp(3.125rem, 8vw + 1.125rem, 6.875rem);   /* ~50px - 110px */
    --fs-history: clamp(4rem, 8vw + 1.5rem, 6.875rem);         /* ~64px - 110px */

    /* Eccezioni per Didascalie Foto (Gallery / Feature) */
    --fs-cap-strong: clamp(0.75rem, 1.5vw + 0.35rem, 1rem);    /* ~12px - 16px */
    --fs-feat-strong: clamp(0.6875rem, 1.5vw + 0.3rem, 0.9375rem); /* ~11px - 15px */

    /* Variabili Compatibilità Footer Ingrandito */
    --fs-foot-title: clamp(1.4rem, 2.5vw + 0.8rem, 1.6rem);
    --fs-foot-icon: clamp(1.2rem, 2vw + 0.8rem, 1.45rem);
    --fs-foot-social: clamp(1.2rem, 2vw + 0.8rem, 1.35rem);
    --fs-foot-lg: clamp(1.1rem, 1.8vw + 0.7rem, 1.25rem);
    --fs-foot-base: clamp(1.1rem, 1.5vw + 0.7rem, 1.2rem);
    --fs-foot-sm: clamp(1rem, 1.5vw + 0.6rem, 1.15rem);
}

html {
    scroll-behavior: smooth;
}

body.rk-sede-page {
    background: #fff;
    color: var(--rk-text);
    font-family: 'Open Sans', Arial, sans-serif;
}

body.rk-lightbox-open {
    overflow: hidden;
}

/* ==========================================================
   HEADER ALIGNMENT & TOP BAR PHONE/EMAIL BUTTONS
   ========================================================== */
.rk-sede-page .rk-header-separator {
    border-left: 1px solid rgba(255, 255, 255, .20);
    display: inline-block;
    height: 50px;
    margin: 0 0 0 18px;
    vertical-align: middle;
}

.rk-sede-page .rk-header-mail-gap {
    display: inline-block;
    width: 12px;
}

.rk-sede-page .rk-header-phone,
.rk-sede-page .rk-header-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-xs);
    font-weight: 600;
    transition: color .2s ease;
    vertical-align: middle;
}

.rk-sede-page .rk-header-phone:hover,
.rk-sede-page .rk-header-email:hover {
    color: var(--rk-green);
}

.rk-sede-page .rk-header-phone i,
.rk-sede-page .rk-header-email i {
    color: var(--rk-green);
    font-size: 1.1em;
}

/* ==========================================================
   HERO
   ========================================================== */
.rk-sede-hero {
    position: relative;
    min-height: min(92vh, 920px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: var(--rk-dark);
}

.rk-sede-hero-media,
.rk-sede-hero-media img,
.rk-sede-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rk-sede-hero-media img {
    object-fit: cover;
    object-position: center;
    filter: saturate(.72) contrast(1.04);
    transform: scale(1.02);
}

.rk-sede-hero-overlay {
    background:
        linear-gradient(90deg, rgba(6, 12, 8, .88) 0%, rgba(6, 12, 8, .66) 40%, rgba(6, 12, 8, .24) 74%, rgba(6, 12, 8, .45) 100%),
        linear-gradient(0deg, rgba(6, 12, 8, .42), transparent 36%);
}

.rk-sede-hero-grid,
.rk-sede-hero-meta {
    position: relative;
    z-index: 2;
}

.rk-sede-hero-grid {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.rk-sede-hero-copy {
    max-width: 760px;
    padding: 150px 0 120px;
}

.rk-sede-overline,
.rk-sede-eyebrow,
.rk-sede-small-label {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: .20em;
    text-transform: uppercase;
    font-weight: 700;
}

.rk-sede-overline {
    font-size: var(--fs-micro);
    color: #fff;
    opacity: .82;
    margin-bottom: 22px;
}

.rk-sede-hero h1 {
    margin: 0 0 14px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-hero-h1);
    line-height: .94;
    letter-spacing: -.045em;
    font-weight: 700;
    color: #fff;
}

.rk-sede-hero-title {
    max-width: 700px;
    margin: 0 0 18px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-hero-title);
    line-height: 1.12;
    letter-spacing: -.025em;
    font-weight: 500;
}

.rk-sede-hero-text {
    max-width: 660px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, .82);
    font-size: var(--fs-xl);
    line-height: 1.75;
}

.rk-sede-hero-button,
.rk-sede-outline-button,
.rk-sede-solid-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .50);
    color: #fff;
    text-decoration: none !important;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.rk-sede-hero-button:hover {
    transform: translateY(-2px);
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.rk-sede-hero-meta {
    position: absolute;
    right: 34px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .72);
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: .14em;
    font-size: var(--fs-nano);
    text-transform: uppercase;
}

.rk-sede-meta-line {
    width: 70px;
    height: 1px;
    background: rgba(255, 255, 255, .38);
}

/* ==========================================================
   LAYOUT / TYPOGRAPHY
   ========================================================== */
.rk-sede-shell {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

.rk-sede-section {
    padding: 125px 0;
}

.rk-sede-intro {
    background: #fff;
    padding-bottom: 90px;
}

.rk-sede-eyebrow {
    font-size: var(--fs-micro);
    color: var(--rk-green-dark);
    margin-bottom: 17px;
}

.rk-sede-section h2,
.rk-sede-section-heading h2 {
    margin: 0;
    color: var(--rk-ink);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-h2);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 600;
}

.rk-sede-section-heading h2 {
    max-width: 820px;
}

.rk-sede-section-heading > p {
    max-width: 500px;
    margin: 10px 0 0;
    font-size: var(--fs-base);
    line-height: 1.8;
    color: var(--rk-muted);
}

.rk-sede-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(50px, 9vw, 140px);
    align-items: start;
}

.rk-sede-two-col-intro h2 {
    max-width: 720px;
}

.rk-sede-body-copy {
    padding-top: 14px;
}

.rk-sede-body-copy p {
    margin: 0 0 18px;
    font-size: var(--fs-lg);
    line-height: 1.86;
    color: var(--rk-text);
}

.rk-sede-body-copy strong {
    color: var(--rk-ink);
}

.rk-sede-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 75px;
    border-top: 1px solid var(--rk-line);
    border-bottom: 1px solid var(--rk-line);
}

.rk-sede-stat {
    padding: 30px 26px;
    border-right: 1px solid var(--rk-line);
}

.rk-sede-stat:last-child {
    border-right: 0;
}

.rk-sede-stat strong {
    display: block;
    color: var(--rk-green-dark);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-3xl);
    line-height: 1.15;
    margin-bottom: 10px;
}

.rk-sede-stat span {
    display: block;
    color: var(--rk-muted);
    font-size: var(--fs-sm);
    line-height: 1.5;
}

.rk-sede-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 56px;
}

.rk-sede-history {
    background: var(--rk-paper);
}

.rk-sede-history-story {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 34px;
    align-items: start;
    padding: 38px 0 54px;
    border-bottom: 1px solid var(--rk-line);
    margin-bottom: 48px;
}

.rk-sede-history-number {
    color: var(--rk-green);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-history);
    line-height: .84;
    font-weight: 700;
    letter-spacing: -.08em;
}

.rk-sede-history-story h3,
.rk-sede-discovery-intro h3 {
    margin: 10px 0 13px;
    color: var(--rk-ink);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-4xl);
    line-height: 1.16;
    letter-spacing: -.03em;
}

.rk-sede-history-story p,
.rk-sede-discovery-intro p {
    margin: 0;
    color: var(--rk-muted);
    font-size: var(--fs-base);
    line-height: 1.8;
    max-width: 760px;
}

.rk-sede-small-label {
    font-size: var(--fs-nano);
    color: var(--rk-muted);
}

/* ==========================================================
   GALLERY / IMAGE SHOWER
   ========================================================== */
.rk-sede-gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 16px;
}

.rk-sede-photo,
.rk-sede-aerial-main,
.rk-sede-aerial-card,
.rk-sede-mini-gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #e9eee9;
    border-radius: 12px;
    cursor: zoom-in;
    min-height: 240px;
}

.rk-sede-photo {
    grid-column: span 4;
    aspect-ratio: 1.25 / 1;
}

.rk-photo-wide {
    grid-column: span 8;
    aspect-ratio: 1.9 / 1;
}

.rk-photo-tall {
    grid-row: span 2;
    aspect-ratio: .85 / 1.4;
}

.rk-photo-hero {
    grid-column: span 8;
    aspect-ratio: 1.65 / 1;
}

.rk-sede-photo img,
.rk-sede-aerial-main img,
.rk-sede-aerial-card img,
.rk-sede-mini-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
}

.rk-sede-photo:hover img,
.rk-sede-aerial-main:hover img,
.rk-sede-aerial-card:hover img,
.rk-sede-mini-gallery figure:hover img {
    transform: scale(1.045);
    filter: saturate(.93);
}

.rk-sede-photo::after,
.rk-sede-aerial-main::after,
.rk-sede-aerial-card::after,
.rk-sede-mini-gallery figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(8, 13, 10, .74) 100%);
    pointer-events: none;
}

.rk-sede-photo figcaption,
.rk-sede-aerial-main figcaption,
.rk-sede-aerial-card figcaption,
.rk-sede-mini-gallery figcaption {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 16px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 3px;
    align-items: end;
    color: #fff;
}

.rk-sede-photo figcaption span,
.rk-sede-aerial-main figcaption span,
.rk-sede-aerial-card figcaption span {
    grid-row: span 2;
    font-family: 'Montserrat', Arial, sans-serif;
    color: rgba(255, 255, 255, .62);
    font-size: var(--fs-xs);
}

.rk-sede-photo figcaption strong,
.rk-sede-aerial-main figcaption strong,
.rk-sede-aerial-card figcaption strong {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-cap-strong);
    line-height: 1.15;
}

.rk-sede-photo figcaption small,
.rk-sede-aerial-main figcaption small,
.rk-sede-aerial-card figcaption small {
    font-size: var(--fs-micro);
    opacity: .72;
}

.rk-sede-photo.rk-image-missing,
.rk-sede-aerial-main.rk-image-missing,
.rk-sede-aerial-card.rk-image-missing,
.rk-sede-mini-gallery figure.rk-image-missing {
    cursor: default;
}

.rk-image-missing::after {
    display: none;
}

.rk-image-missing::before {
    content: 'Immagine da inserire';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #879188;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .75) 25%, transparent 25%) 0 0 / 24px 24px,
        linear-gradient(225deg, rgba(255, 255, 255, .75) 25%, transparent 25%) 0 0 / 24px 24px,
        #e7ece8;
}

.rk-sede-gallery-note,
.rk-sede-compare-note {
    margin: 24px 0 0;
    color: var(--rk-muted);
    font-size: var(--fs-xs);
    line-height: 1.7;
}

.rk-sede-gallery-note i {
    color: var(--rk-green);
    margin-right: 6px;
}

.rk-sede-gallery-note code,
.rk-sede-compare-note code {
    padding: 2px 6px;
    border-radius: 5px;
    background: #eef2ef;
    color: #53605a;
    font-size: var(--fs-micro);
}

/* ==========================================================
   PRIMO INGRESSO / FEATURE + IMAGE SHOWER
   ========================================================== */
.rk-first-gallery-shell {
    margin-top: 6px;
}

.rk-first-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(300px, .88fr);
    gap: 16px;
    align-items: stretch;
}

.rk-first-feature-main,
.rk-first-feature-card,
.rk-shower-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #e9eee9;
    border-radius: 14px;
    cursor: zoom-in;
}

.rk-first-feature-main {
    min-height: 610px;
}

.rk-first-feature-main img,
.rk-first-feature-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
}

.rk-first-feature-main:hover img,
.rk-first-feature-card:hover img {
    transform: scale(1.035);
    filter: saturate(.92);
}

.rk-first-feature-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-width: 0;
}

.rk-first-feature-card {
    min-height: 0;
}

.rk-first-feature-main::after,
.rk-first-feature-card::after,
.rk-shower-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(8, 13, 10, .78) 100%);
    pointer-events: none;
}

.rk-first-feature-main figcaption,
.rk-first-feature-card figcaption,
.rk-shower-photo figcaption {
    position: absolute;
    z-index: 2;
    left: 19px;
    right: 19px;
    bottom: 17px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 11px;
    align-items: end;
    color: #fff;
}

.rk-first-feature-main figcaption span,
.rk-first-feature-card figcaption span,
.rk-shower-photo figcaption span {
    align-self: end;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-micro);
    color: rgba(255, 255, 255, .62);
}

.rk-first-feature-main figcaption strong,
.rk-first-feature-card figcaption strong,
.rk-shower-photo figcaption strong {
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-feat-strong);
    line-height: 1.15;
}

.rk-first-feature-main figcaption small,
.rk-first-feature-card figcaption small,
.rk-shower-photo figcaption small {
    display: block;
    margin-top: 3px;
    font-size: var(--fs-nano);
    opacity: .7;
}

.rk-first-shower {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
    align-items: start;
}

.rk-first-shower-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.rk-shower-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .45s ease;
}

.rk-shower-photo:hover img {
    transform: scale(1.028);
    filter: saturate(.94);
}

.rk-shower-photo-portrait {
    background: #eef1ee;
}

.rk-shower-photo-portrait img {
    object-fit: contain;
    background: #eef1ee;
}

.rk-shower-photo figcaption {
    left: 16px;
    right: 16px;
    bottom: 14px;
}

.rk-first-gallery-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 28px;
    align-items: center;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--rk-line);
}

.rk-first-gallery-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.rk-first-gallery-count strong {
    color: var(--rk-green);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-5xl);
    line-height: 1;
}

.rk-first-gallery-count span {
    color: var(--rk-dark);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rk-first-gallery-footer p {
    margin: 0;
    max-width: 720px;
    color: var(--rk-muted);
    font-size: var(--fs-sm);
    line-height: 1.7;
}

/* ==========================================================
   DISCOVERY / PRINCIPLES
   ========================================================== */
.rk-sede-discovery {
    background: #fff;
}

.rk-sede-discovery-intro {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 26px;
    padding: 0 0 46px;
}

.rk-sede-index {
    color: var(--rk-green);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-6xl);
    line-height: 1;
    font-weight: 700;
}

.rk-sede-gallery-featured {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.rk-sede-gallery-first .rk-sede-photo:nth-child(1) {
    grid-column: 1 / span 7;
    grid-row: span 2;
}

.rk-sede-gallery-first .rk-sede-photo:nth-child(2) {
    grid-column: 8 / span 5;
}

.rk-sede-gallery-first .rk-sede-photo:nth-child(3) {
    grid-column: 8 / span 5;
}

.rk-sede-gallery-first .rk-sede-photo:nth-child(4) {
    grid-column: 1 / span 7;
}

.rk-sede-gallery-first .rk-sede-photo:nth-child(n+5) {
    grid-column: span 3;
}

.rk-sede-principles {
    background: #19351e;
    color: #fff;
}

.rk-heading-light h2 {
    color: #fff;
}

.rk-heading-light > p {
    color: rgba(255, 255, 255, .67);
}

.rk-heading-light .rk-sede-eyebrow {
    color: #87ce6d;
}

.rk-sede-principle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .13);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.rk-sede-principle-card {
    position: relative;
    min-height: 300px;
    padding: 32px 28px;
    border-right: 1px solid rgba(255, 255, 255, .13);
}

.rk-sede-principle-card:last-child {
    border-right: 0;
}

.rk-sede-principle-card > span {
    color: rgba(255, 255, 255, .42);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-xs);
}

.rk-sede-principle-card > i {
    position: absolute;
    top: 29px;
    right: 27px;
    color: var(--rk-green);
    font-size: var(--fs-xl);
}

.rk-sede-principle-card h3 {
    margin: 72px 0 12px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-2xl);
}

.rk-sede-principle-card p {
    margin: 0;
    color: rgba(255, 255, 255, .66);
    line-height: 1.7;
    font-size: var(--fs-sm);
}

/* ==========================================================
   AERIAL
   ========================================================== */
.rk-sede-aerial {
    background: var(--rk-paper);
}

.rk-sede-aerial-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    gap: 16px;
}

.rk-sede-aerial-main {
    min-height: 640px;
}

.rk-sede-aerial-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.rk-sede-aerial-card {
    min-height: 0;
}

.rk-sede-mini-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.rk-sede-mini-gallery figure {
    aspect-ratio: 1.6 / 1;
    min-height: 0;
}

.rk-sede-mini-gallery figcaption {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-micro);
}

/* ==========================================================
   BEFORE / AFTER
   ========================================================== */
.rk-sede-comparison {
    background: #fff;
}

.rk-sede-compare-row {
    max-width: 1100px;
    margin: 0 auto;
}

.rk-sede-compare-row-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.rk-sede-compare {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #111;
    border-radius: 16px;
    box-shadow: var(--rk-shadow);
    isolation: isolate;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.rk-sede-compare.rk-compare-horizontal {
    aspect-ratio: 16 / 10;
}

.rk-sede-compare.rk-compare-vertical {
    aspect-ratio: 3 / 4;
}

.rk-sede-compare.rk-image-missing {
    cursor: default;
}

.rk-sede-compare-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.rk-sede-compare-before {
    z-index: 2;
    overflow: hidden;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0);
}

.rk-sede-compare-layer img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.rk-sede-compare-after {
    z-index: 1;
    height: 100%;
}

.rk-sede-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 30px;
    color: #758077;
    background: linear-gradient(135deg, #eef2ef, #dce5df);
}

.rk-sede-placeholder strong {
    color: #4f5f55;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: .16em;
    font-size: var(--fs-xl);
}

.rk-sede-placeholder span {
    max-width: 400px;
    font-size: var(--fs-sm);
    line-height: 1.65;
}

.rk-sede-placeholder code {
    font-size: var(--fs-micro);
    background: rgba(255, 255, 255, .7);
    padding: 5px 8px;
    border-radius: 4px;
}

.rk-sede-compare-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 7;
    opacity: 0;
    cursor: ew-resize;
    -webkit-appearance: none;
    appearance: none;
}

.rk-sede-compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 4;
    width: 2px;
    background: rgba(255, 255, 255, .92);
    transform: translateX(-1px);
    pointer-events: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

.rk-sede-compare-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rk-green);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.rk-sede-compare:focus-within .rk-sede-compare-divider span {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.rk-sede-compare-label {
    position: absolute;
    z-index: 6;
    top: 20px;
    padding: 8px 11px;
    color: #fff;
    background: rgba(0, 0, 0, .50);
    backdrop-filter: blur(6px);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-nano);
    font-weight: 700;
    letter-spacing: .14em;
    transition: opacity .2s ease;
    pointer-events: none;
}

.rk-label-before {
    left: 20px;
}

.rk-label-after {
    right: 20px;
}

.rk-sede-compare-note {
    margin-top: 18px;
    text-align: center;
}

/* ==========================================================
   LIGHTBOX
   ========================================================== */
.rk-sede-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 70px;
    background: rgba(6, 10, 8, .94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.rk-sede-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rk-sede-lightbox-content {
    width: min(1400px, 100%);
    height: min(86vh, 900px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#rkSedeLightboxImage {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 52px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
}

.rk-sede-lightbox-caption {
    width: min(100%, 1100px);
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .85);
    font-size: var(--fs-xs);
}

.rk-sede-lightbox-caption strong {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-sm);
}

.rk-sede-lightbox-caption span {
    color: rgba(255, 255, 255, .52);
    white-space: nowrap;
}

.rk-sede-lightbox-close,
.rk-sede-lightbox-prev,
.rk-sede-lightbox-next {
    position: absolute;
    z-index: 2;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.rk-sede-lightbox-close:hover,
.rk-sede-lightbox-prev:hover,
.rk-sede-lightbox-next:hover {
    background: rgba(255, 255, 255, .16);
    transform: scale(1.04);
}

.rk-sede-lightbox-close {
    top: 18px;
    right: 22px;
}

.rk-sede-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.rk-sede-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.rk-sede-lightbox-prev:hover,
.rk-sede-lightbox-next:hover {
    transform: translateY(-50%) scale(1.04);
}

/* ==========================================================
   AFTER / CLOSING
   ========================================================== */
.rk-sede-after {
    background: #fff;
}

.rk-sede-gallery-after .rk-sede-photo:nth-child(1) {
    grid-column: 1 / span 8;
}

.rk-sede-gallery-after .rk-sede-photo:nth-child(2) {
    grid-column: 9 / span 4;
}

.rk-sede-gallery-after .rk-sede-photo:nth-child(3) {
    grid-column: 1 / span 4;
}

.rk-sede-gallery-after .rk-sede-photo:nth-child(4) {
    grid-column: 5 / span 4;
}

.rk-sede-gallery-after .rk-sede-photo:nth-child(5) {
    grid-column: 9 / span 4;
}

.rk-sede-gallery-after .rk-sede-photo:nth-child(n+6) {
    grid-column: span 4;
}

.rk-sede-closing {
    position: relative;
    min-height: 610px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #19351e;
}

.rk-sede-closing-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 74% 25%, rgba(103, 177, 74, .19), transparent 28%),
        linear-gradient(120deg, rgba(103, 177, 74, .08), transparent 35%);
}

.rk-sede-closing-inner {
    position: relative;
    z-index: 2;
    max-width: 1020px;
    text-align: center;
}

.rk-sede-closing .rk-sede-overline {
    color: #84c669;
}

.rk-sede-closing h2 {
    color: #fff;
    max-width: 970px;
    margin: 16px auto 18px;
}

.rk-sede-closing p {
    max-width: 820px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .69);
    font-size: var(--fs-lg);
    line-height: 1.85;
}

.rk-sede-closing-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.rk-sede-outline-button {
    border-color: rgba(255, 255, 255, .34);
}

.rk-sede-outline-button:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transform: translateY(-2px);
}

.rk-sede-solid-button {
    color: #10200f;
    border-color: var(--rk-green);
    background: var(--rk-green);
}

.rk-sede-solid-button:hover {
    color: #10200f;
    background: #82c866;
    border-color: #82c866;
    transform: translateY(-2px);
}

/* ==========================================================
   REVEAL
   ========================================================== */
.rk-sede-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .65, .2, 1);
}

.rk-sede-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
.custom-footer {
    position: relative;
    background: #fff;
    border-top: 1px solid var(--rk-line);
    color: #333;
}

.custom-footer .footer-logo {
    max-width: 210px;
    height: auto;
    margin-bottom: 20px;
}

.custom-footer .social-icons-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.custom-footer .social-circle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #bcd6b4;
    border-radius: 50%;
    color: var(--rk-green-dark);
    background: #fff;
    text-decoration: none !important;
    transition: all .22s ease;
}

.custom-footer .social-circle-btn:hover {
    color: #fff !important;
    background: var(--rk-green);
    border-color: var(--rk-green);
    transform: translateY(-2px);
}

.custom-footer h4.footer-heading {
    color: var(--rk-ink);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -.01em;
}

.custom-footer .nav-col {
    padding-left: 30px;
}

.custom-footer ul.footer-links-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-footer ul.footer-links-list li {
    margin-bottom: 10px;
}

.custom-footer ul.footer-links-list li a {
    color: #59615b;
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s ease;
}

.custom-footer ul.footer-links-list li a:hover {
    color: var(--rk-green-dark);
}

.custom-footer .contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-footer .contact-item {
    display: flex;
    align-items: flex-start;
    font-size: .95rem;
    color: #59615b;
}

.custom-footer .contact-item i {
    color: var(--rk-green);
    font-size: 1.08rem;
    margin-right: 12px;
    margin-top: 3px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.custom-footer .footer-bottom-bar {
    border-top: 1px solid var(--rk-line);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 821px) {
    .rk-sede-gallery-after {
        grid-auto-flow: row;
        grid-auto-rows: clamp(220px, 27vw, 380px);
    }

    .rk-sede-gallery-after .rk-sede-photo {
        grid-row: auto;
        aspect-ratio: auto;
        min-height: 0;
    }
}

@media (max-width: 1100px) {
    .rk-sede-hero-grid,
    .rk-sede-shell {
        width: min(100% - 42px, 1100px);
    }

    .rk-sede-section {
        padding: 100px 0;
    }

    .rk-sede-hero-copy {
        padding: 135px 0 115px;
    }

    .rk-sede-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rk-sede-stat:nth-child(2) {
        border-right: 0;
    }

    .rk-sede-stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--rk-line);
    }

    .rk-sede-principle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rk-sede-principle-card:nth-child(2) {
        border-right: 0;
    }

    .rk-sede-principle-card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .13);
    }
}

@media (max-width: 820px) {
    .rk-sede-hero {
        min-height: 760px;
    }

    .rk-sede-hero-grid,
    .rk-sede-shell {
        width: calc(100% - 34px);
    }

    .rk-sede-hero-copy {
        padding: 145px 0 110px;
    }

    .rk-sede-hero-meta {
        left: 17px;
        right: auto;
        bottom: 18px;
    }

    .rk-sede-meta-line {
        width: 35px;
    }

    .rk-sede-two-col,
    .rk-sede-section-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rk-sede-stats-grid {
        margin-top: 52px;
    }

    .rk-sede-history-story {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rk-sede-gallery,
    .rk-sede-gallery-featured {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .rk-sede-photo,
    .rk-photo-wide,
    .rk-photo-hero,
    .rk-sede-gallery-first .rk-sede-photo,
    .rk-sede-gallery-after .rk-sede-photo {
        grid-column: span 3 !important;
        grid-row: auto !important;
        aspect-ratio: 1.15 / 1;
    }

    .rk-photo-wide,
    .rk-photo-hero,
    .rk-sede-gallery-first .rk-sede-photo:nth-child(1),
    .rk-sede-gallery-after .rk-sede-photo:nth-child(1) {
        grid-column: span 6 !important;
        aspect-ratio: 1.55 / 1;
    }

    .rk-sede-aerial-stage {
        grid-template-columns: 1fr;
    }

    .rk-sede-aerial-main {
        min-height: 440px;
    }

    .rk-sede-aerial-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .rk-sede-aerial-card {
        min-height: 230px;
    }

    .rk-sede-compare-row-pair {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .rk-sede-compare.rk-compare-vertical {
        max-width: 460px;
    }

    .rk-sede-compare.rk-compare-horizontal {
        aspect-ratio: 4 / 3;
    }

    .rk-first-feature {
        grid-template-columns: 1fr;
    }

    .rk-first-feature-main {
        min-height: 440px;
    }

    .rk-first-feature-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .rk-first-feature-card {
        min-height: 230px;
    }

    .rk-first-shower {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .custom-footer {
        padding: 70px 0 0 0 !important;
    }

    .custom-footer .footer-logo {
        max-width: 230px !important;
    }

    .custom-footer .footer-heading {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 600px) {
    .rk-sede-section {
        padding: 76px 0;
    }

    .rk-sede-shell {
        width: calc(100% - 28px);
    }

    .rk-sede-hero-grid {
        width: calc(100% - 28px);
    }

    .rk-sede-hero-copy {
        padding: 135px 0 100px;
    }

    .rk-sede-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rk-sede-stat {
        padding: 22px 16px;
    }

    .rk-sede-principle-grid {
        grid-template-columns: 1fr;
    }

    .rk-sede-principle-card {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
        min-height: 240px;
    }

    .rk-sede-principle-card:last-child {
        border-bottom: 0;
    }

    .rk-sede-principle-card h3 {
        margin-top: 56px;
    }

    .rk-sede-gallery,
    .rk-sede-gallery-featured {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rk-sede-photo,
    .rk-photo-wide,
    .rk-photo-hero,
    .rk-sede-gallery-first .rk-sede-photo,
    .rk-sede-gallery-after .rk-sede-photo {
        grid-column: span 1 !important;
        aspect-ratio: 1 / 1;
        min-height: 160px;
    }

    .rk-photo-wide,
    .rk-photo-hero,
    .rk-sede-gallery-first .rk-sede-photo:nth-child(1),
    .rk-sede-gallery-after .rk-sede-photo:nth-child(1) {
        grid-column: span 2 !important;
        aspect-ratio: 1.25 / 1;
    }

    .rk-sede-photo figcaption {
        left: 11px;
        right: 11px;
        bottom: 10px;
    }

    .rk-sede-aerial-main {
        min-height: 300px;
    }

    .rk-sede-aerial-side {
        grid-template-columns: 1fr;
    }

    .rk-sede-mini-gallery {
        grid-template-columns: 1fr;
    }

    .rk-sede-mini-gallery figure {
        aspect-ratio: 1.35 / 1;
    }

    .rk-sede-lightbox {
        padding: 55px 10px 30px;
    }

    .rk-sede-lightbox-content {
        height: 84vh;
    }

    .rk-sede-lightbox-prev {
        left: 8px;
    }

    .rk-sede-lightbox-next {
        right: 8px;
    }

    .rk-sede-lightbox-caption {
        padding: 0 10px;
    }

    .rk-sede-lightbox-caption strong {
        max-width: 75%;
    }

    .rk-sede-closing {
        min-height: 540px;
    }

    .rk-first-feature {
        gap: 10px;
    }

    .rk-first-feature-side {
        gap: 10px;
    }

    .rk-first-feature-main {
        min-height: 300px;
        border-radius: 11px;
    }

    .rk-first-feature-card {
        min-height: 170px;
        border-radius: 11px;
    }

    .rk-first-shower {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .rk-first-shower-column {
        gap: 10px;
    }

    .rk-first-feature-main figcaption,
    .rk-first-feature-card figcaption,
    .rk-shower-photo figcaption {
        left: 11px;
        right: 11px;
        bottom: 10px;
        column-gap: 7px;
    }

    .rk-first-gallery-footer {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rk-sede-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .rk-sede-photo img,
    .rk-sede-aerial-main img,
    .rk-sede-aerial-card img,
    .rk-sede-mini-gallery img {
        transition: none;
    }
}

/* ==========================================================
   PRINCIPI — RESTYLING EDITORIALE
   ========================================================== */
.rk-sede-page .rk-sede-principles {
    background: #19351e !important;
    color: #fff;
    overflow: hidden;
}

.rk-sede-page .rk-sede-principles .rk-principles-shell {
    position: relative;
}

.rk-principles-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .68fr);
    gap: clamp(55px, 9vw, 150px);
    align-items: end;
    padding-bottom: 78px;
}

.rk-principles-heading {
    max-width: 820px;
}

.rk-principles-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 24px;
    color: #a4d993;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.rk-principles-eyebrow i {
    display: inline-block;
    width: 34px;
    height: 2px;
    background: var(--rk-green);
}

.rk-principles-heading h2 {
    margin: 0;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(3rem, 5.8vw, 6.5rem);
    line-height: .95;
    letter-spacing: -.055em;
    font-weight: 300;
}

.rk-principles-heading h2 span {
    display: block;
    font-weight: 700;
    color: #fff;
}

.rk-principles-manifesto {
    max-width: 510px;
    padding-left: 28px;
    border-left: 1px solid rgba(255,255,255,.22);
}

.rk-principles-manifesto > span {
    display: block;
    margin-bottom: 14px;
    color: #86c874;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
}

.rk-principles-manifesto p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: var(--fs-lg);
    line-height: 1.78;
}

.rk-principles-manifesto strong {
    color: #fff;
    font-weight: 600;
}

.rk-principles-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding-top: 44px;
}

.rk-principles-line {
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(103,177,74,.85), rgba(103,177,74,.18));
}

.rk-principle-item {
    position: relative;
    min-height: 285px;
    padding: 0 34px 20px 0;
    border-right: 1px solid rgba(255,255,255,.14);
    transition: transform .35s ease;
    transition-delay: var(--rk-principle-delay, 0ms);
}

.rk-principle-item:not(:first-of-type) {
    padding-left: 34px;
}

.rk-principle-item:last-child {
    border-right: 0;
    padding-right: 0;
}

.rk-principle-item:hover {
    transform: translateY(-5px);
}

.rk-principle-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.rk-principle-number {
    color: rgba(255,255,255,.42);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
}

.rk-principle-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(103,177,74,.48);
    border-radius: 50%;
    color: #9bd889;
    background: rgba(103,177,74,.08);
    font-size: 14px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.rk-principle-item:hover .rk-principle-icon {
    background: rgba(103,177,74,.18);
    border-color: rgba(103,177,74,.8);
    transform: rotate(6deg);
}

.rk-principle-item h3 {
    margin: 0 0 14px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.03em;
}

.rk-principle-item p {
    max-width: 290px;
    margin: 0;
    color: rgba(255,255,255,.63);
    font-size: var(--fs-sm);
    line-height: 1.75;
}

.rk-principles-closing {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 62px;
}

.rk-principles-closing > span {
    height: 1px;
    background: rgba(255,255,255,.14);
}

.rk-principles-closing p {
    margin: 0;
    color: rgba(255,255,255,.72);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .rk-principles-intro {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .rk-principles-manifesto {
        max-width: 720px;
    }

    .rk-principles-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0;
    }

    .rk-principle-item:nth-child(2) {
        border-right: 0;
    }

    .rk-principle-item:nth-child(-n+2) {
        padding-bottom: 50px;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .rk-principle-item:nth-child(3),
    .rk-principle-item:nth-child(4) {
        padding-top: 50px;
    }
}

@media (max-width: 600px) {
    .rk-principles-intro {
        padding-bottom: 54px;
    }

    .rk-principles-heading h2 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .rk-principles-manifesto {
        padding-left: 19px;
    }

    .rk-principles-track {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .rk-principles-line {
        display: none;
    }

    .rk-principle-item,
    .rk-principle-item:not(:first-of-type),
    .rk-principle-item:nth-child(3),
    .rk-principle-item:nth-child(4) {
        min-height: 0;
        padding: 0 0 34px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .rk-principle-item + .rk-principle-item {
        padding-top: 34px;
    }

    .rk-principle-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .rk-principle-top {
        margin-bottom: 28px;
    }

    .rk-principles-closing {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 42px;
    }

    .rk-principles-closing > span {
        width: 58px;
        margin: 0 auto;
    }
}