.mask-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    /* Large, but bounded by viewport height so the name stays on screen. The
       subtitle is positioned + width-matched in JS (layoutHeroLockup). */
    font-size: min(20vw, 40vh);
    text-anchor: middle;
    dominant-baseline: middle;
}

.mask-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.6vw, 4.5rem);
    /* Width (tracking) is driven by SVG textLength in JS so it always matches
       the name's width; no fixed letter-spacing here. */
    letter-spacing: normal;
    text-anchor: middle;
    dominant-baseline: middle;
    text-transform: uppercase;
}

#hero-track {
    position: relative;
    height: 650vh;
    width: 100%;
    overflow-x: clip;
}

/* Pre-JS initial states matching the intro timeline's from-values, so nothing
   flashes at its final position before GSAP's first render. hero.js reveals
   #layer2-text right after splitting it into animatable chars. */
#layer2-text {
    visibility: hidden;
}

#layer3-building,
#layer4-cloud-left,
#layer4-cloud-right {
    opacity: 0;
}

#layer1-background {
    z-index: 5;
    background: #111;
}

#hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
}

#hero-mask-contrast {
    position: absolute;
    inset: 0;
    z-index: 39;
    pointer-events: none;
    opacity: 0;
    background:
        linear-gradient(to bottom, rgba(245, 237, 218, 0.18), rgba(245, 237, 218, 0.54)),
        radial-gradient(circle at 50% 58%, rgba(0, 0, 0, 0.26), transparent 38%);
    mix-blend-mode: multiply;
}

#hero-photo-assembly {
    position: absolute;
    inset: 0;
    z-index: 80;
    pointer-events: none;
    overflow: hidden;
    contain: paint;
}

#hero-extra-content {
    position: absolute;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    overflow: hidden;
    contain: paint;
}

#hero-photo-layer-1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.15);
    transform-origin: center center;
    will-change: transform;
}

.photo-slice {
    position: absolute;
    left: 0;
    width: 100%;
    height: 25.1vh;
    overflow: hidden;
    opacity: 0;
    will-change: transform, opacity;
}

/* Each slice is a window onto one full-viewport cover image; the negative
   offset lines every band up into a single, undistorted, full-bleed photo. */
.photo-slice-img {
    position: absolute;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

/* Compositor-friendly stand-in for the old brightness() tween: a black overlay
   at opacity (1 - brightness) produces identical pixels without re-rasterizing
   the full-viewport image every scrubbed frame. */
.photo-slice-shade {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.5;
    pointer-events: none;
}

#slice-1 { top: 0; }
#slice-1 .photo-slice-img { top: 0; }
#slice-2 { top: 25vh; }
#slice-2 .photo-slice-img { top: -25vh; }
#slice-3 { top: 50vh; }
#slice-3 .photo-slice-img { top: -50vh; }
#slice-4 { top: 75vh; }
#slice-4 .photo-slice-img { top: -75vh; }

.hero-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    z-index: 60;
    opacity: 0;
}

.hero-content-region {
    /* Symmetric gap of each big title from the centre gutter */
    --hero-title-inset: clamp(1.5rem, 2.5vw, 3rem);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 70;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.region-cloud {
    position: absolute;
    transform: translateY(-50%);
    width: 45vw;
    opacity: 0;
    pointer-events: none;
    z-index: 75;
    filter: blur(8px);
}

#cloud-1 { top: 12.5vh; }
#cloud-2 { top: 37.5vh; }
#cloud-3 { top: 62.5vh; }
#cloud-4 { top: 87.5vh; }
.cloud-left { left: 0; }
.cloud-right { right: 0; }

.hero-content-col {
    width: 50vw;
    height: 100%;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-left {
    align-items: flex-end;
    padding-right: 32px;
}

.col-left-inner {
    width: 100%;
    max-width: 42vw;
    position: absolute;
    top: 50%;
    right: var(--hero-title-inset);
    left: auto;
    transform: translateY(-50%);
}

.col-right {
    align-items: flex-start;
    padding-left: 32px;
    position: relative;
}

.col-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
}

.col-right-inner {
    width: 100%;
    max-width: 32vw;
    position: absolute;
    top: 50%;
    left: 32px;
    transform: translateY(-50%);
}

.hero-main-word {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(42px, 3.5vw, 66px);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: left;
    margin: 0;
    line-height: 0.98;
}

.hero-main-line {
    display: block;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}

.hero-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 1.7vw, 25px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.55;
    opacity: 0.9;
    margin: 0;
    text-align: left;
}

.service-heading {
    text-wrap: balance;
}

@media (min-width: 769px) {
    #services-cards .service-heading {
        width: fit-content;
        max-width: calc(100vw - clamp(3rem, 6.7vw, 8rem));
        font-size: clamp(1.9rem, 3.2vw, 3.85rem);
        line-height: 1.1;
        letter-spacing: -0.035em;
    }

    .service-heading-line {
        display: block;
        white-space: nowrap;
    }

    /* Keep each hero region title on its two composed lines (never 3) */
    .hero-main-line {
        white-space: nowrap;
    }

    /* Titles converge on the centre: left-side justified right, right-side justified left */
    .hero-main-word {
        text-align: right;
    }

    .region-reverse .hero-main-word {
        text-align: left;
    }

    .service-heading-composed .line-content {
        white-space: nowrap;
    }

    .service-card h3 {
        min-height: 3.3em;
    }
}

.region-reverse {
    flex-direction: row-reverse;
}

.region-reverse .col-left {
    align-items: flex-start;
    padding-right: 0;
    padding-left: 32px;
    position: relative;
}

.region-reverse .col-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
}

.region-reverse .col-right::before {
    display: none;
}

.region-reverse .col-right {
    align-items: flex-end;
    padding-left: 0;
    padding-right: 32px;
    border-left: none;
}

.region-reverse .col-left-inner {
    left: var(--hero-title-inset);
    right: auto;
}

.region-reverse .col-right-inner {
    right: 32px;
    left: auto;
}

#hero-signature {
    position: absolute;
    bottom: 6vh;
    right: 5vw;
    z-index: 100;
    text-align: right;
    color: #fff;
    opacity: 0;
    pointer-events: none;
}

.sig-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: -0.5rem;
}

.sig-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 5.5rem;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.02em;
}

.sig-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.4rem;
    opacity: 0.8;
    margin-top: -0.2rem;
    font-weight: 300;
}

#layer5-mask svg,
#hero-mask-contrast,
#hero-overlay,
#layer3-building,
.mask-text,
.mask-subtitle {
    will-change: transform, opacity;
}

#layer5-mask svg {
    width: 100%;
    height: 100%;
    max-width: none;
}

#layer4-cloud-left,
#layer4-cloud-right {
    top: 32%;
}

.service-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.service-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    translate: -50% -50%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.75rem, 4vw, 4.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    /* White glow keeps it legible over both empty (white) panels and photos. */
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 1px 10px rgba(255, 255, 255, 0.7);
    animation: service-hint-pulse 1.9s ease-in-out infinite;
    --dir: 1;
}

/* The active card's image is visible, so its cue is hidden. */
.service-hint.is-card-active {
    opacity: 0 !important;
    animation: none;
}

@keyframes service-hint-pulse {
    0%, 100% {
        opacity: 0.45;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(calc(10px * var(--dir)));
    }
}

