* {
    box-sizing: border-box;
}

@font-face {
    font-family: "HK Grotesk";
    src: url("../fonts/HKGrotesk-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IBMPlexSans";
    src: url("../fonts/IBM/IBMPlexSans-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "HK Grotesk";
    src: url("../fonts/HKGrotesk-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --page-width: 75%;
    --edge: #1e1e1e;
    --text: #070707;
    --subtle: #e7e7e7;
    --accent: #f88e02;
    --font-title: "HK Grotesk", Arial, sans-serif;
    --font-body: "IBMPlexSans", Arial, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text);
    background: #f2f2f2;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 700;
}

.navbar_out {
    width: 100%;
    min-height: 96px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr auto 1fr 1fr;
    align-items: center;
    gap: 0;
    margin: 0 auto;
    border-bottom: 1px solid var(--edge);
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    z-index: 50;
    background: #f2f2f2;
    backdrop-filter: none;
}

/* Language toggle — fixed square sitting just below the right edge of the navbar */
.lang_toggle {
    position: fixed;
    top: 120px;
    right: 0;
    width: 52px;
    background: var(--edge);
    z-index: 49;
    cursor: pointer;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lang_toggle:hover .lang_dropdown,
.lang_toggle:focus-within .lang_dropdown {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    pointer-events: auto;
}

.lang_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    transition: background 150ms;
}

.lang_toggle:hover .lang_btn {
    background: rgba(255, 255, 255, 0.06);
}

.lang_label {
    font-family: var(--font-title);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

.lang_current {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.lang_dropdown {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--edge);
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-6px);
    transition: opacity 180ms ease,
                clip-path 200ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lang_option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 150ms, background 150ms;
}

.lang_option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang_option.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

/* Keep a consistent content width across page sections */
main,
header,
nav,
.page-width {
    width: var(--page-width);
    margin-left: auto;
    margin-right: auto;
}

.element {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    /* border-left: 1px solid var(--edge); */
}

.element:hover {
    background: var(--subtle);
}

.element a {
    font-family: var(--font-title);
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-transform: uppercase;
}

.element a.is-active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.arrow {
    color: var(--accent);
    margin-left: 8px;
    font-size: 16px;
    vertical-align: 1px;
}

.svglogo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 122px;
    padding: 0 46px;
    text-decoration: none;
}

.romantso_main_logo {
    width: 400px;
    height: auto;
    display: block;
}

.page_root {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
}

.deck_viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.page_deck {
    position: relative;
    width: 100%;
    height: 100%;
}

.page_card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: auto;
    will-change: transform;
    --card-overlay-opacity: 0;
}

.page_card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    opacity: var(--card-overlay-opacity);
    pointer-events: none;
    z-index: 1;
    transition: opacity 140ms linear;
}

.page_card::after {
    content: none;
}

.page_surface {
    width: 100vw;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 150px 0 34px;
    display: flex;
    align-items: stretch;
    will-change: transform;
    position: relative;
    z-index: 0;
}

.page_inner {
    width: var(--page-width);
    margin: 0 auto;
}

.page_surface--about,
.page_surface--spaces {
    background: #f2f2f2;
    min-height: 50vh;
}

.page_surface--events {
    background: #fde4c8;
}

.page_surface--events .page_inner {
    width: 100%;
}

.page_surface--spaces-list {
    background: #d8edca;
}

.page_surface--offices-small {
    background: #fdf1be;
}

.page_surface--offices-medium {
    background: #c6e8f5;
}

.page_surface--offices-large {
    background: #f5d8cc;
}

.page_surface--offices {
    background: #ccd9e8;
}

.page_surface--offices .page_inner {
    display: flex;
    flex-direction: column;
}

.events_catalog_page {
    width: 100%;
    min-height: 100vh;
    background-color: #fde4c8;
    background-image:
        linear-gradient(rgba(0,0,0,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.10) 1px, transparent 1px);
    background-size: 48px 48px;
    padding: 100px 0 60px;
    position: relative;
}

.events_catalog_page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #fde4c8 0%, #fde4c8 80px, transparent 240px);
    pointer-events: none;
    z-index: 0;
}

.events_catalog_shell {
    width: var(--page-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.events_catalog_header {
    padding: clamp(20px, 3vw, 40px) 0 clamp(16px, 2vw, 28px);
    display: flex;
    align-items: center;
    gap: 16px;
}

.events_catalog_header::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.1em;
    background: var(--accent);
    flex-shrink: 0;
    align-self: center;
}

.events_catalog_header h1 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    font-weight: 800;
}

.events_catalog_header p {
    display: none;
}

.events_filters {
    padding: 0 0 20px;
    display: grid;
    gap: 12px;
}

.events_filter_group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.events_filter_chip {
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.6);
    color: rgba(0, 0, 0, 0.65);
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 20px;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 180ms, color 180ms, border-color 180ms;
}

.events_filter_chip:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
}

.events_filter_chip.is-active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.events_filter_fields {
    display: grid;
    grid-template-columns: minmax(160px, 200px) minmax(200px, 280px);
    gap: 10px;
}

.events_filter_label {
    display: grid;
    gap: 5px;
}

.events_filter_label span {
    font-family: var(--font-title);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.5);
}

.events_filter_select,
.events_filter_input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    padding: 9px 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    border-radius: 4px;
}

