/* Shared offers and maintenance: the existing monochrome studio palette. */
.studio-offers {
    position: relative;
    padding: 7rem 6vw;
    border-top: 1px solid var(--line)
}

.offers-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
    margin-bottom: 3rem
}

.offers-head h2 {
    font-size: clamp(3rem, 6vw, 6.5rem);
    line-height: 1.08;
    margin-top: 1.2rem
}

.offers-head>p {
    max-width: 42ch;
    color: var(--muted);
    font-size: .96rem;
    line-height: 1.65
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem
}

.maintenance-card,
.project-offer {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: #111;
    padding: 2rem;
    position: relative
}

.maintenance-card-featured {
    background: #1b1b1b;
    border-color: #b8b8b8
}

.maintenance-card h3,
.project-offer h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    margin: 0
}

.offer-intro {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 42ch
}

.offer-price {
    font-family: var(--display);
    font-size: clamp(3.8rem, 6vw, 6rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 2rem 0 1rem;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .65rem
}

.offer-price > span:last-child {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-style: italic;
    letter-spacing: 0;
    color: var(--muted)
}

.offer-quota {
    font-size: .85rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    color: var(--ink)
}

.maintenance-card ul,
.project-offer ul {
    list-style: none;
    display: grid;
    gap: .9rem;
    margin: 1.5rem 0 2rem;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.55
}

.maintenance-card li,
.project-offer li {
    padding-left: 1rem;
    position: relative
}

.maintenance-card li:before,
.project-offer li:before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--ink)
}

.offer-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding: 1.1rem 0 .1rem;
    font-size: .65rem;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--ink)
}

.offer-link span {
    font-size: 1.4rem;
    transition: transform .2s
}

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

.offer-link:focus-visible,
.offers-more:focus-visible,
.price-type:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 5px
}

.maintenance-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.7
}

.maintenance-details strong {
    display: block;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: .4rem
}

.offers-more {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
    margin-top: 1.3rem;
    font-size: .68rem;
    letter-spacing: .14em;
    line-height: 1.6
}

.option-price {
    display: block;
    margin-top: .35rem;
    letter-spacing: .04em;
    font-size: .63rem;
    color: var(--ink)
}

.option-grid .is-included span {
    border-style: dashed;
    opacity: .7
}

.sim-included {
    font-size: .74rem;
    line-height: 1.6;
    color: var(--muted);
    margin-top: .8rem
}

.sim-included a {
    border-bottom: 1px solid var(--line)
}

.complexity-grid input:focus-visible+span,
.option-grid input:focus-visible+span {
    outline: 2px solid var(--ink);
    outline-offset: 4px
}

.price-range:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 7px
}

.price-sim-controls,
.price-sim-result {
    min-width: 0
}

.price-sim-result-top {
    flex-wrap: wrap
}

.estimate-cta {
    margin-top: 1.5rem
}

@media(max-width:1000px) {
    .maintenance-grid {
        grid-template-columns: 1fr
    }

    .maintenance-card {
        padding: 2rem
    }

    .offer-price {
        font-size: 4.5rem
    }

    .offers-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem
    }
}

@media(max-width:600px) {
    .studio-offers {
        padding: 5rem 6vw
    }

    .offers-head h2 {
        font-size: clamp(2.5rem, 11vw, 4rem);
        line-height: 1.12
    }

    .maintenance-details {
        grid-template-columns: 1fr;
        gap: 1rem
    }

    .option-grid,
    .complexity-grid {
        grid-template-columns: 1fr
    }

    .maintenance-card {
        padding: 1.5rem
    }
}

.studio-offers,
#estimation {
    scroll-margin-top: 6rem
}

#simOptions[hidden],
.option-grid label[hidden] {
    display: none !important
}

.maintenance-card h3 {
    font-size: clamp(2rem, 3.1vw, 3.3rem)
}