@media (hover: none) {
    .service-hint {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-hint {
        animation: none;
        opacity: 0.3;
    }
}

.lifestyle-section {
    padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.lifestyle-inner {
    width: min(100% - 2.5rem, 1320px);
    margin: 0 auto clamp(3rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.55fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
}

.lifestyle-kicker,
.exp-kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lifestyle-kicker {
    grid-column: 1 / -1;
    color: #2f5f62;
}

.lifestyle-heading {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.35rem, 5vw, 5.8rem);
    font-weight: 700;
    line-height: 0.98;
    max-width: 11ch;
}

.lifestyle-intro {
    margin: 0;
    color: rgba(0, 0, 0, 0.64);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.35;
}

.lifestyle-grid {
    width: min(100% - 2.5rem, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.lifestyle-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
}

.lifestyle-card-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.lifestyle-card-image picture,
.lifestyle-card-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.lifestyle-card-image img {
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifestyle-card:hover img {
    transform: scale(1.045);
}

.lifestyle-card-copy {
    padding: 0 0.2rem;
}

.lifestyle-card-copy span,
.exp-partnership-card span,
.exp-faq-group-heading span {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #2f5f62;
}

.lifestyle-card-copy h3 {
    margin: 0.8rem 0 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 2.3vw, 2.15rem);
    line-height: 1.06;
}

.lifestyle-card-copy p {
    margin: 0;
    color: rgba(0, 0, 0, 0.64);
    font-size: 1rem;
    line-height: 1.55;
}

#blueprint-section {
    background: #FFFFFF;
    position: relative;
    z-index: 50;
    width: 100%;
    min-height: 100vh;
    margin-top: 0;
    overflow-x: clip;
}

#blueprint-pin {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
}

#lisboa-animation-group {
    position: absolute;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    background: transparent;
}

.lisboa-pre-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.8vw, 2rem);
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    /* Shrinks on narrower viewports so the whole line fits and space-between can
       spread it symmetrically (caps at 0.8em on large screens). */
    letter-spacing: clamp(0.35em, calc(1.7vw - 6px), 0.8em);
    /* Guaranteed minimum space between words; space-between adds more when there
       is room, so the row still fills the full width on large screens. */
    column-gap: 1.25rem;
    padding: 0 5vw;
    background: #fff;
    box-sizing: border-box;
    position: absolute;
    top: 50px;
    left: 0;
    height: 100px;
    z-index: 10;
    opacity: 1;
}

#lisboa-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 110%;
    left: 0;
    transform: translateY(-50%);
    z-index: 30;
}



.lisboa-line {
    flex: 1;
    height: 1px;
    background: #000;
}

.lisboa-label {
    padding: 0 30px;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: #000;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

#map-ui-wrapper {
    --map-accent: #b55245;
    position: absolute;
    inset: 0;
    z-index: 100;
    background: #fff;
    display: grid;
    grid-template-columns: minmax(11rem, 1fr) auto minmax(11rem, 1fr);
    grid-template-rows: 1fr 1fr;
    column-gap: clamp(1.5rem, 2.5vw, 3.5rem);
    padding: clamp(5rem, 9vh, 7rem) clamp(1.5rem, 2.5vw, 3rem) clamp(1.25rem, 2.2vw, 2rem);
    box-sizing: border-box;
    clip-path: inset(100% 0 0 0);
}

#divider-wrapper {
    z-index: 110;
}

#lisboa-animation-group {
    z-index: 60;
}

#map-container {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    width: min(56vw, calc(100vh - 5.5rem), 900px);
    max-width: 900px;
    aspect-ratio: 1/1;
    position: relative;
    margin: 0 auto;
}

.map-ui-panel {
    position: relative;
}

.map-ui-left {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
    justify-self: start;
}

.map-ui-right {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    justify-self: end;
}

.map-ui-left,
.map-ui-right {
    width: 100%;
    max-width: 17rem;
}

.map-guidance-cta {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-self: end;
}

@media (min-width: 769px) {
    .map-ui-left-btn,
    .map-ui-right-btn {
        display: inline-block;
        width: max-content;
        max-width: none;
        white-space: nowrap;
        text-align: center;
        padding-left: clamp(1.1rem, 1.6vw, 2rem) !important;
        padding-right: clamp(1.1rem, 1.6vw, 2rem) !important;
    }
}

.lisboa-pre-text span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.architectural-map {
    width: 100%;
    height: 100%;
    display: block;
}

.architectural-map path {
    fill: none !important;
}

.architectural-map {
    pointer-events: auto;
    shape-rendering: geometricPrecision;
}

.architectural-map #primary-roads,
.architectural-map #secondary-roads,
.architectural-map #tertiary-roads {
    pointer-events: none;
}

/* While the user is actively scrubbing the map, skip antialiasing on the dense
   road geometry (cheap to repaint) and revert to crisp rendering once motion
   settles. Toggled by blueprint-map.js. */
#map-container.is-scrubbing .architectural-map path {
    shape-rendering: optimizeSpeed;
    will-change: stroke-dashoffset;
}

.architectural-map path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    --progress: clamp(0, (var(--master-progress, 0) - var(--p-delay, 0)) * var(--p-speed, 8), 1);
    stroke-dashoffset: calc(1 - var(--progress));
    visibility: visible;
}

#map-container {
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: paint;
}

/* ── Architectural map locators ── */
/* Inherits #map-container's padding so the overlay's box (and therefore its
   viewBox scaling) always matches the in-flow road SVG exactly. */
.map-pins-overlay-box {
    position: absolute;
    inset: 0;
    padding: inherit;
    pointer-events: none;
}

.map-pins-overlay {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Own compositing layer: pin reveal/hover repaints stay off the road layer. */
    transform: translateZ(0);
}

.map-pin {
    pointer-events: auto;
    cursor: pointer;
    outline: none;
}

.pin-hit {
    fill: transparent;
    pointer-events: all;
}

.pin-marker {
    transform-box: fill-box;
    transform-origin: center;
}

.pin-icon {
    fill: none;
    stroke: var(--map-accent);
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 180ms ease, stroke-width 180ms ease;
}

.pin-icon-bg {
    fill: #ffffff;
    stroke: var(--map-accent);
    stroke-width: 0.85;
    transition: fill 180ms ease, stroke 180ms ease;
}

.pin-icon circle {
    fill: var(--map-accent);
    stroke: none;
}

.map-pin:hover .pin-icon,
.map-pin:focus .pin-icon,
.map-pin:focus-visible .pin-icon,
.map-pin.is-selected .pin-icon {
    stroke: #ffffff;
    stroke-width: 1.65;
}

.map-pin:hover .pin-icon circle,
.map-pin:focus .pin-icon circle,
.map-pin:focus-visible .pin-icon circle,
.map-pin.is-selected .pin-icon circle {
    fill: #ffffff;
}

.map-pin:hover .pin-icon-bg,
.map-pin:focus .pin-icon-bg,
.map-pin:focus-visible .pin-icon-bg,
.map-pin.is-selected .pin-icon-bg {
    fill: var(--map-accent);
    stroke: var(--map-accent);
}

.map-landmark-index {
    width: 100%;
    max-width: 17rem;
    border-top: 1px solid #111111;
    padding-top: 0.7rem;
    text-align: left;
    align-self: flex-end;
}

.map-landmark-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #111111;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    color: #4d4d4d;
}

.map-landmark-hint::before,
.map-landmark-hint::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    background: #111111;
}

