/* 2026 release: pearl typography, coherent glass and stable layouts. */
:root {
    --accent: #dfd2b8;
    --accent-soft: #f4eee1;
    --muted: #c8ced7;
    --button-gradient: linear-gradient(120deg, #ede4d2, #c9bb9e);
    --glass-surface: linear-gradient(140deg, #f8f6efdb, #d7dce2ac 58%, #f1f0ebce);
    --glass-edge: #fff8
}

html {
    scrollbar-gutter: stable;
    scroll-padding-top: 100px
}

body {
    overflow-x: clip
}

h1,
h2,
h3,
p,
a,
span {
    overflow-wrap: break-word
}

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

p {
    font-size: 16px
}

img {
    max-width: 100%
}

.button,
.story-surface .button {
    color: #18212c;
    box-shadow: 0 8px 25px #0003, inset 0 1px 0 #fff7;
    gap: 12px;
    font-size: 15px;
    min-height: 48px;
    padding: 13px 22px
}

.button svg {
    width: 20px;
    height: 20px
}

.button:hover {
    box-shadow: 0 9px 28px #0004;
    filter: brightness(1.04)
}

.headline-accent>span,
.story-surface h1 em,
.story-surface h2 em,
.chapter-copy h2 em,
.constructor-heading h1 em {
    background: none;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    filter: none;
    font-style: normal
}

.scene-eyebrow,
.hero-eyebrow,
.eyebrow,
.story-glass-dark .paper-kicker,
.workbench-kicker,
.constructor-help>span {
    color: var(--accent)
}

.scene-eyebrow>span,
.hero-eyebrow>span {
    background: linear-gradient(90deg, transparent, var(--accent))
}

.nav-link::after,
.scroll-progress {
    background: var(--accent);
    box-shadow: none
}

.nav-link.is-active {
    color: var(--accent-soft)
}

.story-width,
.content-width {
    width: min(1120px, calc(100% - 64px))
}

.story-surface h1 {
    font-size: clamp(36px, 4.4vw, 60px)
}

.story-surface h2,
.chapter-copy h2 {
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.15;
    letter-spacing: -.035em
}

.story-heading {
    margin-bottom: 40px
}

.story-surface {
    padding-block: 76px
}

.scene-eyebrow {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px
}

.scene-eyebrow>span {
    flex-shrink: 1
}

.story-surface p {
    line-height: 1.75
}

.story-glass,
.story-glass-dark {
    border-radius: 24px
}

.story-glass-dark {
    background: linear-gradient(135deg, #263444dc, #111d2edb);
    border-color: #e8e2d347;
    box-shadow: 0 20px 50px #0004, inset 0 1px 0 #fff2
}

.package-orb,
.desk-note-icon {
    width: 52px;
    height: 52px;
    color: #65553a;
    background: linear-gradient(140deg, #fffaf0, #e1ded3);
    box-shadow: none
}

.package-orb svg,
.desk-note-icon svg {
    width: 26px;
    height: 26px
}

.story-glass-dark .package-orb,
.story-glass-dark .desk-note-icon {
    background: #ffffff0c;
    border-color: #dfd2b844;
    color: var(--accent);
    box-shadow: none
}

.glass-signature {
    display: none
}

/* Header and hero remain a real desk composition; text no longer scales with the entire poster. */
.page-shell.hero-story {
    max-width: 1600px
}

.reference-stage {
    aspect-ratio: auto;
    min-height: 1100px;
    padding-bottom: 64px
}

.hero-header.site-header {
    position: relative;
    inset: auto;
    display: flex;
    height: 88px;
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    gap: 30px
}

.hero-header .primary-navigation {
    gap: 25px;
    margin-left: auto
}

.hero-header .nav-link,
.inner-header .nav-link {
    font-size: 15px
}

.brand {
    gap: 10px
}

.brand-number {
    font-size: 34px !important
}

.brand-name {
    font-size: 22px !important
}

.brand-name>span {
    font-size: 14px !important
}

.button-header {
    height: auto;
    white-space: normal;
    max-width: 195px;
    flex-shrink: 0
}

.hero-copy {
    position: relative;
    inset: auto;
    width: min(880px, calc(100% - 48px));
    margin: 40px auto 0
}

.hero-eyebrow {
    font-size: 17px;
    gap: 16px;
    margin-bottom: 20px
}

.hero-eyebrow em {
    font-style: normal
}

.hero-eyebrow>span {
    width: 45px
}

.hero-copy h1 {
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.12;
    letter-spacing: -.045em
}

.headline-accent {
    font-size: inherit;
    letter-spacing: inherit;
    line-height: 1.15;
    margin-top: 8px;
    gap: 0
}

.headline-accent>i {
    display: none
}

.hero-subtitle {
    max-width: 630px;
    padding: 0;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0;
    margin: 23px auto 0
}

.hero-primary {
    margin-top: 24px
}

.hero-copy .light-divider {
    display: none
}

.reference-stage>.scene-layer {
    width: 1120px;
    height: 1680px;
    left: 50%;
    top: -120px;
    right: auto;
    bottom: auto;
    aspect-ratio: 2/3;
    margin-left: -560px
}

.scene-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(#07101e 0%, #07101e44 22%, transparent 47%, #07101e55 75%, #07101e 96%);
    pointer-events: none
}

.hero-story .services {
    position: relative;
    inset: auto;
    width: min(780px, calc(100% - 64px));
    margin: 425px auto 0;
    gap: 18px
}

.hero-story .service-card {
    height: 148px;
    border-radius: 18px;
    padding: 15px 10px
}

.hero-story .service-icon {
    width: 44px;
    height: 44px
}

.hero-story .service-icon svg {
    width: 27px;
    height: 27px
}

.hero-story .service-title {
    font-size: 15px;
    white-space: normal;
    line-height: 1.4;
    margin-top: 9px;
    letter-spacing: 0
}

.service-lines {
    max-width: 85px
}

.hero-story .value-strip {
    position: relative;
    inset: auto;
    width: min(900px, calc(100% - 64px));
    margin: 24px auto 0;
    padding: 22px;
    gap: 14px;
    border-radius: 22px
}

.value-item strong {
    font-size: 25px;
    letter-spacing: -.03em
}

.value-item>span {
    font-size: 13px;
    white-space: normal
}

.hero-story .button-quote {
    height: auto;
    font-size: 15px;
    margin: 0
}

.hero-story .stage-footer {
    position: relative;
    inset: auto;
    margin: 28px auto 0
}

.stage-footer p {
    font-size: 15px;
    letter-spacing: .03em
}

.stage-footer .light-divider {
    display: none
}

.story-scroll-cue {
    bottom: 17px;
    font-size: 13px
}

/* Text and note are now one centered visual group, with no independent vertical drift. */
.story-chapter,
.chapter-right {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
    gap: clamp(24px, 4vw, 52px);
    min-height: 85svh;
    padding: 76px 0;
    align-items: center
}

.chapter-right .chapter-copy,
.chapter-right .desk-note {
    grid-row: auto;
    grid-column: auto
}

.chapter-copy {
    max-width: none
}

.chapter-copy>p:not(.scene-eyebrow) {
    font-size: 17px;
    line-height: 1.75;
    margin-top: 22px;
    max-width: 590px
}

.desk-note,
.chapter-right .desk-note {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 28px;
    justify-self: stretch;
    align-self: center
}

.desk-note h3 {
    font-size: 25px;
    margin: 20px 0 14px
}

.desk-note p {
    font-size: 16px;
    line-height: 1.7
}

.story-chapter [data-scroll-reveal] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important
}

.journey-shade {
    background: linear-gradient(#07101e 0%, #07101e90 23%, #07101e90 75%, #07101e 100%)
}

.journey-position {
    left: 18px
}

.faq-story-layout,
.conversation-layout,
.confidence-layout,
.contact-office-layout {
    gap: 40px;
    align-items: center
}

.glass-packages {
    gap: 20px
}

.glass-package {
    padding: 28px 24px
}

.glass-package h3 {
    font-size: 24px
}

.glass-package ul {
    margin-bottom: 24px
}

.direction-deck {
    margin-top: 42px
}

.conversation-form,
.contact-office-form {
    max-width: none;
    width: 100%
}

.glass-faq summary {
    font-size: 16px
}

.glass-faq summary::after {
    color: var(--accent)
}

/* The configurator is a working surface. Keep its cart outside animated wrappers. */
.constructor-main {
    width: min(1320px, calc(100% - 64px));
    padding-top: 32px
}

.constructor-heading {
    margin-bottom: 26px;
    align-items: center
}

.constructor-heading h1 {
    font-size: clamp(32px, 3.2vw, 46px);
    max-width: 800px
}

.constructor-heading h1 em {
    margin-left: 0
}

.constructor-heading h1 br {
    display: block
}

.constructor-heading p {
    font-size: 16px;
    max-width: 600px
}

.constructor-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    min-height: 0;
    overflow: visible
}

.category-rail {
    grid-column: 1/-1;
    padding: 0;
    position: static;
    margin: 0;
    background: none
}

.rail-label,
.rail-bottom {
    display: none
}

.category-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    padding: 0
}

.category-tab {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 76px;
    width: 100%;
    min-width: 0;
    padding: 15px 14px;
    font-size: 14px;
    gap: 10px;
    border: 1px solid #f5f1e44a;
    border-radius: 18px;
    background: linear-gradient(130deg, #e8edf42e, #c4d3e110);
    backdrop-filter: blur(18px);
    color: #f2eee5;
    box-shadow: inset 0 1px 0 #fff3
}

.category-tab>svg {
    width: 23px;
    height: 23px;
    box-sizing: content-box;
    padding: 0;
    flex-shrink: 0;
    background: none;
    border: 0;
    color: var(--accent)
}

.category-tab[aria-selected=true] {
    background: linear-gradient(130deg, #eee8d8ed, #c9c9c0eb);
    border-color: #eee9dd;
    color: #142131
}

.category-tab[aria-selected=true]>svg {
    color: #514732
}

.category-tab[aria-selected=true]::before {
    display: none
}

.category-badge {
    position: static;
    color: inherit;
    background: #ffffff25;
    font-size: 12px;
    flex-shrink: 0
}

.category-badge:empty {
    display: block;
    visibility: hidden;
    width: 18px;
    padding: 0
}

.service-workbench {
    padding: 28px;
    border-radius: 24px;
    min-height: 0;
    background: linear-gradient(140deg, #34404d7a, #111d2bc9);
    border-color: #e5e0d42e;
    backdrop-filter: blur(20px)
}

.workbench-heading {
    margin-bottom: 22px;
    padding-bottom: 20px
}

.workbench-heading h2 {
    font-size: 28px
}

.workbench-heading p {
    font-size: 15px;
    max-width: 600px;
    color: #ccd2d9
}

.workbench-icon {
    display: none
}

.builder-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: 0
}

.builder-service {
    min-height: 270px;
    padding: 22px;
    background: linear-gradient(140deg, #ebf0f120, #b2bbc10b);
    border-color: #e8e5da42;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 #fff2;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: background .18s, border-color .18s
}

.builder-service:hover {
    transform: none;
    background-color: #ffffff0e;
    box-shadow: none;
    border-color: #e9ddc4a3
}

.builder-service[aria-pressed=true] {
    background: linear-gradient(130deg, #c9bfa638, #bcc3ce1c);
    border-color: #dacbb0;
    box-shadow: inset 0 0 0 1px #dacbb035
}

.builder-service[aria-pressed=true]::after {
    display: none
}

.builder-service-title {
    font-size: 18px;
    line-height: 1.4
}

.builder-service-text,
.builder-service[aria-pressed=true] .builder-service-text {
    font-size: 15px;
    line-height: 1.65;
    color: #c8d1dc
}

.builder-service-top {
    margin-bottom: 18px
}

.builder-service-top>svg {
    color: var(--accent)
}

.selection-mark {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    transform: none !important;
    transition: background .18s
}

.builder-service[aria-pressed=true] .selection-mark {
    color: #19212e;
    background: var(--accent);
    border-color: var(--accent);
    transform: none
}

.service-price {
    margin-top: auto;
    padding-top: 22px
}

.service-price>strong {
    font-size: 24px;
    color: #f3ede0
}

.service-price>small {
    font-size: 13px;
    color: #d5d2ca
}

.service-scope {
    font-size: 13px;
    color: #bcc5ce;
    line-height: 1.6
}

.workbench-footer>p {
    font-size: 14px;
    color: #b6c3d0;
    max-width: none
}

.next-category {
    font-size: 14px;
    color: var(--accent)
}

.plan-panel {
    position: sticky !important;
    top: 100px;
    display: flex;
    flex-direction: column;
    height: min(650px, calc(100dvh - 120px));
    min-height: 440px;
    max-height: none;
    padding: 24px;
    overflow: hidden;
    overflow-anchor: none;
    border: 1px solid #e5e1d955;
    border-radius: 28px;
    background: linear-gradient(135deg, #293746ee, #142130ed);
    backdrop-filter: blur(30px);
    box-shadow: 0 18px 55px #0004, inset 0 1px 0 #fff2;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important
}

.plan-panel::before {
    display: none
}

.plan-map {
    display: none !important
}

.plan-top {
    flex: 0 0 auto;
    margin-bottom: 18px
}

.plan-top h2 {
    font-size: 26px
}

.plan-top .eyebrow {
    color: #c6bca8;
    font-size: 13px
}

.selection-counter {
    width: 38px;
    height: 38px;
    font-size: 16px;
    background: #ffffff0e;
    color: var(--accent);
    border-color: #dfd2b855
}

.plan-scroll {
    flex: 1 1 0;
    min-height: 60px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    overflow-anchor: none;
    padding-right: 4px
}

.plan-items {
    display: grid;
    gap: 9px;
    max-height: none;
    overflow: visible;
    min-height: 0 !important
}

.plan-empty {
    padding: 20px 0;
    border: 0
}

.plan-empty p {
    font-size: 14px;
    color: #bec9d4
}

.plan-empty h3 {
    font-size: 17px;
    color: #ede9df
}

.plan-item {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    min-width: 0;
    border: 0;
    background: #ffffff08;
    border-radius: 14px;
    padding: 13px 10px;
    font-size: 14px;
    line-height: 1.4;
    gap: 9px;
    color: #edf0f2
}

.plan-item>span {
    min-width: 0;
    overflow-wrap: anywhere
}

.plan-item>svg {
    display: none
}

.plan-item strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 5px;
    color: var(--accent)
}

.plan-item small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #c4cbd2
}

.plan-item>button,
.plan-dialog .plan-item>button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #ffffff0b;
    color: #ece8df
}

.plan-estimate {
    flex: 0 0 auto;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ddd3be33
}

.plan-estimate dl {
    margin: 0
}

.plan-estimate dl>div {
    font-size: 14px
}

.plan-estimate dd {
    color: #f4eee1
}

.estimate-main {
    gap: 12px;
    align-items: center
}

.estimate-main>span {
    font-size: 13px;
    max-width: 100px
}

.estimate-main>strong {
    font-size: 30px;
    color: #eee6d5;
    font-variant-numeric: tabular-nums;
    white-space: nowrap
}

.plan-estimate>p {
    font-size: 12px;
    color: #bdc8d2;
    line-height: 1.5;
    margin: 10px 0 16px
}

.plan-total-updated {
    animation: none !important;
    transform: none !important
}

.plan-submit {
    flex: 0 0 auto;
    font-size: 15px;
    min-height: 48px
}

.plan-utilities {
    flex: 0 0 auto;
    padding-top: 12px;
    gap: 12px
}

.plan-utilities button {
    font-size: 12px;
    min-height: 34px;
    color: #d4ccbc
}

.plan-utilities button:disabled {
    opacity: .4
}

.builder-bottom-bar {
    display: none
}

.plan-dialog {
    border-radius: 28px;
    padding: 26px;
    background: #172434;
    color: #f6f1e8;
    max-width: 520px
}

.plan-dialog [data-mobile-plan-items] {
    max-height: none;
    min-height: 0;
    flex: 1;
    overflow: auto
}

.constructor-price-context {
    font-size: 14px;
    color: #d0d5dc;
    line-height: 1.7
}

.constructor-page .site-footer {
    padding-bottom: 25px
}

.constructor-page .cookie-banner {
    z-index: 90
}

/* Additional service pages, useful reference content and team photographs. */
.breadcrumbs {
    font-size: 13px;
    color: #d2c8b4;
    line-height: 1.8;
    margin: 0 auto 26px
}

.breadcrumbs ol {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0
}

.breadcrumbs li+li::before {
    content: "/";
    padding-right: 10px;
    color: #99a4ae
}

.breadcrumbs a {
    text-decoration: underline;
    text-underline-offset: 4px
}

.service-detail-hero {
    padding-top: 36px
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1.4fr .85fr;
    gap: 40px;
    align-items: center
}

.service-detail-layout>div>p {
    color: #d2dbe3;
    max-width: 660px
}

.service-summary {
    padding: 28px
}

.service-summary h2 {
    font-size: 25px
}

.service-summary p {
    font-size: 16px
}

.service-summary ul {
    padding-left: 20px;
    line-height: 1.8
}

.service-content {
    padding-block: 56px
}

.service-content .story-width {
    max-width: 1040px
}

.service-content h2 {
    font-size: 32px;
    margin-bottom: 22px
}

.service-content h3 {
    font-size: 21px;
    margin: 0 0 12px
}

.service-content p,
.service-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #d0d9e2
}

.service-content section+section {
    margin-top: 42px
}

.service-content ul {
    padding-left: 22px
}

.service-content .story-glass-dark {
    padding: 28px
}

.related-services {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px
}

.related-services a {
    padding: 12px 16px;
    border: 1px solid #f1e4c444;
    border-radius: 99px;
    font-size: 14px;
    color: #eee3ca
}

.catalog-reference {
    margin: 45px auto 0;
    border-top: 1px solid #c5cfda33;
    padding-top: 24px
}

.catalog-reference>summary {
    cursor: pointer;
    font-size: 17px;
    color: #e1d4bc;
    padding: 15px 0
}

.catalog-reference h3 {
    font-size: 23px;
    margin: 28px 0 15px
}

.catalog-reference dl {
    display: grid;
    gap: 12px
}

.catalog-reference dl>div {
    border: 1px solid #ffffff22;
    border-radius: 16px;
    padding: 18px;
    background: #ffffff08
}

.catalog-reference dt {
    font-size: 17px;
    font-weight: 650;
    color: #e6ddcb
}

.catalog-reference dd {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #c9d1db
}

.team-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 35px auto 0
}

.team-photo-grid figure {
    margin: 0
}

.team-photo-grid img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid #fff4
}

.team-photo-grid figcaption {
    font-size: 13px;
    color: #aebcca;
    line-height: 1.6;
    margin-top: 12px
}

.team-desk {
    gap: 18px;
    margin-top: 35px
}

.team-glass {
    padding: 25px
}

.team-glass h2 {
    font-size: 24px
}

.team-glass p {
    font-size: 16px
}

.about-office-copy {
    min-height: 0;
    max-width: 1120px
}

.about-office-copy>p {
    max-width: 670px
}

.about-office-copy h1 {
    max-width: 750px
}

.about-office-copy h1 br:last-child {
    display: none
}

.phone-link {
    white-space: nowrap
}

.footer-links {
    flex-wrap: wrap
}

.site-footer .footer-links a {
    font-size: 14px
}

.site-dialog .dialog-x {
    width: 44px;
    height: 44px
}

.site-dialog h2 {
    padding-right: 22px
}

.contact-office-details>div {
    min-width: 0
}

.contact-office-details a {
    overflow-wrap: anywhere
}

.story-surface .messengers {
    flex-wrap: wrap
}

.story-surface .messenger {
    min-height: 44px
}

@media(max-width:1100px) {
    .hero-header .primary-navigation {
        gap: 15px
    }

    .constructor-workspace {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 18px
    }

    .category-tab {
        font-size: 13px;
        padding: 13px 10px
    }

    .category-tab>svg {
        display: none
    }

    .plan-panel {
        padding: 21px
    }

    .builder-service-grid {
        grid-template-columns: 1fr
    }

    .builder-service {
        min-height: 0
    }

    .story-chapter {
        gap: 30px
    }

    .header-shell .inner-header {
        gap: 20px
    }

    .estimate-main>strong {
        font-size: 27px
    }
}

@media(max-width:900px) {
    .constructor-workspace {
        grid-template-columns: 1fr
    }

    .plan-panel {
        display: none !important
    }

    .category-tabs {
        display: flex;
        overflow: auto;
        scrollbar-width: none;
        gap: 10px
    }

    .category-tab {
        flex: 0 0 160px;
        min-height: 64px;
        font-size: 14px
    }

    .category-rail {
        position: sticky;
        top: 80px;
        z-index: 15;
        padding-block: 10px;
        background: #0c1724ef;
        backdrop-filter: blur(20px)
    }

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

    .builder-bottom-bar {
        display: flex;
        position: fixed;
        z-index: 45;
        left: 16px;
        right: 16px;
        bottom: max(12px, env(safe-area-inset-bottom));
        max-width: 600px;
        margin-inline: auto;
        padding: 12px 16px;
        gap: 14px;
        border-radius: 22px;
        background: #e6e4dcf5;
        backdrop-filter: blur(24px);
        border: 1px solid #fff9;
        box-shadow: 0 8px 38px #0005
    }

    .mobile-plan-count {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        gap: 3px;
        background: none;
        border: 0;
        color: #17232f;
        text-align: left
    }

    .mobile-plan-count>span {
        font-size: 22px;
        font-weight: 750;
        font-variant-numeric: tabular-nums;
        white-space: nowrap
    }

    .mobile-plan-count>small {
        font-size: 12px;
        color: #4a5660
    }

    .builder-bottom-bar>.button {
        font-size: 14px;
        min-width: 0;
        padding: 12px 16px;
        background: #182a3d;
        color: #fff;
        min-height: 46px
    }

    .constructor-page .footer-bottom {
        padding-bottom: 115px
    }

    .plan-dialog[open] {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: auto 0 0;
        margin: 0 auto;
        width: min(100%, 640px);
        max-width: none;
        height: min(82dvh, 760px);
        max-height: calc(100dvh - 18px);
        padding: 25px 22px max(22px, env(safe-area-inset-bottom));
        border-radius: 28px 28px 0 0;
        border: 1px solid #ffffff44;
        overflow: hidden
    }

    .plan-dialog .plan-estimate {
        margin-top: 16px
    }

    .plan-dialog h2 {
        font-size: 28px;
        margin: 12px 0 20px
    }

    .constructor-main {
        padding-bottom: 65px
    }

    .constructor-help {
        display: none
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .service-detail-layout .service-summary {
        max-width: 650px
    }

    .team-desk {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:860px) {

    .story-width,
    .content-width {
        width: calc(100% - 40px)
    }

    .hero-header.site-header {
        width: calc(100% - 40px);
        height: 80px
    }

    .hero-header .primary-navigation {
        margin: 0;
        gap: 0
    }

    .hero-header .menu-toggle {
        display: flex
    }

    .hero-header .button-header {
        display: none
    }

    .hero-copy {
        margin: 25px auto 0;
        width: calc(100% - 40px);
        max-width: 680px
    }

    .hero-copy h1 {
        font-size: clamp(35px, 5.9vw, 51px)
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 520px
    }

    .hero-eyebrow {
        font-size: 15px;
        gap: 10px
    }

    .hero-eyebrow>span {
        width: 25px
    }

    .reference-stage>.scene-layer {
        width: 1000px;
        height: 1500px;
        margin-left: -500px;
        top: -20px
    }

    .hero-story .services {
        margin-top: 410px;
        width: calc(100% - 40px);
        max-width: 650px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px
    }

    .hero-story .service-title {
        font-size: 13px
    }

    .hero-story .value-strip {
        width: calc(100% - 40px);
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .hero-story .button-quote {
        grid-column: 1/-1
    }

    .hero-story .stage-footer {
        margin-top: 24px
    }

    .stage-footer p {
        font-size: 13px
    }

    .story-chapter,
    .chapter-right {
        min-height: 0;
        padding: 65px 0;
        grid-template-columns: 1fr;
        gap: 24px;
        display: grid
    }

    .chapter-copy,
    .desk-note,
    .chapter-right .desk-note {
        width: 100%;
        max-width: none;
        align-self: auto;
        margin: 0
    }

    .desk-note {
        padding: 25px
    }

    .desk-note h3 {
        margin-top: 16px
    }

    .journey-position {
        display: none
    }

    .journey-visual {
        min-height: 0
    }

    .faq-story-layout,
    .conversation-layout,
    .confidence-layout,
    .contact-office-layout {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .story-surface h1 {
        font-size: 42px
    }

    .story-surface h2,
    .chapter-copy h2 {
        font-size: 36px
    }

    .story-surface {
        padding-block: 58px
    }

    .glass-packages {
        grid-template-columns: 1fr;
        max-width: 600px
    }

    .direction-deck {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px
    }

    .direction-tile:last-child {
        grid-column: 1/-1
    }

    .direction-tile {
        min-height: 195px
    }

    .constructor-main {
        width: calc(100% - 36px)
    }

    .constructor-heading h1 {
        font-size: 36px
    }

    .team-photo-grid img {
        height: 250px
    }

    .about-office-copy {
        min-height: 0
    }

    .contact-office-copy h1 {
        font-size: 42px
    }

    .contact-office-form {
        padding: 28px
    }

    .contact-office-details {
        margin-top: 24px
    }

    .constructor-heading {
        display: block
    }
}

@media(max-width:540px) {
    .hero-copy h1 {
        font-size: clamp(30px, 8.2vw, 43px);
        line-height: 1.15
    }

    .hero-copy {
        width: calc(100% - 32px);
        margin-top: 25px
    }

    .headline-accent {
        margin-top: 8px
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.65;
        max-width: 390px
    }

    .hero-eyebrow {
        font-size: 14px
    }

    .hero-primary {
        font-size: 15px;
        margin-top: 22px
    }

    .reference-stage>.scene-layer {
        top: 170px;
        width: 660px;
        height: 990px;
        margin-left: -330px
    }

    .hero-story .services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 330px;
        gap: 14px;
        width: calc(100% - 36px)
    }

    .hero-story .service-title {
        font-size: 15px
    }

    .hero-story .value-strip {
        width: calc(100% - 36px);
        padding: 20px 12px
    }

    .value-item strong {
        font-size: 19px
    }

    .value-item>span {
        font-size: 12px
    }

    .hero-story .service-card {
        height: 139px
    }

    .stage-footer p {
        font-size: 12px;
        gap: 5px
    }

    .stage-footer .footer-dash {
        display: none
    }

    .story-surface h1 {
        font-size: 36px
    }

    .story-surface h2,
    .chapter-copy h2 {
        font-size: 32px
    }

    .scene-eyebrow {
        font-size: 13px
    }

    .chapter-copy>p:not(.scene-eyebrow) {
        font-size: 16px
    }

    .story-chapter,
    .chapter-right {
        padding-block: 48px
    }

    .desk-note h3 {
        font-size: 23px
    }

    .story-heading {
        margin-bottom: 28px
    }

    .glass-package {
        padding: 27px 24px
    }

    .glass-package ul {
        display: block
    }

    .team-desk,
    .team-photo-grid {
        grid-template-columns: 1fr
    }

    .team-photo-grid img {
        height: 280px
    }

    .team-glass h2 {
        font-size: 25px
    }

    .constructor-heading h1 {
        font-size: 32px
    }

    .constructor-heading p {
        font-size: 15px
    }

    .service-workbench {
        padding: 22px 16px
    }

    .builder-service-grid {
        grid-template-columns: 1fr;
        gap: 14px
    }

    .builder-service {
        padding: 22px;
        min-height: 0
    }

    .builder-service-title {
        font-size: 19px
    }

    .service-price>strong {
        font-size: 24px
    }

    .workbench-heading h2 {
        font-size: 26px
    }

    .workbench-heading p {
        font-size: 15px
    }

    .category-tab {
        flex-basis: 150px
    }

    .builder-bottom-bar {
        left: 10px;
        right: 10px;
        padding: 12px;
        gap: 10px
    }

    .mobile-plan-count>span {
        font-size: 21px
    }

    .builder-bottom-bar>.button {
        font-size: 13px;
        padding: 12px 14px
    }

    .plan-dialog[open] {
        padding: 24px 18px max(20px, env(safe-area-inset-bottom))
    }

    .conversation-form,
    .contact-office-form {
        padding: 25px 22px
    }

    .conversation-form h3 {
        font-size: 25px
    }

    .contact-office-copy h1 {
        font-size: 35px
    }

    .contact-office-details {
        padding: 24px
    }

    .service-content h2 {
        font-size: 28px
    }

    .service-content .story-glass-dark {
        padding: 22px
    }

    .related-services a {
        font-size: 13px
    }

    .site-footer .footer-main {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .site-footer .footer-bottom {
        gap: 20px;
        align-items: flex-start
    }

    .site-footer .footer-bottom>div {
        gap: 12px
    }

    .cookie-banner {
        max-height: calc(100dvh - 24px);
        overflow: auto
    }

    .estimate-main>strong {
        font-size: 28px
    }
}

@media(max-width:360px) {
    .hero-copy h1 {
        font-size: 29px
    }

    .hero-eyebrow>span {
        display: none
    }

    .hero-story .services {
        margin-top: 295px
    }

    .hero-story .value-strip {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .value-item {
        border: 0
    }

    .hero-header.site-header {
        width: calc(100% - 32px)
    }

    .constructor-heading h1 {
        font-size: 29px
    }

    .builder-bottom-bar>.button {
        padding-inline: 10px
    }

    .mobile-plan-count>span {
        font-size: 19px
    }
}

@media(max-height:680px) and (min-width:901px) {
    .plan-panel {
        top: 90px;
        height: calc(100dvh - 105px);
        min-height: 350px;
        padding: 18px
    }

    .plan-top {
        margin-bottom: 10px
    }

    .plan-top h2 {
        font-size: 22px
    }

    .plan-estimate {
        margin-top: 10px;
        padding-top: 10px
    }

    .plan-estimate>p {
        margin: 6px 0 10px
    }

    .plan-utilities {
        padding-top: 4px
    }

    .estimate-main>strong {
        font-size: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important
    }

    .hero-story .scene-layer {
        animation: none !important;
        transform: none !important
    }

    .builder-service,
    .plan-panel,
    .plan-item {
        animation: none !important;
        transition: none !important
    }
}

/* HERO займає всю ширину вікна */
.home-page .page-shell.hero-story {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* Розширюємо фотографію на великих екранах */
@media (min-width: 1120px) {
  .home-page .reference-stage > .scene-layer {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;

    left: 0;
    right: 0;
    bottom: auto;
    margin-left: 0;
  }
}

/* Override the original home-specific container typography, including its mobile rules. */
.home-page .hero-eyebrow {
    font-size: 17px
}

.home-page .hero-copy h1 {
    font-size: clamp(38px, 4.6vw, 62px)
}

.home-page .headline-accent {
    font-size: inherit;
    letter-spacing: inherit
}

.home-page .hero-subtitle {
    font-size: 17px;
    max-width: 630px;
    line-height: 1.65;
    margin-top: 23px
}

.home-page .button-header {
    font-size: 15px;
    min-height: 48px
}

.home-page .value-item strong {
    font-size: 25px
}

.home-page .hero-copy .light-divider {
    display: none
}

@media(max-width:860px) {
    .home-page .hero-copy h1 {
        font-size: clamp(35px, 5.9vw, 51px)
    }

    .home-page .hero-eyebrow {
        font-size: 15px
    }

    .home-page .hero-subtitle {
        font-size: 16px;
        max-width: 520px
    }
}

@media(max-width:540px) {
    .home-page .hero-copy h1 {
        font-size: clamp(30px, 8.2vw, 43px)
    }

    .home-page .hero-eyebrow {
        font-size: 14px
    }

    .home-page .hero-subtitle {
        max-width: 390px
    }

    .home-page .value-item strong {
        font-size: 19px
    }
}

@media(max-width:360px) {
    .home-page .hero-copy h1 {
        font-size: 29px
    }
}

.service-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px
}

.service-directory .direction-tile {
    min-height: 200px
}

.service-directory .direction-tile:last-child {
    grid-column: auto
}

.service-directory p {
    font-size: 14px;
    color: #33465a
}

@media(max-width:860px) {
    .service-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:540px) {
    .service-directory {
        grid-template-columns: 1fr
    }

    .service-directory .direction-tile {
        min-height: 160px
    }
}

/* A dialog replaces the fixed controls while it is open. */
body.dialog-open .builder-bottom-bar {
    visibility: hidden
}

a.messenger {
    cursor: pointer
}

/* Dark-glass text must not inherit the previous silver-card ink. */
.builder-service-title,
.builder-service[aria-pressed=true] .builder-service-title,
.plan-panel .plan-top h2 {
    color: #f4f0e6
}

.plan-panel,
.plan-dialog {
    color: #e4e8ec
}

.plan-estimate dt,
.estimate-main>span {
    color: #c7d0da
}

.plan-panel .plan-estimate>p {
    color: #bdc8d2
}

.category-tab::after {
    display: none
}

.plan-panel .plan-estimate dl>div {
    color: #c7d0da
}

.selection-mark {
    color: #ded2bd
}

.service-price>small {
    color: #ddd5c6
}

.plan-dialog [data-mobile-plan-items] {
    align-content: start
}

.plan-dialog .plan-item {
    background: #ffffff09;
    color: #eee9df
}

.plan-dialog .plan-item strong {
    color: #dfd2b8
}

.plan-dialog .plan-item>button {
    background: #ffffff0e;
    color: #eee9df
}

.plan-dialog .estimate-main>span,
.plan-dialog .plan-estimate>p {
    color: #c7d0da
}

/* Let horizontal category navigation shrink inside its grid track. */
.constructor-workspace>*,
.category-tabs,
.service-workbench,
.builder-service-grid {
    min-width: 0;
    max-width: 100%
}

@media(max-width:900px) {
    .constructor-workspace {
        grid-template-columns: minmax(0, 1fr)
    }

    .category-rail {
        overflow: hidden
    }

    .category-tabs {
        width: 100%
    }
}

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

.team-photo-grid figure {
    min-width: 0;
    overflow: hidden
}

.about-office-copy h1 br:last-child {
    display: initial
}

.mobile-contact {
    background: var(--button-gradient);
    color: #18212c
}

@media(max-width:540px) {
    .team-photo-grid {
        grid-template-columns: minmax(0, 1fr)
    }
}

.constructor-heading .eyebrow {
    color: var(--accent)
}

html {
    overflow-x: clip
}

.service-detail-hero .story-photo::after {
    background: linear-gradient(90deg, #07101edb 0%, #07101e9c 60%, #07101e4a), linear-gradient(0deg, #07101e, transparent 40%)
}