.offer-cancellation {
    font-size: .7rem;
    line-height: 1.6;
    color: var(--muted);
    margin: -.15rem 0 1rem
}

.option-grid .is-included span {
    opacity: 1;
    border-style: solid;
    border-color: rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .075);
    color: var(--ink)
}

.option-grid .is-included .option-price {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: .08em
}

.sim-included-summary {
    color: var(--ink)
}

.maintenance-card .offer-intro { color: #c7c7c7; min-height: 3.2em; }
.maintenance-card .offer-quota { font-size: 1rem; }
.maintenance-card .offer-quota strong { font-size: 1.6rem; font-weight: 500; }
.maintenance-card ul { color: #bcbcbc; font-size: .95rem; margin-bottom: 1rem; }
.offer-priority { font-size: .95rem; color: #eee; margin: 0 0 1rem; }
.offer-example { margin: .5rem 0 1.5rem; color: #c2c2c2; font-size: .88rem; line-height: 1.6; }
.offer-example strong { display: block; color: #eee; font-weight: 500; margin-bottom: .25rem; }
.offer-catalogue-link { color: #eee; text-decoration: underline; text-underline-offset: .25em; font-size: .85rem; line-height: 1.6; margin-top: auto; margin-bottom: 1.5rem; }
.maintenance-card .offer-cancellation { color: #bcbcbc; font-size: .8rem; line-height: 1.6; }
.maintenance-card .offer-link { margin-top: 1rem; }
.maintenance-details { color: #bcbcbc; font-size: .95rem; }
.maintenance-scope { color: #aaa; font-size: .88rem; max-width: 95ch; line-height: 1.65; margin-top: 1.5rem; }
#maintenance, #interventions { scroll-margin-top: 100px; }
.intervention-table-wrap { border: 1px solid var(--line); }
.intervention-table { border-collapse: collapse; width: 100%; table-layout: fixed; }
.intervention-caption {
    text-align: left;
    color: #eee;
    background: #191919;
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--line);
}
.intervention-table th { text-align: left; }
.intervention-table thead th { padding: 1.2rem 1.5rem; color: #eee; font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.intervention-table thead th:last-child { width: 24%; }
.intervention-category th { padding: .8rem 1.5rem; background: #202020; color: #eee; font-family: var(--mono); font-size: .9rem; font-weight: 400; }
.intervention-table td { padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); color: #eee; vertical-align: top; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
.intervention-table td p { color: #bcbcbc; font-size: .95rem; margin-top: .35rem; line-height: 1.6; }
.intervention-table td strong { font-weight: 500; }
.offer-catalogue-link:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 600px) {
    .intervention-table th, .intervention-table td, .intervention-category th { padding: .9rem .8rem; }
    .intervention-table thead th:last-child { width: 30%; }
    .intervention-table td { font-size: .9rem; }
    .intervention-table td p { font-size: .9rem; }
}

/* Match the simulator and maintenance cards across the public pages. */
.price-sim,
#maintenance {
    --muted: #9c9c9c;
}

.price-sim .price-range-meta,
.price-sim .price-breakdown div,
.price-sim .price-sim-note,
.price-sim .sim-included,
.price-sim .estimate-cta,
#maintenance .offer-example,
#maintenance .offer-cancellation,
#maintenance .offer-catalogue-link,
#maintenance .maintenance-scope,
#maintenance .offer-link {
    font-size: .9rem;
}

.price-sim .price-sim-note,
.price-sim .sim-included,
#maintenance .offer-cancellation,
#maintenance .maintenance-scope {
    color: #d5d5d5;
}

.price-sim .option-grid label > span {
    font-size: .82rem;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
}

.price-sim .option-price {
    font-size: .75rem;
}

#maintenance .offer-link {
    letter-spacing: .08em;
}

#maintenance .offers-more,
#interventions .offers-more {
    font-size: clamp(1.125rem, 2vw, 1.45rem);
    font-weight: 600;
    letter-spacing: .02em;
    gap: .85rem;
}