.map-landmark-current {
    display: flex;
    flex-direction: column;
    height: 6rem;
    margin-top: 0.7rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #111111;
    box-sizing: border-box;
}

.map-landmark-name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #333333;
    transition: color 180ms ease;
}

.map-landmark-description {
    display: block;
    min-height: 3em;
    margin-top: 0.35rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.025em;
    color: #777777;
    transition: color 180ms ease;
}

.map-landmark-index.is-active .map-landmark-name {
    color: #050505;
}

.map-landmark-index.is-active .map-landmark-description {
    color: #4a4a4a;
}

.map-guidance-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 17rem;
    gap: 1rem;
    text-align: left;
}

.map-guidance-cta .map-ui-right-text {
    max-width: none !important;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.15rem, 1.55vw, 1.55rem) !important;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;
    text-align: left;
}

.map-ui-right-contact {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    font-style: italic;
    line-height: 1.2;
    text-align: left;
}

.map-guidance-cta .map-ui-right-btn {
    margin-top: 0.35rem;
}

/* Left panel mirrors the CTA's type hierarchy: bold bridging statement,
   short italic invite, then the action. */
.map-ui-left-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.15rem, 1.55vw, 1.55rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
    text-align: left;
}

.map-ui-left-text {
    margin: 0.9rem 0 0;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    line-height: 1.2;
    text-align: left;
}

.map-ui-left-btn {
    margin-top: 1.6rem;
}

#hero-photo-layer-1,
#layer3-building,
.service-img,
.lifestyle-card-image img,
.parallax-img,
.kr-pillar-line {
    transform: translateZ(0);
    backface-visibility: hidden;
}

#primary-roads { --g-delay: 0; }
#secondary-roads { --g-delay: 0.15; }
#tertiary-roads { --g-delay: 0.3; }

#kr-reveal {
    background: #FFFFFF;
    position: relative;
    z-index: 200;
    overflow-x: clip;
}

#kr-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.kr-hero-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.kr-hero-top {
    top: 15%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 3.8rem);
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
}

.kr-hero-top .faded {
    color: rgba(0, 0, 0, 0.3);
}

.kr-hero-bottom {
    bottom: 12%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.9;
    max-width: 620px;
    white-space: normal;
}

.kr-hero-bottom .bold-white {
    font-weight: 600;
    color: #000000;
}

.kr-copy-line {
    display: block;
}

@media (min-width: 769px) {
    .kr-hero-bottom {
        width: min(90vw, 1040px);
        max-width: none;
        text-align: center;
    }

    .kr-copy-line {
        white-space: nowrap;
    }
}

.kr-pillars-container {
    position: absolute;
    top: 30vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 26px;
    z-index: 2;
    /* Bound by viewport height so on short screens the pillar block stays above
       the "It's about identity..." copy instead of colliding with it. */
    height: min(445px, 36vh);
    align-items: center;
    justify-content: center;
}

.kr-pillar {
    position: relative;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 100%;
    overflow: hidden;
}

.kr-pillar .word {
    position: relative;
    z-index: 2;
}

.kr-pillar .char {
    display: inline-block;
    will-change: opacity, transform;
}

.kr-pillar-line {
    position: absolute;
    top: 0;
    left: 50%;
    /* Anchored at the top so scaleY draws downward; horizontally centred via
       GSAP xPercent (size-reactive) so it stays centred when it expands to the
       full-width band. height:100% keeps it filling the (growing) pillar. */
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0;
    transform-origin: top center;
}

.kr-cta-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}

.kr-cta-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.05em;
}

.kr-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 1.2rem 3rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0;
    pointer-events: none;
    text-decoration: none;
}

.kr-cta-btn:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.kr-top-tagline {
    position: absolute;
    left: 50%;
    top: 30vh;
    transform: translate(-50%, -100%);
    font-family: 'Playfair Display', serif;
    /* Sized to stay on a single line across desktop/tablet widths; phones wrap
       via the <=768px override below. */
    font-size: clamp(1.6rem, 4vw, 3.8rem);
    font-weight: 700;
    color: #000000;
    white-space: nowrap;
    text-align: center;
    line-height: 1.05;
    opacity: 0;
    z-index: 10;
    padding-bottom: 10px;
}

/* Portuguese copy is shorter than the English reference, so it can carry a
   slightly larger top line while its CTA line stays visually balanced. */
html[lang="pt"] .kr-top-tagline {
    font-size: clamp(1.7rem, 4.3vw, 4.1rem);
}

html[lang="pt"] .kr-cta-text {
    font-size: clamp(2rem, 4.75vw, 4.3rem);
}

.exp-page {
    background: #ffffff;
    color: #101010;
    min-height: 100vh;
}

