:root {
    --forest-950: #09130f;
    --forest-900: #0d1b17;
    --forest-800: #11271f;
    --forest-700: #17372d;
    --forest-600: #245143;
    --sage-500: #76877d;
    --sage-300: #b7c0b8;
    --cream-50: #fbf9f4;
    --cream-100: #f4f0e7;
    --cream-200: #e9e2d5;
    --cream-300: #d8cebd;
    --clay-500: #c87952;
    --clay-600: #ae603f;
    --gold-500: #c7a46a;
    --ink: #173029;
    --muted: #65726c;
    --line: rgba(23, 55, 45, 0.16);
    --shadow: 0 30px 80px rgba(9, 19, 15, 0.14);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shell: min(1320px, calc(100vw - 80px));
    --section-space: clamp(96px, 9vw, 144px);
    --header-height: 92px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream-100);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.dialog-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

::selection {
    color: var(--cream-50);
    background: var(--forest-700);
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 99999;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    color: var(--forest-900);
    background: var(--cream-50);
    box-shadow: var(--shadow);
}

:focus-visible {
    outline: 3px solid var(--clay-500);
    outline-offset: 4px;
}

.section {
    padding-block: var(--section-space);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--sage-500);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 34px;
    height: 1px;
    background: currentColor;
}

.button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.015em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    color: var(--forest-950);
    background: var(--gold-500);
}

.button--primary:hover {
    background: #d4b57e;
}

.button--light {
    color: var(--forest-900);
    background: var(--cream-50);
}

.button--light:hover {
    background: #fff;
}

.button--glass {
    color: var(--cream-50);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.button--glass:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.14);
}

.button--dark {
    color: var(--cream-50);
    background: var(--forest-700);
}

.button--dark:hover {
    background: var(--forest-600);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-block: 4px;
    color: var(--forest-700);
    border-bottom: 1px solid currentColor;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

/* Header */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    color: var(--cream-50);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(5, 13, 10, 0.52), rgba(5, 13, 10, 0));
    transition: height 220ms ease, color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
body:not(.kb-front-page) .site-header {
    height: 76px;
    color: var(--forest-900);
    background: rgba(244, 240, 231, 0.96);
    border-color: var(--line);
    box-shadow: 0 10px 40px rgba(9, 19, 15, 0.08);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: grid;
    height: 100%;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(22px, 2.4vw, 42px);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: start;
    color: inherit;
    text-decoration: none;
}