.events_filter_select option {
    background: #fff;
    color: #1a1a1a;
}

.events_results_count {
    margin: 0 0 14px;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.4);
}

.events_listing_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
}

.event_listing_card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #1a1a1a;
    cursor: pointer;
}

.event_listing_card_link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.event_listing_card[hidden] {
    display: none !important;
}

.event_listing_photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}

.event_listing_card:hover .event_listing_photo {
    transform: scale(1.04);
}

.event_listing_overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0) 35%,
        rgba(0,0,0,0) 50%,
        rgba(0,0,0,0.72) 100%
    );
}

.event_listing_date_badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(0,0,0,0.62);
    padding: 8px 12px 10px;
    width: max-content;
    backdrop-filter: blur(4px);
}

.event_date_day {
    font-family: var(--font-title);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 900;
    line-height: 0.95;
    color: #fff;
    letter-spacing: -0.02em;
}

.event_date_month {
    font-family: var(--font-title);
    font-size: clamp(10px, 1vw, 13px);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    margin-top: 3px;
}

.event_date_year {
    font-family: var(--font-title);
    font-size: clamp(9px, 0.9vw, 12px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
}

.event_listing_bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.event_listing_text {
    min-width: 0;
}

.event_listing_venue {
    margin: 0 0 4px;
    font-family: var(--font-title);
    font-size: clamp(10px, 0.9vw, 12px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
}

.event_listing_category {
    display: inline-block;
    margin: 0 0 6px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-title);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.event_listing_title {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(14px, 1.5vw, 20px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.event_listing_title_link {
    color: inherit;
    text-decoration: none;
}

.event_listing_ticket_btn {
    flex-shrink: 0;
    text-decoration: none;
    background: #ffffff;
    color: #1a1a1a;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    padding: 8px 13px;
    white-space: nowrap;
    transition: background 180ms, color 180ms;
}

.event_listing_ticket_btn:hover {
    background: #f5f5f5;
    color: #111;
}

.event_detail_page {
    width: 100%;
    min-height: 100vh;
    background: #fde4c8;
    padding: 156px 0 60px;
    color: #1a1a1a;
    position: relative;
}

.event_detail_page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #fde4c8 0%, #fde4c8 100px, transparent 260px);
    pointer-events: none;
    z-index: 0;
}

.event_detail_shell {
    width: var(--page-width);
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.55);
    position: relative;
    z-index: 1;
}

.event_detail_grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(360px, 1.45fr);
    grid-template-rows: auto auto;
}

.event_detail_media {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    padding: clamp(14px, 1.8vw, 22px);
}

.event_detail_media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.event_detail_info {
    grid-column: 2;
    grid-row: 2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    padding: clamp(18px, 2.2vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.event_detail_description_panel {
    grid-column: 2;
    grid-row: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    padding: clamp(18px, 2.2vw, 36px);
}

.event_detail_category {
    margin: 0;
    width: max-content;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 6px 10px;
}

.event_detail_info h1 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(34px, 4vw, 62px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.event_detail_meta {
    display: grid;
    gap: 5px;
}

.event_detail_meta p {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.25;
    font-weight: 300;
}

.event_detail_meta strong {
    font-family: var(--font-title);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    font-weight: 700;
}

.event_description{
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(18px, 1.5vw, 26px);
    line-height: 1.22;
    font-weight: 300;
}

.event_detail_description {
    --collapsed-height: 210px;
    position: relative;
    width: 100%;
}

.event_detail_description_inner {
    max-height: none;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.event_detail_description.is-collapsible:not(.is-expanded)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 42px;
    height: 58px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, #f0ece8);
}


.event_detail_description p {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(18px, 1.5vw, 26px);
    line-height: 1.22;
    font-weight: 300;
}

.event_detail_description_toggle {
    margin-top: 12px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
}

.event_detail_description_toggle:hover {
    background: #f5f5f5;
    color: #111;
    border-color: rgba(0, 0, 0, 0.5);
}

.event_detail_location_link {
    color: rgba(0,0,0,0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.event_detail_location_link:hover {
    color: #1a1a1a;
}

.event_detail_get_tickets_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    padding: 13px 28px;
    transition: background 160ms, color 160ms, border-color 160ms;
}

.event_detail_get_tickets_btn:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}

.event_detail_footer {
    padding-top: 2px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.event_detail_socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.event_detail_socials a {
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 11px;
}

.event_detail_socials a:hover {
    background: #f5f5f5;
    color: #111;
    border-color: rgba(0, 0, 0, 0.5);
}

.event_detail_grid.is-description-expanded {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
}

.event_detail_grid.is-description-expanded .event_detail_media {
    grid-column: 1;
    grid-row: 1;
}

.event_detail_grid.is-description-expanded .event_detail_info {
    grid-column: 1;
    grid-row: 2;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.event_detail_grid.is-description-expanded .event_detail_description_panel {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.event_gallery {
    width: 100%;
    background: transparent;
    padding: 0 0 40px;
    position: relative;
    z-index: 1;
}

.event_gallery_shell {
    width: var(--page-width);
    margin: 0 auto;
    border-left: 1px solid rgba(0, 0, 0, 0.18);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.event_gallery_header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    padding: clamp(14px, 1.8vw, 24px) clamp(16px, 2.2vw, 36px);
}

.event_gallery_header h2 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(22px, 2.4vw, 36px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.event_gallery_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event_gallery_item {
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    display: block;
}

.event_gallery_item:nth-child(3n) {
    border-right: 0;
}

.event_gallery_item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.event_gallery_item:hover img {
    transform: scale(1.04);
    opacity: 0.88;
}

.event_gallery_lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event_gallery_lightbox[hidden] {
    display: none;
}

.event_gallery_lightbox_img {
    max-width: min(90vw, 1100px);
    max-height: 86vh;
    object-fit: contain;
    display: block;
    border: 1px solid rgba(255,255,255,0.12);
}

.event_gallery_lightbox_close,
.event_gallery_lightbox_prev,
.event_gallery_lightbox_next {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.55);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 20px;
    line-height: 1;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.15s;
}

.event_gallery_lightbox_close:hover,
.event_gallery_lightbox_prev:hover,
.event_gallery_lightbox_next:hover {
    background: rgba(255,255,255,0.18);
}

.event_gallery_lightbox_close {
    top: 18px;
    right: 18px;
    font-size: 24px;
}

.event_gallery_lightbox_prev {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.event_gallery_lightbox_next {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.page_surface--footer {
    background: #111;
}

.page_content {
    width: 100%;
    position: relative;
    will-change: transform;
}

.deck_scroll_track {
    width: 1px;
    opacity: 0;
    pointer-events: none;
}

.deck_progress_hint {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
}

.hero_title_wrap {
    border-bottom: 1px solid var(--edge);
    padding: 6px 0 18px;
    margin-bottom: 50px;
}

.hero_title {
    font-family: var(--font-body);
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.carousel_section {
    width: 90%;
    opacity: 1;
    height: 100%;
    margin: 0 auto;
}

.carousel_track {
    position: relative;
    height: min(calc(50vw + 100px), 840px);
    min-height: 360px;
    border: 1px solid var(--edge);
    overflow: hidden;
    background: #d8d8d8;
    cursor: none;
}

.carousel_slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.012);
    transition: opacity 420ms ease, transform 560ms ease;
}

.carousel_slide.is_active {
    opacity: 1;
    transform: scale(1);
}

.carousel_cursor_svg {
    position: fixed;
    left: 0;
    top: 0;
    width: 68px;
    height: 68px;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    z-index: 40;
    mix-blend-mode: difference;
    transition: opacity 140ms ease;
}

.carousel_cursor_svg img {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(1);
}

.carousel_cursor_svg.is_visible {
    opacity: 1;
}

.carousel_cursor_svg.is_left img {
    transform: scaleX(-1);
}

.carousel_cursor_svg.is_right img {
    transform: scaleX(1);
}

.carousel_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel_btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--edge);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.carousel_btn:hover {
    background: #fff;
}

.carousel_dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    display: none;
}

.carousel_dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px solid var(--edge);
    background: transparent;
    cursor: pointer;
}

.carousel_dot.is_active {
    background: var(--edge);
}

.info_split_section {
    margin-top: 0;
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f2f2f2;
    min-height: calc(50vh - 152px);
}

.info_split_section + .info_split_section {
    margin-top: 24px;
}

.info_split_text {
    padding: clamp(26px, 4vw, 50px);
    border-right: 1px solid var(--edge);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.info_split_text_right {
    border-right: 0;
    border-left: 1px solid var(--edge);
}

.info_split_text p {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(19px, 1.8vw, 31px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 300;
}

.pill_cta {
    font-family: var(--font-title);
    align-self: flex-start;
    text-decoration: none;
    color: #fff;
    background: #111;
    border: 1px solid #111;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 16px;
    letter-spacing: 0.01em;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pill_cta span {
    color: #fff;
}

.pill_cta:hover {
    background: #2a2a2a;
}

.location_link {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 3px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info_split_media {
    padding: clamp(16px, 2.4vw, 32px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info_split_media img {
    width: 100%;
    height: clamp(210px, 28vw, 430px);
    object-fit: cover;
    display: block;
}

.mini_carousel {
    position: relative;
    height: clamp(210px, 28vw, 430px);
    overflow: hidden;
    background: #ddd;
}

.mini_carousel_slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 420ms ease;
}

.mini_carousel_slide.is_active {
    opacity: 1;
}

.mini_carousel_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini_carousel_dots {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    display: none;
}

.mini_carousel_dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px solid var(--edge);
    background: transparent;
    cursor: pointer;
}

.mini_carousel_dot.is_active {
    background: var(--edge);
}

.events_board {
    margin: 0 auto;
    width: var(--page-width);
    /* border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18); */
    background: #fde4c8;
    color: #1a1a1a;
    --events-border: rgba(0, 0, 0, 0.18);
    display: flex;
    padding: 0 0 20px 0;
    flex-direction: column;
}

.spaces_board {
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    background: #d8edca;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.page_surface--offices-small .spaces_board {
    background: #fdf1be;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1a1a;
}

.page_surface--offices-medium .spaces_board {
    background: #c6e8f5;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1a1a;
}

.page_surface--offices-large .spaces_board {
    background: #f5d8cc;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1a1a;
}

.page_surface--offices-coworking {
    background: #e4ddf5;
}

.page_surface--offices-coworking .spaces_board {
    background: #e4ddf5;
    border-color: rgba(0, 0, 0, 0.18);
    color: #1a1a1a;
}

.page_surface--offices-coworking .spaces_board_header,
.page_surface--offices-coworking .spaces_board_intro,
.page_surface--offices-coworking .office_single_photos,
.page_surface--offices-coworking .office_single_photos img {
    border-color: rgba(243, 236, 255, 0.52);
}

.page_surface--offices-coworking .space_inquiry_btn {
    border-color: rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
}

.page_surface--offices-coworking .space_inquiry_btn:hover {
    background: #f5f5f5;
    color: #111;
}

.offices_board {
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    background: #ccd9e8;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offices_board_header {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.offices_board_title_wrap {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
    width: 100%;
}

.offices_board_title {
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(54px, 8vw, 110px);
    line-height: 0.93;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.offices_board_kicker {
    font-family: var(--font-title);
    margin: 18px 0 0;
    max-width: 760px;
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 700;
    line-height: 1.2;
}

.offices_board_intro {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(20px, 2.2vw, 34px);
    line-height: 1.22;
    font-weight: 300;
    letter-spacing: -0.01em;
    padding: clamp(28px, 4vw, 64px) clamp(18px, 4.5vw, 90px);
}

.offices_cards_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex: 1;
}

.office_card {
    aspect-ratio: 1 / 1;
    padding: clamp(28px, 3vw, 48px) clamp(22px, 2.5vw, 40px);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.office_card:nth-child(2n) {
    border-right: 0;
}

.office_card:nth-child(3),
.office_card:nth-child(4) {
    border-bottom: 0;
}

.office_card h3 {
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(26px, 2.8vw, 44px);
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.office_card_meta {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    opacity: 0.7;
    margin: 0;
}

.office_card_desc {
    font-family: var(--font-body);
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.5;
    margin: 0;
    font-weight: 300;
}

.office_card_specs {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3px;
    width: fit-content;
}

.office_spec_row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 8px;
    align-items: baseline;
}

.office_card_specs dt,
.office_card_specs dd {
    margin: 0;
}

.office_card_specs dt {
    font-family: var(--font-title);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    opacity: 0.7;
}

.office_card_specs dd {
    font-family: var(--font-body);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.3;
    font-weight: 300;
}

.office_card_body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin: 25px 0;
}

.office_card_left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.office_card_photo {
    width: 320px;
    height: 240px;
    border-radius: 0px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

.office_card_photo_inner {
    position: absolute;
    inset: 0;
    background: inherit;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.35s ease;
    border-radius: inherit;
}

.office_card_photo:hover .office_card_photo_inner {
    transform: scale(1.06);
    background: rgba(0, 0, 0, 0.13);
}

.office_card_features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.office_card_features li {
    font-family: var(--font-body);
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 300;
    opacity: 0.8;
    padding-left: 12px;
    position: relative;
}

.office_card_features li::before {
    content: '–';
    position: absolute;
    left: 0;
    opacity: 0.5;
}

.office_card_footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.office_card_price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}

.office_card_price_amount {
    font-family: var(--font-title);
    font-size: clamp(26px, 2.4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1a1a1a;
}

.office_card_price_note {
    font-family: var(--font-title);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.5;
    margin-top: 2px;
}

.office_inquiry_btn {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.office_inquiry_btn:hover {
    background: #f5f5f5;
    color: #111;
}

.office_card .space_meta {
    font-size: clamp(12px, 1vw, 16px);
    letter-spacing: 0.09em;
}

.office_card p:not(.space_meta) {
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 1.3;
    font-weight: 300;
}

.spaces_board_header {
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.spaces_board_title_wrap {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
    width: 100%;
}

.spaces_board_title {
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(54px, 8vw, 110px);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.spaces_board_kicker {
    font-family: var(--font-title);
    margin: 18px 0 0;
    max-width: 760px;
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 700;
    line-height: 1.2;
}

.spaces_board_intro {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(19px, 1.9vw, 31px);
    line-height: 1.22;
    font-weight: 300;
    letter-spacing: -0.01em;
    padding: clamp(24px, 3vw, 54px) clamp(18px, 4.5vw, 90px);
}

.spaces_cards_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-flow: row dense;
    align-items: stretch;
}

.space_offer_card {
    min-height: 420px;
    overflow: visible;
    padding: 32px 30px;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.space_offer_card:nth-child(5n) {
    border-right: 0;
}

@media (max-width: 1700px) {
    .spaces_cards_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .space_offer_card:nth-child(5n) {
        border-right: 1px solid rgba(0, 0, 0, 0.18);
    }

    .space_offer_card:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 1200px) {
    .spaces_cards_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .space_offer_card:nth-child(3n) {
        border-right: 1px solid rgba(0, 0, 0, 0.18);
    }

    .space_offer_card:nth-child(2n) {
        border-right: 0;
    }
}

.space_offer_header {
    padding-bottom: 0;
    min-height: 0;
    flex: 1;
}

.space_offer_header h3 {
    font-family: var(--font-title);
    margin: 0;
    font-size: 32px;
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.space_offer_meta {
    margin: 10px 0 0;
    font-family: var(--font-title);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 700;
    opacity: 0.92;
}

.space_offer_features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.space_offer_features li {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 300;
    padding-left: 12px;
    position: relative;
}

.space_offer_features li::before {
    content: '+';
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-title);
    font-weight: 700;
    opacity: 0.95;
}

.space_offer_photo_wrap {
    margin-top: 4px;
}

.space_offer_details_media {
    /* overflow: hidden; */
    border-radius: 4px;
    align-self: start;
}

.space_offer_photo {
    display: block;
    width: 100%;
    height: 340px!important;
    object-fit: cover;
    border-radius: 0px;
    height: fit-content;
    padding: 15px;
    transition: transform 0.22s ease;
}

.space_offer_photo:hover {
    transform: translateY(-6px);
}

.space_offer_price_row {
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    padding-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.space_offer_starting {
    margin: 0;
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.space_offer_price_block {
    text-align: right;
}

.space_offer_price {
    margin: 0;
    font-family: var(--font-title);
    font-size: 36px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.space_offer_price_note {
    margin: 4px 0 0;
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

.space_offer_btn {
    margin-top: 0;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.space_offer_btn:hover {
    background: #f5f5f5;
    color: #111;
}

.space_offer_summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    transition: width 0.24s ease;
}

/* ── Expanded full-row state ── */
@keyframes space_offer_detail_in {
    from { opacity: 0; transform: translateX(-14px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes space_offer_detail_out {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(-14px); }
}

.space_offer_card.is-open {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.space_offer_card.is-open .space_offer_summary {
    flex: none;
    width: clamp(160px, 16%, 220px);
    flex-shrink: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    padding-right: 24px;
}

.space_offer_card.is-open .space_offer_details {
    flex: 1;
    min-width: 0;
    overflow-y: visible;
    border-top: none;
    padding-top: 0;
    padding-left: 28px;
    animation: space_offer_detail_in 240ms ease forwards;
}

.spaces_cards_grid.has-open .space_offer_card:not(.is-open):not(.is-closing) {
    display: none;
}

.space_offer_card.is-closing .space_offer_details {
    animation: space_offer_detail_out 200ms ease forwards;
}

.space_offer_actions {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.space_offer_toggle {
    flex: 1;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.space_offer_toggle:hover {
    background: #f5f5f5;
}

.space_offer_card.is-open .space_offer_toggle {
    background: #f5f5f5;
}

.space_offer_details {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    padding-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
}

.space_offer_details[hidden] {
    display: none !important;
}

.space_offer_details_text {
    display: grid;
    gap: 12px;
    align-content: start;
}

.space_offer_desc {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 300;
}

.office_single {
    display: block;
}

.office_single_photos {
    display: flex;
    flex-direction: row;
    height: clamp(220px, 28vw, 420px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.office_single_photos img {
    flex: 1;
    min-width: 0;
    object-fit: cover;
    display: block;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.office_single_photos img:last-child {
    border-right: 0;
}

.office_single_content {
    padding: clamp(28px, 3vw, 54px) clamp(22px, 4.5vw, 90px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 2vw, 36px) clamp(28px, 4vw, 72px);
    align-items: start;
}

.office_single_content h3 {
    grid-column: 1 / -1;
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(26px, 2.8vw, 44px);
    line-height: 1.0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.office_single_content .space_meta {
    grid-column: 1 / -1;
    margin: 0;
}

.office_single_content .space_desc {
    grid-column: 1 / -1;
    margin: 0;
}

.office_single_content .space_inquiry_btn {
    grid-column: 1 / -1;
}

.space_card {
    min-height: 360px;
    padding: clamp(24px, 2.2vw, 34px) clamp(20px, 2.2vw, 30px);
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    background: transparent;
}

.space_card summary {
    list-style: none;
}

.space_card summary::-webkit-details-marker {
    display: none;
}

.space_card_summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    gap: 16px 18px;
    min-height: 100%;
    cursor: pointer;
}

.space_card_summary_text {
    display: grid;
    gap: 10px;
    grid-column: 1;
    grid-row: 1 / span 3;
}

.space_card:nth-child(2n) {
    border-right: 0;
}

.space_card[open] {
    grid-column: auto;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
    animation: space_card_expand 260ms ease;
}

.space_card.is-closing {
    grid-column: auto;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
    animation: space_card_collapse 220ms ease;
}

@keyframes space_card_expand {
    from {
        transform: scale(0.992);
    }
    to {
        transform: scale(1);
    }
}

@keyframes space_card_collapse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.994);
    }
}

.space_card h3 {
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(28px, 2.2vw, 40px);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-weight: 700;
}

.space_meta {
    font-family: var(--font-title);
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.85;
}

.space_card p {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.1vw, 20px);
    line-height: 1.3;
    font-weight: 300;
    max-width: 58ch;
}

.space_desc {
    margin-top: 2px;
}

.space_photo_strip {
    display: grid;
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    justify-self: end;
    grid-template-columns: 1fr;
    gap: 0;
}

.space_photo_strip img {
    width: clamp(92px, 9vw, 138px);
    height: clamp(92px, 9vw, 138px);
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 0;
    display: block;
    cursor: zoom-in;
}

.space_photo_strip img:not(:first-child) {
    display: none;
}

.space_expand_hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.85;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
}

.space_expand_hint::after {
    content: '+';
    font-size: 17px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.space_card[open] .space_expand_hint::after {
    content: '-';
    transform: rotate(180deg);
}

.space_card_body {
    margin-top: 14px;
    display: grid;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 320ms ease, opacity 240ms ease;
}

.space_card[open] .space_card_body,
.space_card--static .space_card_body {
    max-height: none;
    opacity: 1;
}

.space_card.is-closing .space_card_body {
    max-height: 0;
    opacity: 0;
}

.space_photo_lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.84);
    display: grid;
    place-items: center;
    padding: 24px;
}

.space_photo_lightbox[hidden] {
    display: none;
}

.space_photo_lightbox_img {
    display: block;
    max-width: min(94vw, 1400px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    background: #0f0f0f;
}

.space_photo_lightbox_close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: rgba(15, 15, 15, 0.65);
    color: #edf3e2;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

body.has-space-lightbox {
    overflow: hidden;
}

.space_specs--quick {
    margin-top: 8px;
}

.space_specs {
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 3px;
}

.space_spec_row {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 10px;
    align-items: baseline;
}

.space_specs dt,
.space_specs dd {
    margin: 0;
}

.space_specs dt {
    font-family: var(--font-title);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    opacity: 0.84;
}

.space_specs dd {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.08vw, 19px);
    line-height: 1.3;
    font-weight: 300;
}

.space_features {
    margin: 8px 0 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
}

.space_features li {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.02vw, 18px);
    line-height: 1.3;
    font-weight: 300;
}

.space_inquiry_btn {
    margin-top: 8px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 24px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.space_inquiry_btn:hover {
    background: #f5f5f5;
    color: #2d3a1d;
}

.footer_card {
    width: 100%;
    min-height: 100%;
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(48px, 7vw, 100px) clamp(28px, 5vw, 80px) 0;
    box-sizing: border-box;
    position: relative;
}

.footer_scroll_top {
    position: absolute;
    top: clamp(20px, 3vw, 40px);
    right: clamp(28px, 5vw, 80px);
    font-family: var(--font-body);
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 400;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: opacity 140ms;
}

.footer_scroll_top:hover {
    opacity: 0.7;
}

/* Brand section */
.footer_brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: clamp(40px, 6vw, 80px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer_logo_wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer_logo_svg {
    display: block;
    height: clamp(22px, 3.2vw, 46px);
    width: auto;
    opacity: 0.9;
}

.footer_tagline {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.4vw, 22px);
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.45;
    max-width: 520px;
}

/* Columns row */
.footer_columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(24px, 4vw, 60px);
    padding: clamp(40px, 6vw, 72px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer_col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer_col_label {
    font-family: var(--font-title);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
}

.footer_col nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_col_link {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 140ms;
}

.footer_col_link:hover {
    color: #fff;
}

.footer_col_value {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

/* Bottom bar */
.footer_bottom {
    padding: clamp(16px, 2vw, 26px) 0;
}

.footer_copy {
    margin: 0;
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
}

/* Legacy aliases kept for safety */
.footer_card h2,
.footer_card h3,
.footer_card p {
    margin: 0;
}

.events_board_header {
    display: flex;
}

.events_grid_side {
    min-height: 220px;
    background-image:
        linear-gradient(var(--edge) 1px, transparent 1px),
        linear-gradient(90deg, var(--edge) 1px, transparent 1px);
    background-size: 42px 42px;
}

.events_board_title_wrap {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
    margin: 0 auto;
    width: var(--page-width);
    border-bottom: 1px solid var(--events-border);
}

.events_board_title {
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(54px, 8vw, 110px);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.events_board_kicker {
    font-family: var(--font-title);
    margin: 18px 0 0;
    max-width: 640px;
    font-size: clamp(12px, 1vw, 18px);
    font-weight: 700;
    line-height: 1.2;
}

.events_board_intro {
    margin: 0;
    border-bottom: 1px solid var(--events-border);
    text-align: center;
    font-family: var(--font-body);
    font-size: clamp(16px, 1.5vw, 24px);
    line-height: 1.22;
    font-weight: 300;
    letter-spacing: -0.01em;
    padding: clamp(24px, 3vw, 54px) clamp(18px, 4.5vw, 90px);
}

.events_board_actions {
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.events_board_filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.events_board_filter {
    font-family: var(--font-title);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    background: transparent;
    color: #1a1a1a;
    padding: 7px 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.events_board_filter:hover {
    background: rgba(0, 0, 0, 0.06);
}

.events_board_filter.is-active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.events_board_link {
    text-decoration: none;
    background: #fff;
    color: #111;
    font-family: var(--font-title);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    padding: 10px 18px;
}

.events_board_link:hover {
    background: #f5f5f5;
}

.events_board_empty {
    padding: clamp(48px, 6vw, 90px) clamp(18px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.events_board_empty_title {
    font-family: var(--font-title);
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: #1a1a1a;
}

.events_board_empty_sub {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 300;
    margin: 0 0 10px;
    color: rgba(0, 0, 0, 0.55);
}

/* Events Grid */
.events_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: fit-content !important;
}

.event_card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: opacity 0.2s ease;
    border-top: 1px solid var(--events-border);
    border-bottom: 1px solid var(--events-border);
}

/* .event_card:nth-child(4n) {
    border-right: 0;
} */

.event_card:hover {
    opacity: 0.82;
}

.event_card_photo {
    width: 90%;
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
}

.event_card_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.event_card:hover .event_card_photo img {
    transform: scale(1.04);
}
.event_card:nth-child(2n){
    border-right: 1px solid var(--events-border);
}
.event_card:nth-child(3n){
    border-left: 1px solid var(--events-border);
}
.event_card:nth-child(4n){
    border-right: 0;
}
.event_card_info {
    padding: 10px 5px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.event_meta {
    font-family: var(--font-title);
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: #000000;
    display: inline-block;
    padding: 2px 0px;
}

.event_card_tag {
    display: inline-block;
    align-self: flex-start;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: var(--font-title);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.17);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.6);
    text-align: center;    
}

.event_card h3 {
    font-family: var(--font-title);
    margin: 0;
    font-size: clamp(15px, 1.3vw, 21px);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--text);
}

.sr_only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 2736px) {
    :root {
        --page-width: 88%;
    }

    .element a {
        font-size: 13px;
    }

    .romantso_main_logo {
        width: 160px;
    }

    .hero_title {
        max-width: 92%;
    }

    /* Office cards: drop the fixed square aspect ratio on tablets so content isn't squeezed */
    .office_card {
        aspect-ratio: auto;
        height: auto;
        overflow: visible;
    }

    .office_card_body {
        overflow: visible;
    }

    .office_card_photo {
        width: 100%;
        aspect-ratio: 2 / 1;
    }

    .office_card_body {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 900px) {
    /* Switch offices to a single-column stack on small tablets */
    .offices_cards_grid {
        grid-template-columns: 1fr;
    }

    .office_card {
        border-right: 0;
    }

    .office_card:nth-child(3),
    .office_card:nth-child(4) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    }

    .offices_board_intro {
        font-size: clamp(18px, 5vw, 26px);
        padding: clamp(20px, 4vw, 36px) clamp(16px, 4vw, 48px);
    }
}

@media (max-width: 720px) {
    :root {
        --page-width: 94%;
    }

    .navbar_out {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        backdrop-filter: none;
    }

    .page_root {
        position: relative;
        height: auto;
        overflow: visible;
        pointer-events: auto;
    }

    .deck_viewport,
    .page_deck,
    .page_card {
        position: relative;
        inset: auto;
        height: auto;
        overflow: visible;
        transform: none !important;
    }

    .deck_scroll_track {
        display: none;
    }

    .navbar_out {
        grid-template-columns: 1fr 1fr;
    }

    .svglogo {
        grid-column: 1 / -1;
        order: -1;
        border-left: 0;
        border-right: 0;
        border-bottom: 1px solid var(--edge);
    }

    .element {
        min-height: 66px;
        border-top: 1px solid var(--edge);
    }

    .element:nth-child(1),
    .element:nth-child(3) {
        border-left: 0;
    }

    .lang_toggle {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 52px;
        margin-left: auto;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .element a {
        font-size: 13px;
    }

    .hero_title_wrap {
        padding: 16px 0 18px;
    }

    .page_surface {
        height: auto;
        min-height: 100vh;
        padding-top: 26px;
    }

    .hero_title {
        font-size: clamp(36px, 12vw, 52px);
        line-height: 0.98;
    }

    .carousel_section {
        display: block;
    }

    .carousel_btn {
        display: none;
    }

    .carousel_track {
        height: calc(56vw + 100px);
        min-height: 330px;
        max-height: 760px;
    }

    .carousel_cursor_svg {
        display: none;
    }

    .info_split_section {
        grid-template-columns: 1fr;
    }

    .info_split_text_right {
        border-left: 0;
    }

    .info_split_text {
        border-right: 0;
        border-bottom: 1px solid var(--edge);
        gap: 18px;
        padding: 24px 20px;
    }

    .info_split_text p {
        font-size: clamp(21px, 7vw, 30px);
        line-height: 1.2;
    }

    .pill_cta {
        font-size: 15px;
        padding: 10px 18px;
    }

    .info_split_media {
        padding: 16px;
    }

    .events_board_header {
        grid-template-columns: 1fr;
    }

    .events_grid_side {
        display: none;
    }

    .events_board_title_wrap {
        min-height: 170px;
        border-left: 0;
        border-right: 0;
    }

    .events_board_title {
        font-size: clamp(44px, 14vw, 74px);
    }

    .spaces_board_title {
        font-size: clamp(44px, 14vw, 74px);
    }

    .offices_board_title {
        font-size: clamp(44px, 14vw, 74px);
    }

    .events_board_intro {
        font-size: clamp(21px, 7vw, 30px);
        padding: 24px 20px;
    }

    .events_catalog_page {
        padding-top: 28px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .event_detail_page {
        padding-top: 28px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .event_detail_shell {
        width: 94%;
    }

    .event_detail_grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .event_detail_media {
        grid-column: 1;
        grid-row: auto;
        border-right: 0;
    }

    .event_detail_info {
        grid-column: 1;
        grid-row: auto;
    }

    .event_detail_description_panel {
        grid-column: 1;
        grid-row: auto;
    }

    .event_detail_description {
        width: 100%;
    }

    .event_detail_footer {
        justify-content: flex-start;
    }

    .event_detail_socials {
        justify-content: flex-start;
    }

    .event_detail_grid.is-description-expanded {
        grid-template-columns: 1fr;
    }

    .event_detail_grid.is-description-expanded .event_detail_info,
    .event_detail_grid.is-description-expanded .event_detail_description_panel {
        grid-column: 1;
        grid-row: auto;
        border-right: 0;
    }

    .events_filter_fields {
        grid-template-columns: 1fr;
    }

    .events_listing_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .event_listing_card {
        aspect-ratio: 3 / 4;
    }

    .events_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event_card:nth-child(4n) {
        border-right: 1px solid var(--events-border);
    }

    .event_card:nth-child(2n) {
        border-right: 0;
    }

    .event_card h3 {
        font-size: clamp(14px, 3.5vw, 18px);
    }

    .spaces_board_title_wrap {
        min-height: 170px;
    }

    .spaces_board_intro {
        font-size: clamp(21px, 7vw, 30px);
        padding: 24px 20px;
    }

    .offices_board_intro {
        font-size: clamp(21px, 7vw, 30px);
        padding: 24px 20px;
    }

    .spaces_cards_grid {
        grid-template-columns: 1fr;
    }

    .space_offer_card {
        border-right: 0;
        min-height: 0;
        height: auto;
        gap: 14px;
        padding: 22px 18px;
    }

    .space_offer_card.is-open {
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .space_offer_card.is-open .space_offer_summary {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
        padding-right: 0;
        padding-bottom: 14px;
    }

    .space_offer_card.is-open .space_offer_details {
        overflow-y: visible;
        padding-left: 0;
        padding-top: 14px;
    }

    .space_offer_header {
        padding-bottom: 14px;
    }

    .space_offer_summary {
        height: auto;
    }

    .space_offer_actions {
        flex-wrap: wrap;
        margin-top: 0;
    }

    .space_offer_photo {
        height: 210px;
    }

    .space_offer_details {
        grid-template-columns: 1fr;
    }

    .space_offer_features {
        min-height: 0;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .space_offer_price_row {
        margin-top: 0;
        align-items: flex-start;
    }

    .space_offer_price {
        font-size: clamp(28px, 8vw, 40px);
    }


    .office_single_photos {
        height: 200px;
    }

    .office_single_content {
        grid-template-columns: 1fr;
        padding: clamp(22px, 5vw, 36px) clamp(18px, 5vw, 36px);
    }

    .offices_cards_grid {
        grid-template-columns: 1fr;
    }

    .space_card {
        border-right: 0;
        min-height: 0;
    }

    .office_card {
        border-right: 0;
        min-height: 0;
        aspect-ratio: auto;
        height: auto;
        overflow: visible;
    }

    .office_card_body {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .office_card_photo {
        width: 100%;
        aspect-ratio: 2 / 1;
    }

    .office_card:nth-child(3),
    .office_card:nth-child(4) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    }

    .space_offer_card.is-open {
        flex-direction: column;
        min-height: 0;
        overflow: visible;
        width: 100%;
    }

    .space_offer_card.is-open .space_offer_summary {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
        padding-right: 0;
        padding-bottom: 18px;
    }

    .space_offer_card.is-open .space_offer_details {
        border-top: none;
        padding-top: 18px;
        padding-left: 0;
        grid-template-columns: 1fr;
        animation: none;
        width: 100%;
        min-width: 0;
    }

    .space_offer_card.is-closing .space_offer_details {
        animation: none;
    }

    .office_spec_row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .space_card_summary {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto 1fr auto;
        gap: 10px 12px;
    }

    .space_photo_strip {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        align-self: end;
    }

    .space_photo_strip img {
        width: 90px;
        height: 90px;
    }

    .space_spec_row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .space_specs {
        gap: 8px;
    }

    .space_card[open] {
        grid-column: auto;
    }

    .footer_card {
        min-height: 0;
        background: transparent;
    }

    .footer_card_grid {
        grid-template-columns: 1fr;
    }



}


/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 2rem;
    background: white;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
}
.pagination-link.active, .pagination-link:hover {
    background: #111827;
    border-color: #111827;
    color: white;
}

/* ── Other Spaces ── */
.page_surface--other-spaces {
    background: #f2f2f2;
    padding-top: 96px;
}

.other_spaces_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 96px);
}

.other_spaces_header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 18px;
}

.other_spaces_title {
    font-family: var(--font-title);
    font-size: clamp(54px, 8vw, 110px);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.95;
    font-weight: 700;
    margin: 0;
}

.other_spaces_grid {
    display: flex;
    flex-direction: row;
    min-height: clamp(380px, 60vh, 700px);
}

.other_space_col {
    position: relative;
    overflow: hidden;
    flex: 1;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.other_space_col:last-child {
    border-right: 0;
}

.other_spaces_grid:hover .other_space_col {
    flex: 0.6;
}

.other_spaces_grid:hover .other_space_col:hover {
    flex: 1.8;
}

.other_space_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.other_space_col:hover .other_space_bg {
    transform: scale(1.04);
}

.other_space_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    transition: opacity 0.4s ease;
}

.other_space_col:hover .other_space_overlay {
    opacity: 0.75;
}

.other_space_name {
    position: absolute;
    bottom: clamp(20px, 3vw, 40px);
    left: clamp(20px, 2.5vw, 36px);
    color: #fff;
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    z-index: 1;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .other_spaces_grid {
        flex-direction: column;
        min-height: none;
    }

    .other_space_col {
        flex: none;
        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.18);
        min-height: 220px;
        transition: none;
    }

    .other_spaces_grid:hover .other_space_col,
    .other_spaces_grid:hover .other_space_col:hover {
        flex: none;
    }

    .other_space_col:last-child {
        border-bottom: 0;
    }
}