.exp-hero {
    min-height: min(82vh, 760px);
    padding: clamp(8rem, 13vw, 12rem) clamp(1.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.55fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    background:
        linear-gradient(135deg, rgba(8, 16, 22, 0.94), rgba(20, 43, 55, 0.88)),
        image-set(
            url('/assets/images/lisbonog_vopt.webp') type('image/webp'),
            url('/assets/images/lisbonog_vopt.jpg') type('image/jpeg')
        );
    background-size: cover;
    background-position: center;
    color: #fff;
}

.exp-kicker {
    margin: 0 0 1.2rem;
    color: #8bc7cf;
}

.exp-hero h1 {
    margin: 0;
    max-width: 11ch;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(3rem, 7vw, 7.4rem);
    font-weight: 800;
    line-height: 0.92;
}

.exp-hero > p,
.exp-hero-copy {
    margin: 0;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1.38;
}

.exp-hero-copy p {
    margin: 0;
}

.exp-hero-copy p + p {
    margin-top: 1rem;
}

.exp-faq-layout,
.exp-partnership-grid,
.exp-note,
.exp-start-layout {
    width: min(100% - 2.5rem, 1160px);
    margin-left: auto;
    margin-right: auto;
}

.exp-faq-layout {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.exp-faq-group {
    display: grid;
    grid-template-columns: minmax(16rem, 0.38fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2.75rem, 5vw, 4.5rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.exp-faq-group-heading {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.exp-faq-group-heading p {
    margin: 0 0 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
}

.exp-faq-group-heading h2,
.exp-partnership-card h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 2.8vw, 3rem);
    line-height: 1.05;
}

.exp-faq-list {
    display: grid;
    gap: 0.85rem;
}

.exp-faq-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
}

.exp-faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.3rem 1.35rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 700;
    line-height: 1.25;
    list-style: none;
}

.exp-faq-item summary::-webkit-details-marker {
    display: none;
}

.exp-faq-item summary span:last-child {
    flex: 0 0 auto;
    color: #2f5f62;
}

.exp-faq-item[open] summary span:last-child {
    transform: rotate(45deg);
}

.exp-faq-item p {
    margin: 0;
    padding: 0 1.35rem 1.45rem;
    color: rgba(0, 0, 0, 0.68);
    font-size: 1rem;
    line-height: 1.62;
}

.exp-note {
    margin-bottom: clamp(4.5rem, 8vw, 7rem);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background: #eef6f5;
    border-left: 4px solid #2f5f62;
}

.exp-note p {
    margin: 0;
    max-width: 58rem;
    color: rgba(0, 0, 0, 0.72);
    font-size: 1rem;
    line-height: 1.65;
}

.exp-partnership-grid {
    padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.exp-partnership-card {
    min-height: 22rem;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.exp-partnership-card h2 {
    margin-top: 1.2rem;
}

.exp-partnership-card p {
    margin: 1rem 0 0;
    color: rgba(0, 0, 0, 0.64);
    line-height: 1.6;
}

.exp-partnership-card .exp-partnership-card-subtitle {
    color: #101010;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.35vw, 1.3rem);
    font-weight: 700;
    line-height: 1.25;
}

.exp-partnership-card strong {
    color: #101010;
}

html[lang="pt"] .exp-partnership-grid {
    grid-template-columns: minmax(0, 860px);
    justify-content: center;
}

html[lang="pt"] .exp-partnership-card {
    min-height: 0;
    justify-content: flex-start;
}

.exp-partnership-note {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.exp-partnership-note a {
    flex: 0 0 auto;
    padding: 0.9rem 1.2rem;
    color: #fff;
    background: #2f5f62;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.exp-start-layout {
    width: min(100% - 2.5rem, 760px);
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.exp-start-form {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
}

.exp-start-field,
.exp-start-fieldset {
    display: grid;
    gap: 0.65rem;
}

.exp-start-fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.exp-start-field label,
.exp-start-fieldset legend {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.exp-start-field input,
.exp-start-field textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 0;
    padding: 0.85rem 0.95rem;
    color: #101010;
    font-size: 1rem;
    line-height: 1.5;
}

.exp-start-field input:focus,
.exp-start-field textarea:focus,
.exp-start-options input:focus-visible {
    outline: 2px solid #2f5f62;
    outline-offset: 2px;
}

.exp-start-options {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.15rem;
}

.exp-start-options label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(0, 0, 0, 0.72);
    font-size: 1rem;
    line-height: 1.55;
    cursor: pointer;
}

.exp-start-options input {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    margin-top: 0.28rem;
    accent-color: #2f5f62;
}

.exp-start-submit {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    align-items: center;
    margin-top: 0.5rem;
}

.exp-start-submit button {
    border: 0;
    border-radius: 0;
    padding: 1rem 1.3rem;
    color: #fff;
    background: #2f5f62;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.exp-start-submit button:hover {
    background: #183d40;
}

.exp-start-submit p {
    margin: 0;
    color: rgba(0, 0, 0, 0.56);
    font-size: 0.9rem;
    line-height: 1.45;
}

.exp-start-submit .exp-start-feedback {
    flex-basis: 100%;
    color: #2f5f62;
}

.lifestyle-page {
    background: #ffffff;
    color: #050505;
}

.lifestyle-hero {
    min-height: 100vh;
    padding: clamp(8rem, 12vw, 12rem) clamp(1.25rem, 4vw, 4rem) clamp(3rem, 7vw, 6rem);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.62fr);
    gap: clamp(2rem, 6vw, 7rem);
    align-items: end;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.lifestyle-hero-copy h1,
.lifestyle-editorial-section h2,
.lifestyle-split-heading h2,
.lifestyle-food h2,
.lifestyle-closing h2 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 850;
    letter-spacing: 0;
}

.lifestyle-hero-copy h1 {
    max-width: 7.5ch;
    font-size: clamp(4rem, 11vw, 12rem);
    line-height: 0.82;
}

.lifestyle-kicker,
.lifestyle-section-label p,
.lifestyle-split-heading p,
.lifestyle-food-copy > span {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #2f5f62;
}

.lifestyle-hero-intro {
    max-width: 34rem;
    margin: clamp(1.6rem, 3vw, 2.6rem) 0 0;
    color: rgba(0, 0, 0, 0.62);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
    line-height: 1.3;
}

.lifestyle-hero-media {
    align-self: stretch;
    min-height: 32rem;
    overflow: hidden;
}

.lifestyle-hero-media > div,
.lifestyle-hero-media picture,
.lifestyle-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.lifestyle-hero-media img {
    object-fit: cover;
}

.lifestyle-index {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.lifestyle-index a {
    min-height: 4.2rem;
    padding: 0.95rem clamp(0.8rem, 1.8vw, 1.4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    color: #050505;
    border-right: 1px solid rgba(0, 0, 0, 0.10);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.72rem, 1vw, 0.95rem);
    font-weight: 720;
    line-height: 1.1;
}

.lifestyle-index a:last-child {
    border-right: none;
}

.lifestyle-index span {
    color: rgba(0, 0, 0, 0.34);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
}

.lifestyle-editorial-section,
.lifestyle-housing,
.lifestyle-food,
.lifestyle-regions,
.lifestyle-closing {
    padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4rem);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.lifestyle-editorial-section {
    display: grid;
    grid-template-columns: minmax(10rem, 0.28fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 8rem);
    align-items: start;
}

.lifestyle-section-label {
    position: sticky;
    top: 6.5rem;
    display: grid;
    gap: 0.65rem;
}

.lifestyle-section-label span,
.lifestyle-split-heading span,
.housing-card span,
.culture-list span,
.lifestyle-food-list span,
.region-card span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 780;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.38);
}

.lifestyle-editorial-section h2,
.lifestyle-split-heading h2,
.lifestyle-food h2,
.lifestyle-closing h2 {
    max-width: 10ch;
    font-size: clamp(3rem, 7.2vw, 8rem);
    line-height: 0.88;
}

.lifestyle-large-copy,
.lifestyle-section-intro,
.lifestyle-food-copy p {
    max-width: 56rem;
    color: rgba(0, 0, 0, 0.68);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.4vw, 2.25rem);
    line-height: 1.35;
}

.lifestyle-note-grid {
    margin-top: clamp(2.5rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.lifestyle-note-grid article,
.housing-card,
.culture-list article,
.lifestyle-food-list div,
.region-card {
    background: #ffffff;
}

.lifestyle-note-grid article {
    min-height: 15rem;
    padding: clamp(1.3rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lifestyle-note-grid p,
.housing-card p,
.culture-list p,
.lifestyle-food-list p,
.region-card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.64);
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.55;
}

.lifestyle-note-grid span,
.housing-card span,
.culture-list span,
.lifestyle-food-list span,
.region-card span {
    display: block;
    margin-bottom: 0.85rem;
    color: #2f5f62;
}

.lifestyle-split-heading {
    display: grid;
    grid-template-columns: minmax(10rem, 0.28fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 8rem);
    align-items: start;
}

.lifestyle-split-heading > div {
    display: grid;
    gap: 0.65rem;
}

.lifestyle-section-intro {
    margin: clamp(2rem, 4vw, 3.5rem) 0 0 auto;
}

.housing-grid {
    margin-top: clamp(2.8rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.housing-card {
    min-height: 22rem;
    padding: clamp(1.2rem, 2vw, 1.8rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.housing-card h3,
.region-card h3 {
    margin: 0 0 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.35rem, 2vw, 2.15rem);
    font-weight: 780;
    line-height: 1;
}

.culture-list {
    margin-top: clamp(2.5rem, 5vw, 5rem);
    display: grid;
    gap: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.culture-list article {
    padding: clamp(1.2rem, 2vw, 1.7rem) 0;
    display: grid;
    grid-template-columns: minmax(9rem, 0.25fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 5rem);
}

.culture-list article > * {
    padding-left: clamp(1.2rem, 2vw, 1.7rem);
    padding-right: clamp(1.2rem, 2vw, 1.7rem);
}

.lifestyle-food {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.72fr);
    gap: clamp(2rem, 7vw, 8rem);
    align-items: center;
    background: #071313;
    color: #ffffff;
}

.lifestyle-food h2 {
    color: #ffffff;
}

.lifestyle-food-copy p,
.lifestyle-food-list p {
    color: rgba(255, 255, 255, 0.68);
}

.lifestyle-food-list {
    display: grid;
    gap: 1px;
    background: rgba(255, 255, 255, 0.16);
}

.lifestyle-food-list div {
    min-height: 10rem;
    padding: clamp(1.2rem, 2.5vw, 2rem);
    background: #071313;
}

.lifestyle-food-list span {
    color: #b6d4cf;
}

.regions-grid {
    margin-top: clamp(2.8rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.region-card {
    min-height: 18rem;
    padding: clamp(1.2rem, 2.2vw, 1.8rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lifestyle-closing {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lifestyle-closing h2 {
    max-width: 12ch;
}

.lifestyle-closing a {
    width: max-content;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: #050505;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 1.8vw, 1.8rem);
    font-weight: 780;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.16em;
}

.lifestyle-process-page {
    background: #ffffff;
    color: #050505;
    font-family: 'Montserrat', sans-serif;
}

.lp-hero {
    min-height: 78vh;
    padding: clamp(8rem, 16vw, 16rem) clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem);
    display: flex;
    align-items: flex-end;
}

.lp-hero-statement {
    max-width: 19ch;
    margin: 0;
    color: #050505;
    font-size: clamp(3.75rem, 7.2vw, 8.4rem);
    font-weight: 850;
    line-height: 0.96;
    letter-spacing: 0;
}

.lp-hero-statement span {
    color: #cfd4d2;
}

.lp-hero-statement span,
.lp-hero-statement strong {
    display: block;
}

.lp-hero-statement strong {
    color: #050505;
    font: inherit;
}

.lp-image-band {
    height: clamp(22rem, 46vw, 40rem);
    margin: 0 clamp(1.25rem, 3vw, 2rem);
    overflow: hidden;
}

.lp-image-band > div,
.lp-image-band picture,
.lp-image-band img {
    display: block;
    width: 100%;
    height: 100%;
}

.lp-image-band img {
    object-fit: cover;
}

.lp-quote {
    min-height: 62vh;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 3vw, 2rem);
    display: flex;
    align-items: center;
}

.lp-quote h2 {
    max-width: 17ch;
    margin: 0;
    font-size: clamp(3.2rem, 7.4vw, 8.8rem);
    font-weight: 850;
    line-height: 0.96;
    letter-spacing: 0;
}

.lp-philosophy,
.lp-guide-intro {
    min-height: clamp(28rem, 48vh, 40rem);
    padding: clamp(3.5rem, 5vw, 5rem) clamp(1.25rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: minmax(14rem, 0.48fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 9rem);
    align-items: start;
}

.lp-section-label {
    display: flex;
    gap: 0.65rem;
    align-items: baseline;
    color: #050505;
    font-size: clamp(0.82rem, 1.05vw, 1rem);
    font-weight: 760;
    line-height: 1;
    text-transform: uppercase;
}

.lp-section-label span {
    color: #c8cecc;
}

.lp-section-label strong {
    font-weight: 820;
}

.lp-philosophy-copy p,
.lp-guide-copy h2 {
    max-width: 42rem;
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3.7rem);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: 0;
}

.lp-guide-copy {
    display: grid;
    align-content: start;
    gap: clamp(1.75rem, 2.5vw, 3rem);
}

.lp-guide-copy p {
    max-width: 28rem;
    margin: 0;
    color: #050505;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 720;
    line-height: 1.18;
}

.lp-two-images {
    padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(7rem, 12vw, 11rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.lp-two-images picture {
    height: clamp(16rem, 29vw, 28rem);
    display: block;
    overflow: hidden;
    background: #e4e7e3;
}

.lp-two-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-two-images picture:nth-child(2) img {
    object-fit: contain;
    padding: 3rem;
    background: #d7ddd8;
}

.lp-topic-list {
    padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.lp-topic-row {
    min-height: clamp(31rem, 58vh, 46rem);
    display: grid;
    grid-template-columns: minmax(18rem, 0.66fr) minmax(24rem, 0.74fr) minmax(16rem, 0.48fr);
    gap: clamp(2rem, 5vw, 6rem);
    padding: clamp(2.25rem, 4vw, 3.8rem) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
    align-items: start;
}

.lp-topic-title {
    display: grid;
    gap: clamp(1rem, 2vw, 1.75rem);
}

.lp-topic-title > span {
    color: #c8cecc;
    font-size: clamp(0.8rem, 1vw, 1rem);
    font-weight: 760;
}

.lp-topic-title h2 {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(2.6rem, 4.2vw, 5.4rem);
    font-weight: 840;
    line-height: 0.95;
    letter-spacing: 0;
}

.lp-topic-content {
    align-self: center;
}

.lp-topic-label {
    margin: 0 0 clamp(1rem, 2vw, 1.6rem);
    color: #050505;
    font-size: clamp(0.82rem, 1vw, 1rem);
    font-weight: 820;
    line-height: 1;
    text-transform: uppercase;
}

.lp-topic-body {
    max-width: 38rem;
    margin: 0;
    color: #050505;
    font-size: clamp(1.28rem, 1.85vw, 2rem);
    font-weight: 720;
    line-height: 1.16;
}

.lp-topic-details {
    margin-top: clamp(2rem, 3.5vw, 3.5rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.1rem, 2vw, 1.75rem);
}

.lp-topic-details div {
    max-width: 22rem;
}

.lp-topic-details span {
    display: block;
    margin-bottom: 0.35rem;
    color: #c8cecc;
    font-size: 0.72rem;
    font-weight: 780;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lp-topic-details p {
    margin: 0;
    color: rgba(0, 0, 0, 0.72);
    font-size: clamp(0.88rem, 1vw, 1rem);
    font-weight: 600;
    line-height: 1.42;
}

.lp-topic-visual {
    height: clamp(12rem, 24vw, 20rem);
    align-self: start;
    overflow: hidden;
    margin: 0;
    background: #e4e7e3;
}

.lp-topic-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-topic-visual-sun {
    background: #9a371f;
}

.lp-topic-visual-sun span {
    width: clamp(6rem, 11vw, 11rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #050505;
    box-shadow: 0 0 0 22px rgba(5, 5, 5, 0.12), 0 0 0 44px rgba(5, 5, 5, 0.08);
}

.lp-topic-visual-house {
    background: #d8ded9;
}

.lp-topic-visual-house span {
    width: clamp(7rem, 12vw, 12rem);
    height: clamp(5rem, 8vw, 8rem);
    border: 14px solid #050505;
    border-top: 0;
    position: relative;
}

.lp-topic-visual-house span::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 70%;
    aspect-ratio: 1;
    border-left: 14px solid #050505;
    border-top: 14px solid #050505;
    transform: translate(-50%, 48%) rotate(45deg);
}

.lp-topic-visual-ring {
    background: #cfd4d2;
}

.lp-topic-visual-ring span {
    width: clamp(8rem, 13vw, 13rem);
    aspect-ratio: 1;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 10px, #050505 11px 18px);
}

.lp-topic-visual-table {
    background: #071313;
}

.lp-topic-visual-table span {
    width: clamp(8rem, 13vw, 13rem);
    height: clamp(4rem, 6vw, 6rem);
    border-radius: 999px 999px 22px 22px;
    border: 14px solid #ffffff;
    border-bottom-width: 26px;
}

.lp-topic-visual-map {
    background: #ede8df;
}

.lp-topic-visual-map span {
    width: clamp(8rem, 13vw, 13rem);
    aspect-ratio: 1;
    background:
        linear-gradient(90deg, transparent 48%, #050505 49% 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, #050505 49% 51%, transparent 52%);
    transform: rotate(8deg);
}

.lp-closing {
    min-height: 84vh;
    padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: minmax(14rem, 0.48fr) minmax(0, 1fr);
    gap: clamp(2rem, 7vw, 9rem);
    align-items: center;
}

.lp-closing h2 {
    max-width: 11ch;
    margin: 0;
    font-size: clamp(3.2rem, 7.8vw, 9rem);
    font-weight: 850;
    line-height: 0.92;
    letter-spacing: 0;
}

.lp-closing a {
    width: max-content;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    display: inline-block;
    color: #050505;
    font-size: clamp(1.1rem, 1.5vw, 1.6rem);
    font-weight: 780;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.16em;
}

@media (max-width: 1200px) {
    .hero-description {
        font-size: clamp(20px, 2.2vw, 24px);
    }

    .sig-name {
        font-size: clamp(3.8rem, 7vw, 5.5rem);
    }

    .lisboa-pre-text {
        font-size: clamp(1rem, 2.4vw, 1.8rem);
        letter-spacing: 0.55em;
    }

}

@media (max-width: 1024px) {
    #hero-track {
        height: 600vh;
    }

    #layer2-text {
        padding: 0 2rem;
        text-align: center;
    }

    #layer2-text h1 {
        font-size: clamp(3.2rem, 12vw, 7rem);
        line-height: 0.92;
        max-width: 10ch;
    }

    #layer2-text p {
        font-size: clamp(0.85rem, 2.8vw, 1.4rem);
        letter-spacing: clamp(0.18em, 1.6vw, 0.5em);
    }

    #layer3-building {
        height: 100vh;
        object-fit: cover;
        object-position: 48% top;
    }

    #layer4-cloud-left {
        top: 36%;
        left: -24vw;
        width: 56vw;
    }

    #layer4-cloud-right {
        top: 36%;
        right: -24vw;
        width: 56vw;
    }

    .mask-text {
        font-size: min(clamp(5.5rem, 20vw, 12rem), 30vh);
    }

    .mask-subtitle {
        font-size: clamp(0.72rem, 2.5vw, 1.4rem);
    }

    .hero-content-region {
        padding: 0 5vw;
    }

    .hero-content-col {
        width: 50%;
    }

    .col-left-inner,
    .col-right-inner,
    .region-reverse .col-left-inner,
    .region-reverse .col-right-inner {
        max-width: 42vw;
    }

    .hero-main-word {
        font-size: clamp(32px, 3.7vw, 44px);
    }

    .lisboa-pre-text {
        padding: 0 5vw;
        letter-spacing: 0.45em;
    }

    .kr-pillars-container {
        gap: 18px;
        height: min(36vh, 390px);
    }

    .lifestyle-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lifestyle-hero-copy h1 {
        max-width: 8.5ch;
    }

    .lifestyle-hero-media {
        min-height: 28rem;
    }

    .housing-grid,
    .regions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lifestyle-food {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lp-topic-row {
        grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1fr);
    }

    .lp-topic-visual {
        grid-column: 2;
        width: min(100%, 28rem);
    }
}

@media (max-width: 768px) {
    /* The SVG lockup is enlarged to 110% during its reveal. Reserve that
       animation headroom so KARINA stays fully inside a phone viewport. */
    .mask-text {
        font-size: min(19vw, 28vh);
    }

    .map-landmark-index {
        display: none;
    }

    #hero-track {
        height: 540vh;
    }

    #layer2-text h1 {
        /* The Portuguese headline contains an eleven-character word. Its
           split, non-wrapping span must fit inside the hero layer at phone
           widths instead of being clipped by the sticky hero viewport. */
        font-size: clamp(2.05rem, calc(12.8vw - 0.5rem), 4.6rem);
        max-width: 100%;
    }

    #layer2-text {
        justify-content: flex-start;
        padding-top: clamp(13rem, 31vh, 18rem);
    }

    #layer2-text p {
        max-width: 24ch;
        line-height: 1.45;
    }

    #layer3-building {
        width: 150%;
        max-width: none;
        margin-left: -25%;
        height: 92vh;
        object-position: center top;
    }

    #hero-photo-layer-1 {
        transform: scale(1.04);
    }

    .photo-slice {
        background-size: auto 100vh;
        background-position-x: center;
    }

    .region-cloud {
        width: 82vw;
        filter: blur(5px);
    }

    #layer4-cloud-left,
    #layer4-cloud-right {
        top: 36%;
        width: 64vw;
    }

    #layer4-cloud-left,
    .cloud-left {
        left: -36vw;
    }

    #layer4-cloud-right,
    .cloud-right {
        right: -36vw;
    }

    .hero-content-region,
    .region-reverse {
        flex-direction: column;
        justify-content: center;
        gap: 0.85rem;
        height: 25vh;
        padding: 1.25rem 7vw;
    }

    .hero-content-col,
    .region-reverse .hero-content-col {
        width: 100%;
        height: auto;
        align-items: flex-start;
        padding: 0;
    }

    .col-left,
    .col-right,
    .region-reverse .col-left,
    .region-reverse .col-right {
        padding-left: 0;
        padding-right: 0;
    }

    .col-right::before,
    .region-reverse .col-left::before {
        display: none;
    }

    .col-left-inner,
    .col-right-inner,
    .region-reverse .col-left-inner,
    .region-reverse .col-right-inner {
        max-width: 100%;
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
    }

    .hero-main-word {
        font-size: clamp(1.8rem, 8.2vw, 3.3rem);
        line-height: 0.98;
    }

    .stat-label {
        font-size: 0.58rem;
        letter-spacing: 0.14em;
        margin-bottom: 0.25rem;
    }

    .hero-description {
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        line-height: 1.25;
        max-width: 28rem;
    }

    #hero-signature {
        right: 7vw;
        bottom: 8vh;
    }

    .sig-label {
        font-size: 0.55rem;
        letter-spacing: 0.28em;
    }

    .sig-name {
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .sig-subtitle {
        font-size: 1.05rem;
    }

    #services-cards {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    #services-cards h2 {
        font-size: clamp(2rem, 9.5vw, 4rem);
        line-height: 1.05;
        max-width: 100%;
    }

    .service-card {
        min-height: auto;
        cursor: default;
    }

    .service-card + .service-card {
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .service-card > .flex-grow {
        padding: 2.25rem 1.5rem 1.5rem;
    }

    .service-card h3 {
        font-size: clamp(1.75rem, 7.6vw, 2.8rem);
        min-height: 0;
    }

    .service-card p {
        margin-bottom: 2rem;
        font-size: clamp(1rem, 4vw, 1.15rem);
    }

    .service-card .studio-reveal-image {
        aspect-ratio: 4 / 3;
    }

    .service-img {
        opacity: 1;
    }

    .lifestyle-section {
        padding: 4.5rem 0;
    }

    .lifestyle-inner,
    .lifestyle-grid {
        width: min(100% - 2rem, 620px);
    }

    .lifestyle-inner {
        display: block;
        margin-bottom: 2.5rem;
    }

    .lifestyle-kicker {
        margin-bottom: 1rem;
    }

    .lifestyle-heading {
        max-width: 100%;
        margin-bottom: 1.25rem;
        font-size: clamp(2rem, 9vw, 3.7rem);
    }

    .lifestyle-intro {
        font-size: clamp(1.15rem, 5vw, 1.55rem);
    }

    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lifestyle-card-image {
        aspect-ratio: 4 / 3;
    }

    section[id^='studio-feature'] {
        padding: 4.5rem 1.25rem 5rem !important;
    }

    /* Both editorial headings need the same measured pause before their
       numbered introduction: lighter than section 01 was, roomier than 02. */
    section[id^='studio-feature'] h1,
    section[id^='studio-feature'] h2 {
        margin-bottom: 5rem;
    }

    section[id^='studio-feature'] h2 {
        font-size: clamp(2rem, 9vw, 3.8rem) !important;
        text-align: left;
    }

    section[id^='studio-feature'] .studio-sticky-text {
        position: relative;
        top: auto !important;
    }

    /* The second editorial label is intentionally long in Portuguese. Let it
       wrap on phones instead of clipping at the viewport edge. */
    section[id^='studio-feature'] .studio-sticky-text > .studio-reveal-text:first-child {
        max-width: 100%;
        white-space: normal;
        font-size: clamp(0.58rem, 2.4vw, 0.68rem);
        letter-spacing: 0.18em;
        line-height: 1.5;
    }

    section[id^='studio-feature'] .studio-sticky-text > .studio-reveal-text:first-child span {
        margin-left: 0.7rem;
    }

    section[id^='studio-feature'] .studio-reveal-image > div {
        height: auto;
        aspect-ratio: 4 / 5;
        max-height: 78vh;
    }

    section[id^='studio-feature'] .parallax-img {
        height: 115%;
        margin-top: -8%;
    }

    .lisboa-pre-text {
        top: 24px;
        height: auto;
        min-height: 90px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.55rem 0.85rem;
        padding: 0 1.25rem;
        font-size: clamp(0.86rem, 4.3vw, 1.35rem);
        letter-spacing: 0.18em;
        line-height: 1.6;
        text-align: center;
    }

    .lisboa-label {
        padding: 0 1rem;
        font-size: clamp(0.9rem, 4.2vw, 1.2rem);
        letter-spacing: 0.22em;
    }

    #map-ui-wrapper {
        display: block;
        padding: 0;
    }

    #map-container {
        /* Use a deliberate three-tier composition on phones: introduction,
           map, then CTA. Grid placement and the desktop column widths would
           otherwise push the left panel beyond the viewport. */
        position: absolute;
        top: clamp(12.5rem, 32vh, 17rem);
        right: 0;
        left: 0;
        /* Scale with both screen width and available vertical space, keeping
           the square map large without letting it collide with the CTA. */
        width: min(76vw, 340px, calc(100vh - 22rem));
        max-width: none;
        margin: 0 auto;
        padding-right: 0 !important;
        padding-left: 0 !important;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
    }

    .map-ui-left-title,
    .map-ui-right-text {
        max-width: 13rem !important;
        font-size: clamp(1.05rem, 4.6vw, 1.35rem) !important;
        line-height: 1.15;
    }

    .map-ui-left-text,
    .map-ui-right-contact {
        max-width: 12rem;
        font-size: clamp(0.95rem, 4vw, 1.15rem);
    }

    .map-ui-left-text {
        margin-top: 0.5rem;
    }

    .map-ui-left-btn,
    .map-ui-right-btn {
        padding: 0.8rem 1rem !important;
        font-size: 0.66rem !important;
        letter-spacing: 0.14em !important;
        max-width: 12.5rem;
    }

    .map-ui-left-btn {
        margin-top: 1rem;
    }

    .map-ui-left,
    .map-guidance-cta {
        position: absolute;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        justify-self: auto;
    }

    /* Only holds the landmark index, which is hidden on touch layouts. */
    .map-ui-right {
        display: none;
    }

    .map-ui-left {
        top: 4.75rem;
        left: 1rem;
        right: 1rem;
        bottom: auto;
        width: auto;
        max-width: none;
        gap: 0;
    }

    .map-guidance-cta {
        top: auto;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
        gap: 0.5rem;
    }

    .map-guidance-cta .map-ui-right-text,
    .map-guidance-cta .map-ui-right-contact {
        max-width: none !important;
    }

    #kr-reveal {
        height: 360vh !important;
    }

    .kr-hero-top {
        top: 10%;
        width: min(88vw, 30rem);
        white-space: normal;
        font-size: clamp(1.55rem, 7.5vw, 3rem);
    }

    .kr-hero-bottom {
        bottom: 8%;
        width: min(86vw, 34rem);
        font-size: clamp(0.88rem, 3.7vw, 1.08rem);
        line-height: 1.65;
    }

    .kr-pillars-container {
        top: 28vh;
        gap: clamp(8px, 2.5vw, 16px);
        height: min(34vh, 320px);
    }

    .kr-pillar {
        width: 18px;
        font-size: clamp(0.72rem, 2.8vw, 0.96rem);
        letter-spacing: 0.26em;
    }

    .kr-top-tagline {
        /* The first half of the sentence occupies the lower white field;
           the CTA completes it immediately inside the black panel. */
        top: 40vh;
        width: 88vw;
        white-space: normal;
        text-align: center;
        font-size: clamp(1.8rem, 8.8vw, 3.4rem);
        line-height: 0.98;
    }

    html[lang="pt"] .kr-top-tagline {
        font-size: clamp(2.2rem, 11vw, 3.7rem);
    }

    .kr-cta-container {
        top: 62%;
        width: min(88vw, 30rem);
        gap: 1.25rem;
    }

    .kr-cta-text {
        font-size: clamp(2rem, 11vw, 4rem);
        line-height: 1;
    }

    html[lang="pt"] .kr-cta-text {
        font-size: clamp(2rem, 10.5vw, 3.8rem);
    }

    .kr-cta-btn {
        padding: 1rem 1.6rem;
        font-size: 0.82rem;
        letter-spacing: 0.12em;
    }

    .lifestyle-hero {
        padding: 6.5rem 1.25rem 3rem;
    }

    .lifestyle-hero-copy h1 {
        font-size: clamp(3.5rem, 18vw, 6rem);
        line-height: 0.86;
    }

    .lifestyle-hero-media {
        min-height: 20rem;
    }

    .lifestyle-index {
        position: relative;
        top: auto;
        grid-template-columns: 1fr;
    }

    .lifestyle-index a {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    }

    .lifestyle-editorial-section,
    .lifestyle-split-heading,
    .lifestyle-food {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lifestyle-editorial-section,
    .lifestyle-housing,
    .lifestyle-food,
    .lifestyle-regions,
    .lifestyle-closing {
        padding: 4.5rem 1.25rem;
    }

    .lifestyle-section-label {
        position: relative;
        top: auto;
    }

    .lifestyle-editorial-section h2,
    .lifestyle-split-heading h2,
    .lifestyle-food h2,
    .lifestyle-closing h2 {
        max-width: 100%;
        font-size: clamp(2.7rem, 14vw, 5rem);
    }

    .lifestyle-large-copy,
    .lifestyle-section-intro,
    .lifestyle-food-copy p {
        font-size: clamp(1.25rem, 5.3vw, 1.65rem);
    }

    .lifestyle-note-grid,
    .housing-grid,
    .regions-grid {
        grid-template-columns: 1fr;
    }

    .lifestyle-note-grid article,
    .housing-card,
    .region-card {
        min-height: 13rem;
    }

    .culture-list article {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .lp-hero {
        min-height: 72vh;
        padding: 7rem 1.25rem 2.5rem;
    }

    .lp-hero-statement {
        font-size: clamp(3.15rem, 13vw, 5.6rem);
        max-width: 100%;
    }

    .lp-image-band {
        height: 21rem;
        margin-left: 1.25rem;
        margin-right: 1.25rem;
    }

    .lp-quote {
        min-height: 52vh;
        padding: 3.8rem 1.25rem;
    }

    .lp-quote h2 {
        font-size: clamp(3rem, 13vw, 5.8rem);
    }

    .lp-philosophy,
    .lp-guide-intro,
    .lp-closing {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 4.5rem 1.25rem;
    }

    .lp-philosophy-copy p,
    .lp-guide-copy h2 {
        font-size: clamp(1.9rem, 8vw, 3.5rem);
    }

    .lp-guide-copy {
        gap: 1.5rem;
    }

    .lp-two-images {
        grid-template-columns: 1fr;
        padding: 0 1.25rem 4.5rem;
    }

    .lp-two-images picture {
        height: 16rem;
    }

    .lp-topic-list {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .lp-topic-row {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0;
    }

    .lp-topic-title h2 {
        max-width: 100%;
        font-size: clamp(2.4rem, 11vw, 4.8rem);
    }

    .lp-topic-content {
        align-self: start;
    }

    .lp-topic-details {
        grid-template-columns: 1fr;
    }

    .lp-topic-visual {
        grid-column: auto;
        width: 100%;
        min-height: 12rem;
    }

    .lp-closing h2 {
        max-width: 100%;
        font-size: clamp(3rem, 13vw, 5.8rem);
    }

    .exp-hero {
        min-height: 72vh;
        grid-template-columns: 1fr;
        align-items: end;
        padding: 7.5rem 1.25rem 4rem;
    }

    .exp-hero h1 {
        max-width: 9ch;
        font-size: clamp(2.7rem, 14vw, 5rem);
    }

    .exp-hero > p,
    .exp-hero-copy {
        font-size: clamp(1.15rem, 5vw, 1.55rem);
    }

    .exp-faq-layout,
    .exp-partnership-grid,
    .exp-note,
    .exp-start-layout {
        width: min(100% - 2rem, 620px);
    }

    .exp-faq-group {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .exp-faq-group-heading {
        gap: 0.9rem;
    }

    .exp-faq-item summary {
        padding: 1.1rem;
    }

    .exp-faq-item p {
        padding: 0 1.1rem 1.2rem;
    }

    .exp-partnership-grid {
        grid-template-columns: 1fr;
    }

    .exp-partnership-card {
        min-height: 16rem;
    }

    html[lang="pt"] .exp-partnership-card {
        min-height: 0;
    }

    .exp-partnership-note {
        display: block;
    }

    .exp-partnership-note a {
        display: inline-block;
        margin-top: 1.35rem;
    }
}

@media (max-width: 480px) {
    #hero-track {
        height: 500vh;
    }

    #layer2-text h1 {
        font-size: clamp(2.05rem, calc(12.8vw - 0.5rem), 4.6rem);
    }

    #layer2-text {
        padding-top: clamp(12rem, 30vh, 16rem);
    }

    .mask-text {
        font-size: min(19vw, 28vh);
    }

    .mask-subtitle {
        font-size: 3.2vw;
    }

    #layer4-cloud-left,
    #layer4-cloud-right {
        top: 35%;
        width: 70vw;
    }

    .hero-content-region,
    .region-reverse {
        padding: 0.75rem 1.25rem;
        gap: 0.55rem;
    }

    .hero-main-word {
        font-size: clamp(1.55rem, 8vw, 2.35rem);
    }

    .hero-description {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
    }

    #services-cards h2 {
        font-size: clamp(1.85rem, 9vw, 3rem);
    }

    .service-card > .flex-grow {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .lifestyle-inner,
    .lifestyle-grid {
        width: min(100% - 1.5rem, 420px);
    }

    #map-ui-wrapper {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    #map-container {
        margin-top: 0;
        width: min(76vw, 340px, calc(100vh - 22rem));
    }

    .map-ui-left-title,
    .map-ui-right-text {
        max-width: 10.5rem !important;
        font-size: clamp(0.95rem, 4.6vw, 1.15rem) !important;
    }

    .map-ui-left-text,
    .map-ui-right-contact {
        max-width: 9.5rem;
        font-size: clamp(0.88rem, 4vw, 1rem);
    }

    .map-ui-left-btn,
    .map-ui-right-btn {
        max-width: 9.5rem !important;
        padding: 0.7rem 0.75rem !important;
        font-size: 0.58rem !important;
    }

    .kr-pillars-container {
        gap: 7px;
    }

    .lifestyle-hero,
    .lifestyle-editorial-section,
    .lifestyle-housing,
    .lifestyle-food,
    .lifestyle-regions,
    .lifestyle-closing {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .lifestyle-hero-media {
        min-height: 16rem;
    }

    .lp-hero,
    .lp-quote,
    .lp-philosophy,
    .lp-guide-intro,
    .lp-closing,
    .lp-topic-list {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .lp-image-band,
    .lp-two-images {
        margin-left: 0.9rem;
        margin-right: 0.9rem;
        padding-left: 0;
        padding-right: 0;
    }

    .lp-hero-statement {
        font-size: clamp(2.85rem, 14vw, 4.25rem);
    }

    .lp-topic-details {
        margin-top: 1.6rem;
    }

    .exp-faq-layout,
    .exp-partnership-grid,
    .exp-note,
    .exp-start-layout {
        width: min(100% - 1.5rem, 420px);
    }

    .exp-note {
        padding: 1.25rem;
    }
}

/* Lisbon map — compact desktop: keep the editorial columns distinct while the
   map scales with both the viewport width and its available height. */
@media (min-width: 769px) and (max-width: 1280px) {
    #map-ui-wrapper {
        grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
        column-gap: clamp(1rem, 1.8vw, 1.5rem);
        padding-left: clamp(1.5rem, 3vw, 3rem);
        padding-right: clamp(1.5rem, 3vw, 3rem);
    }

    #map-container {
        width: min(52vw, calc(100vh - 5.5rem), 620px);
    }

    .map-ui-left-title,
    .map-guidance-cta .map-ui-right-text {
        max-width: 13rem !important;
        font-size: clamp(1.05rem, 1.7vw, 1.35rem) !important;
    }

    .map-ui-left-text,
    .map-ui-right-contact {
        font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    }

    .map-ui-left-btn,
    .map-ui-right-btn {
        padding-left: clamp(1rem, 1.4vw, 1.15rem) !important;
        padding-right: clamp(1rem, 1.4vw, 1.15rem) !important;
    }
}

@media (hover: none) {
    .service-card {
        cursor: default;
    }

    .service-img {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero-track,
    #kr-reveal {
        height: auto !important;
        min-height: 100vh;
    }

    #kr-sticky {
        position: relative;
    }
}