.site-brand__emblem {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("../images/logo-garmoniya.svg") center / contain no-repeat;
    mask: url("../images/logo-garmoniya.svg") center / contain no-repeat;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-brand__text strong {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.site-brand__text small {
    margin-top: 4px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    opacity: 0.65;
    text-transform: uppercase;
}

.custom-logo-link,
.custom-logo-link img {
    display: block;
    max-width: 220px;
    max-height: 56px;
    width: auto;
    height: auto;
}

.site-nav__list,
.site-footer__menu {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.45vw, 24px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav__list a {
    position: relative;
    display: block;
    padding: 12px 0;
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.site-nav__list a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    content: "";
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-self: end;
}

.site-header__actions .button {
    min-height: 46px;
    padding: 10px 17px;
    white-space: nowrap;
}

.site-header__phone {
    display: flex;
    flex-direction: column;
    color: inherit;
    line-height: 1.1;
    text-align: right;
    text-decoration: none;
    white-space: nowrap;
}

.site-header__phone span {
    font-size: 14px;
    font-weight: 700;
}

.site-header__phone small {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0.06em;
    opacity: 0.62;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    color: inherit;
    background: transparent;
    border: 0;
}

/* Hero */

.hero {
    position: relative;
    min-height: 850px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 78% 22%, rgba(200, 121, 82, 0.18), transparent 24%),
        radial-gradient(circle at 63% 78%, rgba(84, 117, 94, 0.2), transparent 28%),
        linear-gradient(120deg, #08130f 0%, #10271e 52%, #173c2d 100%);
}

.hero--has-image {
    background-image: var(--hero-image);
    background-position: 58% center;
    background-size: cover;
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.hero::before {
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 10, 0.96) 0%, rgba(5, 13, 10, 0.8) 46%, rgba(5, 13, 10, 0.2) 76%),
        linear-gradient(0deg, rgba(5, 13, 10, 0.72), transparent 48%);
}

.hero:not(.hero--has-image)::after {
    top: 9%;
    right: -7%;
    width: 52vw;
    height: 78%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        repeating-linear-gradient(90deg, transparent 0 88px, rgba(255, 255, 255, 0.035) 89px 90px),
        repeating-linear-gradient(0deg, transparent 0 88px, rgba(255, 255, 255, 0.035) 89px 90px);
    transform: rotate(-8deg);
}

.hero__wash {
    position: absolute;
    z-index: 1;
    inset: auto -12% -50% auto;
    width: 64vw;
    height: 75vw;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    padding-top: calc(var(--header-height) + 84px);
    padding-bottom: 58px;
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: end;
    gap: clamp(58px, 7vw, 110px);
}

.hero__copy {
    align-self: center;
    max-width: 820px;
}

.hero .eyebrow {
    color: #a7b4aa;
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: clamp(56px, 6vw, 88px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.96;
}

.hero__lead {
    max-width: 650px;
    margin-bottom: 42px;
    color: rgba(251, 249, 244, 0.78);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 52px;
}

.hero__actions .button {
    min-width: 200px;
}

.hero__facts {
    display: grid;
    max-width: 700px;
    padding: 26px 0 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}

.hero__facts li {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding-right: 22px;
}

.hero__facts li + li {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__facts strong {
    font-size: 15px;
    font-weight: 700;
}

.hero__facts span {
    margin-top: 4px;
    color: rgba(251, 249, 244, 0.58);
    font-size: 12px;
}

.hero__choice {
    align-self: end;
    padding: 30px;
    color: var(--forest-950);
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(251, 249, 244, 0.95);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(20px);
}

.hero__choice-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    color: var(--sage-500);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hero__choice-topline b {
    color: var(--gold-500);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
}

.hero__choice-name {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero__choice-description {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.hero__choice-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    margin-bottom: 22px;
    border-block: 1px solid var(--line);
}

.hero__choice-price span {
    max-width: 90px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.35;
}

.hero__choice-price strong {
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.hero__choice > .button {
    width: 100%;
}

.hero__izba-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    margin-top: 22px;
    color: var(--forest-900);
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.hero__izba-link span {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.hero__izba-link b {
    color: var(--forest-900);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}

.hero__izba-link i {
    font-size: 20px;
    font-style: normal;
    transition: transform 180ms ease;
}

.hero__izba-link:hover i {
    transform: translate(3px, -3px);
}

.hero__admin-note {
    position: absolute;
    z-index: 5;
    right: 22px;
    bottom: 18px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    font-size: 11px;
    text-decoration: none;
}

.trust-strip {
    color: var(--cream-50);
    background: var(--forest-950);
}

.trust-strip__inner {
    display: grid;
    min-height: 92px;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.trust-strip p {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 15px;
    padding: 12px 26px;
    margin: 0;
    color: rgba(251, 249, 244, 0.72);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.trust-strip p:first-child {
    padding-left: 0;
}

.trust-strip p + p {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-strip span {
    color: var(--gold-500);
    font-family: var(--serif);
    font-size: 20px;
}

/* Headings and media */

.section-heading {
    display: grid;
    margin-bottom: clamp(54px, 7vw, 90px);
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
    align-items: end;
    gap: 70px;
}

.section-heading h2,
.steam-story h2,
.furako h2,
.prices h2,
.booking-cta h2,
.seo-guide h2,
.faq h2 {
    max-width: 780px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.section-heading > p {
    max-width: 500px;
    margin: 0;
    color: var(--muted);
}

.section-heading--compact {
    margin-bottom: 46px;
}

.media-frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    overflow: hidden;
    background: var(--forest-800);
}

.media-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-frame:hover img {
    transform: scale(1.025);
}

.media-frame--empty {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    background:
        radial-gradient(circle at 75% 22%, rgba(200, 121, 82, 0.3), transparent 22%),
        linear-gradient(145deg, var(--forest-800), #244737 62%, #6c6f59);
}

.media-frame--empty::before,
.media-frame--empty::after {
    position: absolute;
    content: "";
}

.media-frame--empty::before {
    right: 10%;
    bottom: -22%;
    width: 76%;
    height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: rotate(-7deg);
}

.media-frame--empty::after {
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 17, 13, 0.72), transparent 58%);
}

.media-frame__texture {
    position: absolute;
    top: 10%;
    right: 13%;
    width: 54%;
    height: 64%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.045) 55px 56px);
}

.media-frame figcaption {
    position: relative;
    z-index: 2;
    max-width: 360px;
    padding: 30px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    line-height: 1.5;
}

/* Houses */

.houses {
    background: var(--cream-100);
}

.house-card {
    display: grid;
    min-height: 650px;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
    border: 1px solid rgba(23, 55, 45, 0.1);
    background: var(--cream-50);
    box-shadow: 0 28px 90px rgba(9, 19, 15, 0.11);
}

.house-card + .house-card {
    margin-top: 66px;
}

.house-card--izba {
    grid-template-columns: minmax(420px, 0.88fr) minmax(0, 1.12fr);
}

.house-card--izba .house-card__media {
    order: 2;
}

.house-card__media {
    position: relative;
    min-height: 620px;
}

.house-card__media .media-frame {
    min-height: 100%;
}

.house-card__number {
    position: absolute;
    top: 28px;
    left: 28px;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: var(--cream-50);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(10, 27, 21, 0.52);
    font-family: var(--serif);
    font-size: 19px;
    backdrop-filter: blur(10px);
}

.house-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(44px, 6vw, 86px);
}

.house-card__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.house-card__topline p,
.house-card__topline span {
    margin: 0;
    color: var(--sage-500);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.house-card h3 {
    margin-bottom: 20px;
    font-family: var(--serif);
    font-size: clamp(50px, 6vw, 78px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.house-card__content > p {
    margin-bottom: 28px;
    color: var(--muted);
}

.feature-list {
    display: grid;
    padding: 0;
    margin: 0 0 32px;
    gap: 12px;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 23px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}

.feature-list li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 9px;
    height: 1px;
    content: "";
    background: var(--clay-500);
}

.house-card__price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    margin-bottom: 28px;
    border-block: 1px solid var(--line);
}

.house-card__price span {
    color: var(--muted);
    font-size: 12px;
}

.house-card__price strong {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
}

.house-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

/* Izba launch preview */

.izba-preview {
    position: relative;
    display: grid;
    min-height: 580px;
    margin-top: 66px;
    overflow: hidden;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 12% 88%, rgba(199, 164, 106, 0.16), transparent 30%),
        linear-gradient(135deg, var(--forest-950), #15372b);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.izba-preview__identity,
.izba-preview__feature {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(52px, 6vw, 82px);
}

.izba-preview__feature {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
}

.izba-preview__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.izba-preview__topline span {
    color: var(--gold-500);
    font-family: var(--serif);
    font-size: 20px;
}

.izba-preview__topline em {
    padding: 7px 11px;
    color: var(--cream-50);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1;
    text-transform: uppercase;
}

.izba-preview .eyebrow {
    margin-bottom: 22px;
    color: rgba(251, 249, 244, 0.56);
}

.izba-preview h3 {
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: clamp(68px, 7vw, 104px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.9;
}

.izba-preview__identity > p:not(.eyebrow) {
    max-width: 470px;
    margin-bottom: 34px;
    color: rgba(251, 249, 244, 0.68);
}

.izba-preview .text-link {
    width: fit-content;
    color: var(--gold-500);
}

.izba-preview h4 {
    max-width: 580px;
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: clamp(42px, 4.5vw, 64px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1;
}

.izba-preview__feature > p:not(.eyebrow) {
    max-width: 590px;
    margin-bottom: 30px;
    color: rgba(251, 249, 244, 0.68);
}

.izba-preview dl {
    margin: 0 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.izba-preview dl > div {
    display: grid;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    grid-template-columns: 100px 1fr;
    gap: 18px;
}

.izba-preview dt,
.izba-preview dd {
    margin: 0;
    font-size: 13px;
}

.izba-preview dt {
    color: rgba(251, 249, 244, 0.48);
}

.izba-preview dd {
    color: var(--cream-50);
    font-weight: 700;
}

.izba-preview__feature .button {
    width: fit-content;
}

.izba-preview__monogram {
    position: absolute;
    z-index: 1;
    bottom: -110px;
    left: -70px;
    width: 430px;
    height: 430px;
    background: currentColor;
    opacity: 0.035;
    -webkit-mask: url("../images/logo-garmoniya.svg") center / contain no-repeat;
    mask: url("../images/logo-garmoniya.svg") center / contain no-repeat;
}

/* Steam story */

.steam-story {
    color: var(--cream-50);
    background: var(--forest-950);
}

.steam-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(440px, 1.04fr);
    align-items: center;
    gap: clamp(72px, 8vw, 120px);
}

.steam-story__media {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 3;
}

.steam-story__media .media-frame {
    min-height: 0;
}

.steam-story__quote {
    position: absolute;
    right: -46px;
    bottom: -34px;
    display: flex;
    max-width: 330px;
    flex-direction: column;
    padding: 28px 30px;
    color: var(--forest-900);
    background: var(--gold-500);
}

.steam-story__quote strong {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
}

.steam-story__quote span {
    margin-top: 10px;
    font-size: 12px;
}

.steam-story__content {
    padding-left: 0;
}

.steam-story__content > p:not(.eyebrow) {
    max-width: 650px;
    margin: 28px 0 38px;
    color: rgba(251, 249, 244, 0.7);
    font-size: 18px;
}

.steam-story .text-link {
    color: var(--gold-500);
}

.detail-list {
    margin-bottom: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-list > div {
    display: grid;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    grid-template-columns: 44px 1fr;
    gap: 16px;
}

.detail-list > div > span {
    color: var(--gold-500);
    font-family: var(--serif);
    font-size: 18px;
}

.detail-list p {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: rgba(251, 249, 244, 0.58);
    font-size: 13px;
}

.detail-list strong {
    margin-bottom: 3px;
    color: var(--cream-50);
    font-size: 15px;
}

/* Furako */

.furako {
    color: var(--cream-50);
    background: var(--clay-600);
}

.furako__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    align-items: center;
    gap: clamp(64px, 8vw, 120px);
}

.furako .eyebrow {
    color: rgba(255, 255, 255, 0.62);
}

.furako__content > p:not(.eyebrow) {
    margin: 28px 0 36px;
    color: rgba(255, 255, 255, 0.78);
}

.furako__content > ul {
    padding: 0;
    margin: 0 0 38px;
    list-style: none;
}

.furako__content > ul li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.furako__content > ul span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.furako__content > ul strong {
    font-size: 13px;
}

.furako__media {
    position: relative;
    min-height: 600px;
}

.furako__media .media-frame {
    min-height: 600px;
}

.furako__temperature {
    position: absolute;
    right: -20px;
    bottom: -20px;
    display: flex;
    width: 154px;
    height: 154px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--forest-900);
    background: var(--cream-50);
    border-radius: 50%;
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 500;
    line-height: 0.9;
    text-align: center;
}

.furako__temperature small {
    max-width: 90px;
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Included and prices */

.included {
    background: var(--cream-50);
}

.included__grid {
    display: grid;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    grid-template-columns: repeat(4, 1fr);
}

.included__grid article {
    min-height: 260px;
    padding: 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.included__grid article > span {
    display: block;
    margin-bottom: 58px;
    color: var(--clay-500);
    font-family: var(--serif);
    font-size: 20px;
}

.included__grid h3 {
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
}

.included__grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.prices {
    background: var(--cream-200);
}

.prices__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    align-items: center;
    gap: clamp(70px, 9vw, 140px);
}

.prices__intro > p:not(.eyebrow) {
    margin: 28px 0 32px;
    color: var(--muted);
}

.price-board {
    padding: clamp(32px, 5vw, 64px);
    color: var(--cream-50);
    background: var(--forest-700);
    box-shadow: var(--shadow);
}

.price-board__row {
    display: grid;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 26px;
}

.price-board__row--head {
    padding-top: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.price-board__row > span {
    display: flex;
    flex-direction: column;
}

.price-board__row strong {
    font-size: 15px;
}

.price-board__row span span,
.price-board__row > span:not(:first-child) {
    color: rgba(255, 255, 255, 0.58);
}

.price-board__row b {
    font-family: var(--serif);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    white-space: nowrap;
}

.price-board > p {
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
}

.price-board .button {
    width: 100%;
}

/* CTA, SEO guide, FAQ */

.booking-cta {
    padding-block: 92px;
    color: var(--cream-50);
    background: var(--forest-950);
}

.booking-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: end;
    gap: 90px;
}

.booking-cta h2 {
    font-size: clamp(40px, 5vw, 64px);
}

.booking-cta__inner > div:last-child p {
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.62);
}

.seo-guide {
    background: var(--cream-100);
}

.seo-guide__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(70px, 10vw, 150px);
}

.seo-guide__aside {
    position: sticky;
    top: 120px;
}

.seo-guide h2 {
    font-size: clamp(38px, 4vw, 56px);
}

.seo-guide__aside nav {
    display: grid;
    margin-top: 42px;
    border-top: 1px solid var(--line);
}

.seo-guide__aside nav a {
    padding: 14px 0;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    text-decoration: none;
}

.seo-guide__aside nav a:hover {
    color: var(--forest-700);
}

.seo-guide__content {
    max-width: 760px;
}

.seo-guide__content .lead {
    padding-bottom: 34px;
    margin-bottom: 42px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.35;
}

.seo-guide__content h3 {
    margin: 50px 0 18px;
    color: var(--forest-700);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.seo-guide__content p:not(.lead) {
    color: #4e5e57;
    font-size: 16px;
}

.faq {
    color: var(--cream-50);
    background: var(--forest-800);
}

.faq__grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(70px, 10vw, 150px);
}

.faq__heading {
    position: sticky;
    top: 120px;
}

.faq__items {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-item h3 {
    margin: 0;
}

.faq-item button {
    display: grid;
    width: 100%;
    padding: 27px 0;
    color: var(--cream-50);
    background: transparent;
    border: 0;
    cursor: pointer;
    grid-template-columns: 1fr 26px;
    align-items: center;
    gap: 24px;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
}

.faq-item button i {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-item button i::before,
.faq-item button i::after {
    position: absolute;
    top: 9px;
    left: 2px;
    width: 16px;
    height: 1px;
    content: "";
    background: var(--gold-500);
    transition: transform 180ms ease;
}

.faq-item button i::after {
    transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] i::after {
    transform: rotate(0);
}

.faq-item__answer {
    max-width: 700px;
    padding: 0 46px 25px 0;
    color: rgba(255, 255, 255, 0.66);
}

.faq-item__answer p {
    margin: 0;
}

/* Blog cards */

.latest-posts,
.blog-listing {
    background: var(--cream-50);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.post-grid--listing {
    row-gap: 56px;
}

.post-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--cream-100);
}

.post-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--forest-800);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.post-card:hover .post-card__media img {
    transform: scale(1.025);
}

.post-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 20%, rgba(200, 121, 82, 0.38), transparent 20%),
        linear-gradient(135deg, var(--forest-800), #355744);
}

.post-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.post-card__meta {
    margin-bottom: 12px;
    color: var(--sage-500);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.post-card h3 {
    margin-bottom: 13px;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.18;
}

.post-card h3 a {
    text-decoration: none;
}

.post-card__content > p:not(.post-card__meta) {
    color: var(--muted);
    font-size: 13px;
}

.post-card .text-link {
    align-self: flex-start;
    margin-top: auto;
}

/* Pages and articles */

.page-main,
.blog-main,
.article-main {
    min-height: 70vh;
    background: var(--cream-100);
}

.page-hero {
    padding: calc(var(--header-height) + 90px) 0 86px;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 78% 20%, rgba(200, 121, 82, 0.18), transparent 22%),
        linear-gradient(135deg, var(--forest-950), var(--forest-700));
}

.page-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.7fr);
    align-items: center;
    gap: 80px;
}

.page-hero__copy:last-child:first-child {
    grid-column: 1 / -1;
    max-width: 900px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 11px;
}

.breadcrumbs a {
    color: inherit;
}

.page-hero h1,
.article__header h1,
.not-found h1 {
    margin-bottom: 24px;
    font-family: var(--serif);
    font-size: clamp(52px, 7vw, 90px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.page-hero__lead,
.article__lead {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 19px;
}

.page-hero__media {
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero--blog .page-hero__inner {
    grid-template-columns: 1fr;
}

.page-hero--compact {
    padding-bottom: 58px;
}

.entry-content {
    max-width: 900px;
    padding-block: clamp(72px, 9vw, 120px);
}

.entry-content > * {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.entry-content > .alignwide,
.entry-content > .wp-block-gallery,
.entry-content > .content-table-wrap,
.entry-content > .kubanya-booking {
    max-width: 1080px;
}

.entry-content > .alignfull {
    max-width: none;
}

.entry-content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.55em;
    color: var(--forest-700);
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.entry-content h3 {
    margin-top: 1.65em;
    margin-bottom: 0.5em;
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 500;
}

.entry-content p,
.entry-content li {
    color: #43534c;
}

.entry-content a:not(.button) {
    color: var(--forest-700);
}

.entry-content img {
    border-radius: 2px;
}

.content-table-wrap {
    overflow-x: auto;
    margin-block: 38px;
}

.entry-content table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    background: var(--cream-50);
}

.entry-content th,
.entry-content td {
    padding: 18px 20px;
    border: 1px solid var(--line);
    text-align: left;
}

.entry-content th {
    color: var(--cream-50);
    background: var(--forest-700);
    font-size: 12px;
}

.article__header {
    padding-top: calc(var(--header-height) + 72px);
    color: var(--cream-50);
    background: var(--forest-900);
}

.article__header-inner {
    max-width: 960px;
    padding-bottom: 62px;
}

.article__meta {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.article__cover {
    margin-bottom: -130px;
    aspect-ratio: 16 / 8;
    overflow: hidden;
}

.article__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article__cover + * {
    margin-top: 130px;
}

.article__content {
    padding-top: 110px;
}

.article__footer {
    display: grid;
    max-width: 1000px;
    padding: 52px;
    margin-bottom: var(--section-space);
    color: var(--cream-50);
    background: var(--forest-700);
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
}

.article__footer p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article__footer h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    line-height: 1.15;
}

.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
}

.pagination .page-numbers {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    text-decoration: none;
}

.pagination .current {
    color: var(--cream-50);
    background: var(--forest-700);
}

.empty-state {
    padding: 80px;
    text-align: center;
    border: 1px solid var(--line);
}

.not-found {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + 70px) 0 80px;
    color: var(--cream-50);
    background: var(--forest-900);
}

.not-found__inner {
    max-width: 860px;
}

.not-found__inner > p:not(.eyebrow) {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 19px;
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

/* Footer */

.site-footer {
    padding: 88px 0 26px;
    color: var(--cream-50);
    background: var(--forest-950);
}

.site-footer__top {
    display: grid;
    padding-bottom: 70px;
    grid-template-columns: minmax(0, 1.25fr) 0.7fr 0.75fr;
    gap: clamp(54px, 8vw, 120px);
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-family: var(--serif);
    text-decoration: none;
}

.site-footer__brand > span:not(.site-footer__emblem) {
    display: flex;
    flex-direction: column;
}

.site-footer__brand strong {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.site-footer__brand small {
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.58;
    text-transform: uppercase;
}

.site-footer__emblem {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("../images/logo-garmoniya.svg") center / contain no-repeat;
    mask: url("../images/logo-garmoniya.svg") center / contain no-repeat;
}

.site-footer__intro > p {
    max-width: 480px;
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, 0.6);
}

.site-footer h2 {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.site-footer__menu {
    display: grid;
    gap: 10px;
}

.site-footer__menu a,
.site-footer__contacts a {
    color: rgba(255, 255, 255, 0.77);
    font-size: 13px;
    text-decoration: none;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer__contacts address {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    font-style: normal;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10px;
}

.site-footer__bottom p {
    margin: 0;
}

.site-footer__bottom a {
    color: inherit;
}

/* Modal shell; form internals live in the plugin */

.booking-dialog[hidden] {
    display: none;
}

.booking-dialog {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    padding: 22px;
    place-items: center;
}

.booking-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 10, 7, 0.78);
    backdrop-filter: blur(10px);
}

.booking-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: clamp(30px, 5vw, 58px);
    color: var(--ink);
    background: var(--cream-50);
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.32);
}

.booking-dialog__close {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    font-size: 25px;
}

.booking-dialog__heading {
    padding-right: 50px;
    margin-bottom: 30px;
}

.booking-dialog__heading .eyebrow {
    margin-bottom: 12px;
}

.booking-dialog__heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(40px, 6vw, 58px);
    font-weight: 500;
    line-height: 1;
}

/* Reveal */

.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1280px) {
    :root {
        --shell: min(100% - 48px, 1120px);
    }

    .site-header__inner {
        grid-template-columns: 1fr auto;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        justify-self: end;
        cursor: pointer;
    }

    .nav-toggle__label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .nav-toggle__icon {
        position: relative;
        display: block;
        width: 25px;
        height: 18px;
    }

    .nav-toggle__icon i {
        position: absolute;
        right: 0;
        left: 0;
        height: 1px;
        background: currentColor;
        transition: transform 180ms ease, top 180ms ease;
    }

    .nav-toggle__icon i:first-child { top: 5px; }
    .nav-toggle__icon i:last-child { top: 13px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:first-child { top: 9px; transform: rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle__icon i:last-child { top: 9px; transform: rotate(-45deg); }

    .site-nav {
        position: fixed;
        top: 76px;
        right: 0;
        left: 0;
        display: none;
        max-height: calc(100vh - 76px);
        overflow: auto;
        padding: 22px 24px 32px;
        color: var(--forest-900);
        background: var(--cream-50);
        box-shadow: 0 25px 60px rgba(9, 19, 15, 0.15);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        display: grid;
        gap: 0;
    }

    .site-nav__list a {
        padding: 15px 0;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
    }

    .site-header__actions {
        display: none;
    }

    .hero__inner {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 50px;
    }

    .house-card,
    .house-card--izba {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.9fr);
    }

    .steam-story__grid,
    .furako__inner,
    .prices__grid {
        gap: 70px;
    }

    .included__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    :root {
        --shell: min(100% - 40px, 840px);
        --section-space: 90px;
    }

    .hero {
        min-height: 920px;
    }

    .hero__inner {
        padding-top: 150px;
        grid-template-columns: 1fr;
        align-items: end;
        gap: 46px;
    }

    .hero__choice {
        display: block;
        width: min(480px, 100%);
    }

    .trust-strip__inner {
        grid-template-columns: 1fr;
        padding-block: 16px;
    }

    .trust-strip p,
    .trust-strip p:first-child {
        padding: 14px 0;
    }

    .trust-strip p + p {
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .section-heading,
    .booking-cta__inner,
    .seo-guide__grid,
    .faq__grid,
    .page-hero__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .house-card,
    .house-card--izba {
        grid-template-columns: 1fr;
    }

    .house-card--izba .house-card__media {
        order: 0;
    }

    .house-card__media,
    .house-card__media .media-frame {
        min-height: 520px;
    }

    .izba-preview {
        grid-template-columns: 1fr;
    }

    .izba-preview__feature {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-left: 0;
    }

    .steam-story__grid,
    .furako__inner,
    .prices__grid {
        grid-template-columns: 1fr;
    }

    .steam-story__media {
        width: min(760px, 100%);
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .steam-story__media .media-frame {
        min-height: 0;
    }

    .steam-story__content {
        padding-left: 0;
    }

    .steam-story__quote {
        right: 24px;
        bottom: -26px;
    }

    .furako__media {
        min-height: 520px;
    }

    .furako__media .media-frame {
        min-height: 520px;
    }

    .prices__grid {
        gap: 46px;
    }

    .seo-guide__aside,
    .faq__heading {
        position: static;
    }

    .seo-guide__aside nav {
        display: none;
    }

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

    .site-footer__top {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .site-footer__contacts {
        grid-column: 1 / -1;
    }

    .article__footer {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: calc(100% - 32px);
        --section-space: 72px;
        --header-height: 72px;
    }

    body {
        font-size: 16px;
    }

    .site-header,
    .site-header.is-scrolled,
    body:not(.kb-front-page) .site-header {
        height: 70px;
    }

    .site-brand__text strong {
        font-size: 17px;
    }

    .site-brand__text small,
    .nav-toggle__label {
        display: none;
    }

    .site-brand__emblem {
        width: 38px;
        height: 38px;
    }

    .site-nav {
        top: 70px;
        max-height: calc(100vh - 70px);
    }

    .hero {
        min-height: 900px;
    }

    .hero::before {
        background: linear-gradient(90deg, rgba(5, 13, 10, 0.96), rgba(5, 13, 10, 0.67));
    }

    .hero__inner {
        padding-top: 124px;
        padding-bottom: 34px;
        gap: 34px;
    }

    .hero h1 {
        font-size: clamp(46px, 14vw, 66px);
    }

    .hero__lead {
        font-size: 17px;
    }

    .hero__actions,
    .house-card__actions,
    .not-found__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero__actions .button,
    .house-card__actions .button {
        width: 100%;
    }

    .hero__facts {
        grid-template-columns: 1fr;
    }

    .hero__facts li,
    .hero__facts li + li {
        padding: 11px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        border-left: 0;
    }

    .hero__choice {
        display: block;
        padding: 24px;
    }

    .section-heading {
        margin-bottom: 44px;
    }

    .section-heading h2,
    .steam-story h2,
    .furako h2,
    .prices h2,
    .booking-cta h2,
    .seo-guide h2,
    .faq h2 {
        font-size: 42px;
    }

    .house-card__media,
    .house-card__media .media-frame {
        min-height: 360px;
    }

    .house-card__content {
        padding: 34px 24px 38px;
    }

    .house-card h3 {
        font-size: 52px;
    }

    .izba-preview {
        margin-top: 40px;
    }

    .izba-preview__identity,
    .izba-preview__feature {
        padding: 38px 26px;
    }

    .izba-preview__topline {
        margin-bottom: 38px;
    }

    .izba-preview h3 {
        font-size: 68px;
    }

    .izba-preview h4 {
        font-size: 42px;
    }

    .izba-preview dl > div {
        grid-template-columns: 82px 1fr;
    }

    .izba-preview__feature .button {
        width: 100%;
    }

    .house-card__topline,
    .house-card__price {
        align-items: flex-start;
        flex-direction: column;
    }

    .house-card__actions .text-link {
        justify-self: start;
        margin-bottom: 8px;
    }

    .steam-story__media,
    .steam-story__media .media-frame,
    .furako__media,
    .furako__media .media-frame {
        min-height: 0;
    }

    .steam-story__quote {
        right: 12px;
        bottom: -22px;
        max-width: calc(100% - 24px);
        padding: 20px;
    }

    .furako__temperature {
        right: 8px;
        bottom: -34px;
        width: 124px;
        height: 124px;
        font-size: 38px;
    }

    .included__grid,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .included__grid article {
        min-height: auto;
    }

    .included__grid article > span {
        margin-bottom: 30px;
    }

    .price-board {
        padding: 30px 24px;
    }

    .price-board__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .booking-cta {
        padding-block: 70px;
    }

    .seo-guide__content .lead {
        font-size: 25px;
    }

    .seo-guide__content h3 {
        font-size: 28px;
    }

    .faq-item button {
        font-size: 15px;
    }

    .page-hero {
        padding: 120px 0 68px;
    }

    .page-hero h1,
    .article__header h1,
    .not-found h1 {
        font-size: 48px;
    }

    .breadcrumbs {
        margin-bottom: 36px;
    }

    .entry-content {
        padding-block: 68px;
    }

    .entry-content h2 {
        font-size: 36px;
    }

    .entry-content th,
    .entry-content td {
        min-width: 145px;
        padding: 14px;
    }

    .article__header-inner {
        padding-top: 30px;
    }

    .article__cover {
        width: 100%;
        margin-bottom: -60px;
    }

    .article__content {
        padding-top: 100px;
    }

    .article__footer {
        padding: 32px 24px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .site-footer__contacts {
        grid-column: auto;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-dialog {
        padding: 0;
        place-items: end center;
    }

    .booking-dialog__panel {
        width: 100%;
        max-height: 94vh;
        padding: 30px 20px;
        border-radius: 12px 12px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Launch state, real-photo galleries and legal UI. */
.status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid rgba(23, 55, 45, .28);
    border-radius: 999px;
    color: var(--forest-700);
    background: rgba(255, 255, 255, .72);
    font-family: var(--sans);
    font-size: 11px;
    font-style: normal;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
    vertical-align: middle;
}

.status-badge--light {
    margin-bottom: 16px;
    border-color: rgba(255, 255, 255, .4);
    color: var(--cream-50);
    background: rgba(255, 255, 255, .12);
}

.coming-soon-stamp {
    position: absolute;
    z-index: 3;
    right: 24px;
    bottom: 24px;
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--cream-50);
    background: var(--clay-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.house-card--izba .media-frame--empty {
    min-height: 100%;
    background:
        linear-gradient(135deg, rgba(199, 164, 106, .15), transparent 55%),
        var(--forest-900);
}

.house-card--izba .media-frame__texture {
    opacity: .45;
}

.house-card--izba .media-frame figcaption {
    max-width: 260px;
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.08;
}

.house-card__price--soon strong {
    font-size: clamp(25px, 3vw, 38px);
}

.home-gallery {
    background: var(--cream-50);
}

.property-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.property-gallery__item {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    background: var(--forest-900);
}

.property-gallery__item:first-child,
.property-gallery__item:nth-child(8) {
    grid-column: span 2;
}

.property-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .6s ease;
}

.property-gallery__item:first-child img,
.property-gallery__item:nth-child(8) img {
    aspect-ratio: 2 / 1;
}

.property-gallery--home {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.property-gallery--home .property-gallery__item:first-child {
    grid-column: span 8;
}

.property-gallery--home .property-gallery__item:nth-child(2) {
    grid-column: span 4;
}

.property-gallery--home .property-gallery__item:nth-child(n + 3) {
    grid-column: span 3;
}

.property-gallery--home .property-gallery__item:first-child img,
.property-gallery--home .property-gallery__item:nth-child(2) img {
    min-height: 420px;
    aspect-ratio: auto;
}

.property-gallery--home .property-gallery__item:nth-child(n + 3) img {
    min-height: 300px;
    aspect-ratio: 4 / 3;
}

.property-gallery__item:hover img {
    transform: scale(1.025);
}

.property-gallery__item figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: fit-content;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
    color: var(--cream-50);
    background: rgba(9, 19, 15, .78);
    font-size: 12px;
    line-height: 1.3;
}

.home-gallery__more {
    margin: 32px 0 0;
}

.property-gallery-section {
    padding-top: 0;
    padding-bottom: var(--section-space);
}

.gallery-coming-soon {
    margin: 28px 0 0;
    padding: 22px 24px;
    border-left: 4px solid var(--gold-500);
    background: var(--cream-50);
}

.stay-rules {
    color: var(--cream-50);
    background: var(--forest-800);
}

.stay-rules__inner {
    display: grid;
    grid-template-columns: .8fr .8fr 1.7fr;
    gap: 1px;
    padding-block: 28px;
}

.stay-rules__inner p {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 8px 28px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

.stay-rules__inner p:first-child {
    padding-left: 0;
    border-left: 0;
}

.stay-rules__inner span {
    color: var(--sage-300);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.stay-rules__inner strong {
    font-family: var(--serif);
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 500;
    line-height: 1.2;
}

.coming-soon-notice,
.legal-notice {
    margin: 0 0 40px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(199, 164, 106, .48);
    background: #f7f0e4;
}

.coming-soon-notice > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--clay-600);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.coming-soon-notice h2 {
    margin-bottom: 12px;
}

.coming-soon-notice p,
.legal-notice p {
    margin-bottom: 0;
}

.page-hero--coming-soon {
    background: var(--forest-800);
}

.site-footer__hours {
    margin: 6px 0 0;
    color: var(--sage-300);
    font-size: 14px;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.site-footer__legal button {
    padding: 0;
    border: 0;
    color: inherit;
    background: none;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}

.cookie-banner {
    position: fixed;
    z-index: 9999;
    right: 24px;
    bottom: 24px;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    width: min(760px, calc(100% - 48px));
    margin: 0;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    color: var(--cream-50);
    background: rgba(9, 19, 15, .97);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .32);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 4px;
    font-family: var(--serif);
    font-size: 20px;
}

.cookie-banner p {
    margin: 0;
    color: var(--sage-300);
    font-size: 13px;
    line-height: 1.45;
}

.cookie-banner p a {
    color: var(--cream-50);
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
}

.cookie-banner .button {
    min-height: 44px;
    padding: 10px 16px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .property-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-gallery__item:first-child,
    .property-gallery__item:nth-child(8) {
        grid-column: span 2;
    }

    .property-gallery--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-gallery--home .property-gallery__item:first-child,
    .property-gallery--home .property-gallery__item:nth-child(2),
    .property-gallery--home .property-gallery__item:nth-child(n + 3) {
        grid-column: span 1;
    }

    .property-gallery--home .property-gallery__item:first-child {
        grid-column: span 2;
    }

    .property-gallery--home .property-gallery__item img,
    .property-gallery--home .property-gallery__item:first-child img,
    .property-gallery--home .property-gallery__item:nth-child(2) img,
    .property-gallery--home .property-gallery__item:nth-child(n + 3) img {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .stay-rules__inner {
        grid-template-columns: 1fr 1fr;
    }

    .stay-rules__inner p:last-child {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .hero h1 {
        font-size: clamp(42px, 11.6vw, 52px);
        letter-spacing: -.055em;
    }

    .property-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .property-gallery__item:first-child,
    .property-gallery__item:nth-child(8) {
        grid-column: auto;
    }

    .property-gallery--home {
        grid-template-columns: 1fr;
    }

    .property-gallery--home .property-gallery__item:first-child,
    .property-gallery--home .property-gallery__item:nth-child(2),
    .property-gallery--home .property-gallery__item:nth-child(n + 3) {
        grid-column: auto;
    }

    .property-gallery__item img,
    .property-gallery__item:first-child img,
    .property-gallery__item:nth-child(8) img {
        min-height: 220px;
        aspect-ratio: 4 / 3;
    }

    .stay-rules__inner {
        grid-template-columns: 1fr;
        padding-block: 18px;
    }

    .stay-rules__inner p,
    .stay-rules__inner p:first-child,
    .stay-rules__inner p:last-child {
        grid-column: auto;
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
        border-left: 0;
    }

    .stay-rules__inner p:first-child {
        border-top: 0;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 15px;
    }

    .cookie-banner strong {
        font-size: 19px;
    }

    .cookie-banner p {
        font-size: 12.5px;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cookie-banner .button {
        width: 100%;
        min-height: 46px;
        padding: 9px 10px;
        font-size: 12px;
    }
}
