/* Small-screen compositions only. Desktop and tablet layouts remain page-owned. */
.mobile-line-break { display: none; }
@media (max-width: 740px) {
    :root { --mobile-gutter: clamp(20px, 5.3vw, 32px); }
    html { scroll-padding-top: 92px; }
    body { -webkit-text-size-adjust: 100%; }
    .rebrand-page { --home-side: var(--mobile-gutter); --studio-pad: var(--mobile-gutter); --pricing-pad: var(--mobile-gutter); --services-pad: var(--mobile-gutter); }
    .rebrand-page :is(input, select, textarea) { font-size: 16px; }
    .rebrand-page :is(a, button, summary, input, select, textarea) { touch-action: manipulation; }
    .rebrand-page :is(section, h2, h3, input, select, textarea) { scroll-margin-top: 100px; }
    .rebrand-page .skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; }
    .rebrand-page .skip-link:focus { top: 12px; padding: 14px; background: #edf2f3; color: #17313f; }

    /* Shared navigation: compact identity, thumb-sized controls, a full-screen menu. */
    .rebrand-page .brand-nav { top: max(8px, env(safe-area-inset-top)); width: calc(100% - 16px); min-height: 60px; padding: 7px 8px 7px 12px; gap: 8px; border-radius: 9px; background: #102633f2; box-shadow: 0 8px 24px #06152220; }
    .brand-nav .wordmark { font-size: 11px; letter-spacing: -.02em; line-height: 1.3; }
    .brand-nav .wordmark-page { font-size: 10px; line-height: 1.5; color: #afc9d4; }
    .brand-nav__controls { gap: 5px; flex-shrink: 0; }
    .rebrand-page .key-control { min-height: 44px; padding: 10px 11px; font-size: 11px; border-radius: 5px; }
    .rebrand-page .brand-menu { top: calc(-1 * max(8px, env(safe-area-inset-top))); height: 100dvh; min-height: 100dvh; max-height: 100dvh; padding: 110px var(--mobile-gutter) max(36px, env(safe-area-inset-bottom)); background: #102633; }
    .brand-menu__inner { margin: 0; }
    .brand-menu__inner > p { font-size: 10px; color: #8eb5c6; margin-bottom: 24px; letter-spacing: .07em; }
    body .brand-menu a { min-height: 80px; padding: 16px 0; font-size: clamp(34px, 9vw, 48px); font-weight: 500; border-color: #a9c4d029; }
    body .brand-menu a[aria-current="page"] { color: #a9e9f8; }
    .brand-menu a[aria-current="page"]::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
    .rebrand-page .brand-footer, .brand-footer { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px var(--mobile-gutter) max(96px, calc(env(safe-area-inset-bottom) + 72px)); background: #102633; color: #dbe9ef; }
    .brand-footer > div { display: grid; gap: 10px; }
    body .brand-footer strong { font-size: 13px; letter-spacing: .03em; }
    .brand-footer > div > span { max-width: none; color: #9ab3bf; font-size: clamp(11px, 3.2vw, 13px); line-height: 1.6; letter-spacing: -.01em; white-space: nowrap; }
    .brand-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; width: 100%; }
    .brand-footer nav a { display: flex; align-items: center; min-height: 48px; font-size: 12px; text-transform: none; border-bottom: 1px solid #aec7d223; }
    .brand-footer > p { font-size: clamp(10px, 2.8vw, 11px); line-height: 1.6; color: #9ab3bf; max-width: none; margin: 0; letter-spacing: -.01em; white-space: nowrap; }

    /* Older public routes retain their content but share the compact studio footer on phones. */
    body:is(.zest-page, .mobile-legal) .site-footer { isolation: isolate; overflow: hidden; color: #dbe9ef !important; background: #102633 !important; }
    body:is(.zest-page, .mobile-legal) .site-footer::before, body:is(.zest-page, .mobile-legal) .site-footer::after { content: none !important; display: none !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel { display: grid !important; gap: 28px; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 40px var(--mobile-gutter) max(96px, calc(env(safe-area-inset-bottom) + 72px)) !important; background: transparent !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__directory { display: grid !important; padding: 0 !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__directory::before { content: 'BUILDYOURSNOW_\A Brand / design / development / discovery / care' !important; display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; color: #dbe9ef !important; font: 600 11px/1.75 Arial, sans-serif !important; letter-spacing: .01em !important; white-space: pre-line !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__directory nav { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0 24px !important; width: 100% !important; margin: 0 !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__directory nav div { display: contents !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__directory nav span { display: none !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__directory nav a { display: flex !important; align-items: center !important; min-height: 48px !important; width: auto !important; padding: 0 !important; border-bottom: 1px solid #aec7d223 !important; color: #dbe9ef !important; background: transparent !important; font: 500 12px/1.4 Arial, sans-serif !important; text-align: left !important; text-decoration: none !important; text-transform: none !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__base { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; color: #9ab3bf !important; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__base p { margin: 0 !important; color: #9ab3bf !important; font: 400 clamp(10px, 2.8vw, 11px)/1.6 Arial, sans-serif !important; letter-spacing: -.01em !important; text-transform: none !important; white-space: nowrap; }
    body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__base p:not(:first-child), body:is(.zest-page, .mobile-legal) .site-footer .studio-footer-panel__base a { display: none !important; }

    /* Home: a short service path, an immersive terminal, and a top-down diagram. */
    [data-page="home"] .story-hero__kicker { max-width: 26ch; font-size: 10px; line-height: 1.6; letter-spacing: .13em; }
    [data-page="home"] .story-hero__content { top: 104px; left: var(--mobile-gutter); right: var(--mobile-gutter); padding: 0; }
    [data-page="home"] .story-hero__kicker { max-width: none; font-size: 9px; text-shadow: none; color: #183747; }
    [data-page="home"] #story-hero-title { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip-path: none !important; clip: auto !important; white-space: normal !important; padding: 0 !important; margin: 18px 0 0 !important; max-width: 15ch; font-size: clamp(29px, 8.8vw, 42px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; color: #f0f9fc; text-shadow: 0 2px 16px #17374735; }
    body.no-webgl[data-page="home"] #story-hero-title { color: #173747; text-shadow: none; }
    [data-page="home"] .service-journey { padding: 56px var(--mobile-gutter) 64px; }
    .service-journey .story-services__intro h2 { max-width: 11ch; font-size: clamp(36px, 10vw, 48px); line-height: 1.06; }
    .service-journey .story-services__list { padding-left: 0; gap: 0; margin-top: 32px; }
    .service-journey .story-services__list::before { left: 23px; top: 38px; bottom: 38px; width: 2px; height: auto; background: #b2c7ce; box-shadow: none; }
    .service-journey .story-services__list > li:nth-child(n) { grid-template-columns: 48px minmax(0,1fr); column-gap: 20px; min-height: 106px; padding: 20px 0; border: 0; transform: none; }
    .service-journey .story-services__list > li:nth-child(n)::before,
    .service-journey .story-services__list > li:nth-child(n)::after { display: none; }
    .service-journey .story-services__list .service-symbol { width: 48px; height: 48px; padding: 10px; border: 1px solid #b5cbd3; border-radius: 50%; background: #edf2f3; }
    .service-journey .service-symbol svg { width: 28px; height: 28px; }
    .service-journey .story-services__list h3 { font-size: 21px; margin: 0 0 5px; line-height: 1.2; }
    .service-journey .story-services__list p { font-size: 14px; line-height: 1.45; }
    #ai-understanding { padding: 56px var(--mobile-gutter); gap: 28px; }
    #ai-understanding .discovery-chapter__copy h2 { max-width: none; font-size: clamp(29px, 8.45vw, 33px); line-height: 1.1; }
    #ai-understanding .discovery-preview { padding: 22px 18px; border-radius: 8px; box-shadow: 0 18px 30px -24px #10263399; }
    .discovery-preview__query { gap: 10px; padding-bottom: 18px; }
    .discovery-preview__query p { min-width: 0; font-size: 12px; line-height: 1.6; min-height: 58px; white-space: normal; }
    .discovery-preview__query > span { font-size: 23px; }
    .discovery-preview__steps { --discovery-path-x: 11px; --discovery-content-offset: 34px; --discovery-path-travel: 102px; grid-template-rows: repeat(3, 12px); gap: 13px; margin: 0; padding: 18px 0 18px var(--discovery-content-offset); }
    .discovery-preview__steps strong { font-size: 13px; }
    .discovery-preview__result { grid-template-columns: 42px minmax(0,1fr); gap: 12px; padding: 16px 12px; margin: 0; min-height: 132px; }
    .discovery-preview__mark { height: 58px; font-size: 28px; align-self: center; }
    .discovery-preview__mark span { font-size: 12px; margin-bottom: 12px; }
    .discovery-preview__result h3 { font-size: 20px; line-height: 1.15; }
    .discovery-preview__result p { font-size: 12px; line-height: 1.5; }
    .discovery-preview__result ul { gap: 5px; margin-top: 12px; }
    .discovery-preview__result li { font-size: 10px; padding: 5px 7px; }
    #connected-presence { padding: 56px var(--mobile-gutter); gap: 32px; }
    #connected-presence .discovery-chapter__copy { grid-column: 1; grid-row: 1; }
    #connected-presence .discovery-chapter__copy h2 { max-width: none; font-size: clamp(25px, 7.2vw, 28px); line-height: 1.13; text-wrap: nowrap; }
    #connected-presence .discovery-chapter__copy h2 em { display: block; white-space: nowrap; }
    #connected-presence .presence-map { position: relative; grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr; gap: 44px; padding-top: 4px; }
    #connected-presence .presence-map__source { position: relative; width: 168px; justify-self: center; padding: 20px 12px; gap: 8px; border-radius: 12px; box-shadow: 0 14px 30px -24px #305c70; }
    #connected-presence .presence-map__source > span { font-size: 36px; margin-bottom: 0; }
    #connected-presence .presence-map strong { font-size: 16px; letter-spacing: -.02em; }
    #connected-presence .presence-map__lines { display: none; }
    #connected-presence .presence-map__source::after { content: ''; position: absolute; top: 100%; left: 50%; height: 23px; width: 1px; background: #91b4c2; }
    #connected-presence .presence-map__destinations { position: relative; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
    #connected-presence .presence-map__destinations::before { content: ''; position: absolute; top: -22px; left: 16.66%; right: 16.66%; height: 1px; background: #91b4c2; }
    #connected-presence .presence-map__destinations > div { position: relative; flex-direction: column; justify-content: center; gap: 12px; min-height: 100px; padding: 14px 6px; border: 1px solid #bfd0d7; border-radius: 8px; background: #f6f9fa; }
    #connected-presence .presence-map__destinations > div::before { content: ''; position: absolute; top: -22px; left: 50%; height: 22px; width: 1px; background: #91b4c2; }
    #connected-presence .presence-map__destinations svg { width: 26px; height: 26px; flex-basis: 26px; }
    .home-services-more { padding: 56px var(--mobile-gutter); gap: 0; }
    .home-services-more h2 { max-width: none; font-size: clamp(31px, 8.8vw, 36px); line-height: 1.08; white-space: nowrap; }
    .home-services-more .services-more__list { margin-top: 28px; gap: 0; }
    .home-services-more .services-more__list a, .home-services-more .services-more__list a:last-child { grid-template-columns: 36px minmax(0,1fr) 24px; align-items: center; min-height: 126px; gap: 16px; padding: 24px 0; }
    .home-services-more .services-more__list a > svg { grid-column: 1; grid-row: 1; width: 32px; }
    .home-services-more .services-more__list a > div { grid-column: 2; grid-row: 1; }
    .home-services-more .services-more__list a > span { grid-column: 3; grid-row: 1; }
    .home-services-more .services-more__list h3 { font-size: 22px; line-height: 1.15; }
    .home-services-more .services-more__list p { font-size: 13px; line-height: 1.5; margin-top: 9px; }
    .testimonials-section { padding-block: 48px 56px; }
    .testimonials-section__intro { margin-bottom: 24px; }
    .testimonials-section__intro h2 { font-size: 36px; }
    [data-testimonial-layout="belt"] .testimonial-belt__track, [data-testimonial-layout="belt"] .testimonial-belt__group { gap: 16px; }
    .testimonial-story { width: min(320px, calc(100vw - 56px)); height: 344px; min-height: 344px; padding: 24px; }
    .testimonial-story blockquote p { font-size: 22px; line-height: 1.4; }
    .testimonial-story__meta { font-size: 10px; }
    .testimonial-story__details summary { font-size: 13px; }
    .testimonial-story footer strong { font-size: 14px; }
    .testimonial-story footer span { font-size: 12px; }
    .closing-cta { gap: 0; padding: 48px var(--mobile-gutter); }
    .closing-cta h2 { max-width: 12ch; font-size: clamp(38px, 11vw, 50px); }
    .home-cta-link { min-height: 0; width: 100%; font-size: clamp(28px, 8vw, 34px); }
    .home-cta-mark { width: 180px; height: 180px; right: -90px; }

    /* Portfolio: a vertical project journal with both screens fully in view. */
    .studio-page--portfolio .featured-work--tray { padding: 106px var(--mobile-gutter) 0; overflow: visible; background: #edf2f3; }
    .studio-page--portfolio .portfolio-showcase,
    .studio-page--portfolio .portfolio-showcase__sticky,
    .studio-page--portfolio .portfolio-showcase__viewport,
    .studio-page--portfolio .portfolio-showcase__rail { position: static; display: block; width: 100%; height: auto; min-height: 0; padding: 0; margin: 0; overflow: visible; transform: none !important; perspective: none; }
    .studio-page--portfolio .featured-work--tray .portfolio-card,
    .studio-page--portfolio .featured-work--tray .portfolio-card[data-portfolio-slot] { position: relative !important; inset: auto !important; display: block; width: 100%; height: auto !important; min-height: 0; margin: 0 0 42px !important; padding: 0 0 32px; border: 0; border-radius: 0; background: transparent; opacity: 1; visibility: visible; pointer-events: auto; transform: none !important; transition: none; }
    .studio-page--portfolio .portfolio-card__body { display: flex; flex-direction: column; width: 100%; height: auto; min-height: 0; padding: 0; gap: 24px; overflow: visible; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__preview,
    .studio-page--portfolio .featured-work--tray .portfolio-card.is-active .portfolio-card__preview { position: relative; inset: auto; display: block; order: 0; width: 100%; height: auto; padding: 0; margin: 0; filter: none; overflow: visible; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__preview-link { display: block; width: 100%; height: auto; }
    .studio-page--portfolio .featured-work--tray .portfolio-devices { position: relative; width: 100%; height: 310px; max-width: 440px; margin: 0 auto; padding: 0; }
    .studio-page--portfolio .featured-work--tray .portfolio-desktop { position: absolute; left: 0; top: 22px; width: 85%; height: auto; border-radius: 6px; transform: none; box-shadow: 0 14px 24px -16px #17313f60; overflow: hidden; }
    .studio-page--portfolio .portfolio-browser-bar { height: 22px; padding: 0 8px; gap: 3px; }
    .studio-page--portfolio .portfolio-browser-bar b { font-size: 7px; }
    .studio-page--portfolio .portfolio-screen--desktop { height: auto; aspect-ratio: 1.6; }
    .studio-page--portfolio .portfolio-screen--desktop img,
    .studio-page--portfolio .portfolio-screen--desktop video { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: none; }
    .studio-page--portfolio .featured-work--tray .portfolio-phone,
    .js .studio-page--portfolio .featured-work--tray .portfolio-card:not(.is-active) .portfolio-phone {
        position: absolute;
        display: block;
        top: auto;
        right: 14px;
        bottom: 1px;
        width: 43%;
        max-width: 152px;
        height: auto;
        margin: 0;
        padding: 6px;
        border: 2px solid #8aa0ab;
        border-radius: 20px;
        background: #f8fbfc;
        opacity: 1;
        transform: rotate(2.4deg);
        transform-origin: 50% 86%;
        box-shadow: 10px 18px 30px -17px #17313fa3;
    }
    .studio-page--portfolio .portfolio-screen--mobile { aspect-ratio: 390 / 844; height: auto; border-radius: 13px; }
    .studio-page--portfolio .portfolio-screen--mobile img,
    .studio-page--portfolio .portfolio-screen--mobile video { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: none; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__copy { position: static; display: grid; order: 1; width: 100%; height: auto; gap: 18px; padding: 0; margin: 0; visibility: visible; opacity: 1; transform: none; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__copy > div:first-child { display: block; width: 100%; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__project-meta { display: block; width: 100%; white-space: normal; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__project-meta strong { display: block; width: 100%; white-space: normal; font-size: 28px; line-height: 1.12; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__highlights { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 16px 0 0; width: 100%; overflow: visible; white-space: normal; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__highlights li:nth-child(n) { font-size: 12px; line-height: 1.4; padding: 7px 9px; white-space: normal; border: 1px solid #bbced6; background: #f6fafb; border-radius: 4px; }
    .studio-page--portfolio .portfolio-card__support { position: static; display: block; margin: 0; }
    .studio-page--portfolio .featured-work--tray .portfolio-card__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; font-size: 15px; border-bottom: 1px solid #94b1bf; }
    .studio-page--portfolio .featured-work__closing { margin-inline: calc(-1 * var(--mobile-gutter)); padding: 44px var(--mobile-gutter) 56px; display: grid; gap: 24px; background: #e1ebef; }
    .featured-work__closing h2 { font-size: 32px; line-height: 1.1; }
    .featured-work__closing .mobile-line-break { display: block; }
    .featured-work__closing-copy > p { margin-top: 18px; font-size: 15px; line-height: 1.65; }
    .featured-work__closing .button { width: 100%; min-height: 54px; }

    .studio-page--portfolio .featured-work--tray .portfolio-card__link { max-width: none; font-family: var(--font-brand); font-weight: 600; letter-spacing: 0; text-transform: none; }

    /* Pricing: one decision at a time, then two readable comparison columns. */
    .pricing-studio-page main { padding-top: 86px; background: #edf2f3; }
    .plan-intro { padding: 20px var(--mobile-gutter) 44px; background: #edf2f3; }
    .plan-finder { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .guide-workspace, .has-results .guide-workspace { padding: 0; }
    .plan-finder__top { font-size: 10px; line-height: 1.5; gap: 12px; }
    .guide-time { color: #5a7887; }
    .plan-finder h2 { font-size: 34px; line-height: 1.08; margin-top: 26px; }
    .plan-finder [data-guide-hint] { font-size: 15px; line-height: 1.55; margin-bottom: 24px; }
    .plan-choices, .plan-choices[data-count="3"] { gap: 12px; }
    .plan-choice { min-height: 98px; padding: 20px 44px 20px 18px; gap: 0; border-radius: 8px; background: #fafcfd; }
    .guide-choice-index { display: none; }
    .plan-choice strong { font-size: 18px; line-height: 1.2; }
    .plan-choice small { font-size: 14px; line-height: 1.5; margin-top: 8px; }
    .guide-choice-check { right: 14px; top: 20px; width: 20px; height: 20px; font-size: 12px; }
    .guide-notes { margin-top: 16px; }
    .guide-notes > summary { min-height: 48px; font-size: 14px; }
    .guide-notes > summary span { font-size: 12px; }
    .plan-note { font-size: 14px; }
    .plan-finder textarea { min-height: 110px; font-size: 16px; }
    .plan-finder__actions { display: flex; gap: 16px; margin-top: 16px; padding: 10px 0; }
    .plan-finder__actions button { min-height: 52px; font-size: 15px; }
    .plan-finder__actions .guide-continue { flex: 1; min-height: 54px; font-size: 16px; padding: 14px 20px; border-radius: 6px; }
    .guide-bottom { margin-top: 12px; padding-top: 12px; gap: 12px; font-size: 12px; }
    .guide-bottom a, .guide-bottom button { min-height: 44px; }
    .guide-comparison, .guide-comparison thead, .guide-comparison tbody, .guide-comparison tfoot { display: block; width: 100%; }
    .guide-comparison tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; }
    .guide-comparison thead th:first-child, .guide-comparison tfoot td:first-child { display: none; }
    .guide-comparison thead th { padding: 18px 12px; width: auto; border-radius: 6px 6px 0 0; background: #f7fafb; border-color: #b5cbd5; }
    .guide-comparison th:nth-child(3), .guide-comparison td:nth-child(3) { border-left: 1px solid #b5cbd5; }
    .guide-option-label { min-height: 32px; font-size: 10px; line-height: 1.5; margin-bottom: 14px; }
    .guide-comparison h3 { font-size: 24px; line-height: 1.12; overflow-wrap: anywhere; }
    .guide-option-focus { font-size: 13px; line-height: 1.5; }
    .guide-option-price { font-size: clamp(22px, 6vw, 32px); }
    .guide-option-unit { font-size: 12px; line-height: 1.5; }
    .guide-comparison tbody th:first-child { grid-column: 1 / -1; width: auto; padding: 20px 0 10px; font-size: 13px; border-bottom: 0; color: #214b5e; }
    .guide-comparison tbody td { padding: 14px 12px 20px; font-size: 14px; line-height: 1.6; background: #f7fafb; }
    .guide-comparison tfoot td { padding: 16px 6px 0 0; border: 0; }
    .guide-comparison tfoot td:last-child { padding: 16px 0 0 6px; border: 0; }
    .guide-comparison .plan-next { min-height: 60px; padding: 12px; font-size: 14px; line-height: 1.35; }
    .guide-result-note { font-size: 12px; line-height: 1.6; margin-top: 16px; }
    .guide-followup { gap: 22px; margin-top: 32px; padding: 24px 20px; border-radius: 8px; background: #dfecef; }
    .guide-followup h3 { font-size: 28px; line-height: 1.1; }
    .guide-followup__copy > p, .guide-followup label { font-size: 14px; line-height: 1.6; }
    .guide-followup input { min-height: 54px; font-size: 16px; }
    .guide-followup .plan-next { min-height: 54px; font-size: 15px; }
    .guide-followup__status { font-size: 13px; }
    .plan-catalog { padding: 40px var(--mobile-gutter) 48px; background: #edf2f3; border-top: 1px solid #b5cbd566; }
    .plan-catalog__heading { margin-bottom: 20px; }
    .plan-catalog__heading h2 { font-size: 36px; }
    .plan-category > summary { min-height: 108px; padding: 24px 0; font-size: 24px; line-height: 1.2; gap: 16px; }
    .plan-category > summary small { font-size: 13px; line-height: 1.5; margin-top: 9px; }
    .plan-category .build-grid, .plan-category .care-grid { gap: 16px; }
    .plan-category .build-card, .plan-category .care-card { padding: 24px 20px; border-radius: 8px; }
    .plan-category .build-card h3, .plan-category .care-card h3 { font-size: 28px; }
    .plan-category .build-card__scale { float: none; display: flex; gap: 8px; align-items: baseline; margin: 16px 0; }
    .plan-category .build-card__scale strong { font-size: 24px; }
    .plan-category .build-card__price strong, .plan-category .care-card__price strong { font-size: 38px; }
    .plan-category .build-card__promise, .plan-category .care-card__promise { font-size: 16px; line-height: 1.5; }
    .plan-category .build-card__details summary, .plan-category .care-card__details summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
    .plan-category .build-card__details > div span, .plan-category .care-card__details > div span { font-size: 14px; line-height: 1.6; }
    .plan-category .included-strip { display: grid; gap: 12px; font-size: 13px; line-height: 1.6; }
    .plan-category .shop-care { padding: 0 16px; border-radius: 8px; }
    .plan-category .shop-care__summary { padding: 22px 0; flex-wrap: wrap; }
    .plan-category .shop-care__title { font-size: 24px; }
    .plan-category .shop-care__from { font-size: 14px; line-height: 1.5; }
    .shop-plan { padding: 26px 14px; }
    .shop-plan__label { font-size: 10px; letter-spacing: .08em; line-height: 1.5; }
    .shop-plan__name { font-size: 28px; }
    .shop-plan__price strong { font-size: 36px; font-weight: 500; }
    .shop-plan__headline { font-size: 18px; line-height: 1.4; }
    .shop-plan__list { font-size: 15px; line-height: 1.6; }
    .shop-plan__cta { min-height: 52px; font: 500 14px/1.4 var(--font-brand); text-transform: none; letter-spacing: 0; }
    .shop-plan__priority strong { font-size: 22px; }
    .shop-plan__priority p { font-size: 14px; line-height: 1.6; }
    .addition-groups summary::after, .pricing-faq-list summary::after { color: #52798a; }
    .addition-groups { grid-template-columns: 1fr; }
    .addition-groups > details > summary, .pricing-faq-list summary { padding: 20px 0; min-height: 60px; font-size: 17px; line-height: 1.4; }
    .addition-list article { gap: 12px; }
    .addition-list h3 { font-size: 15px; line-height: 1.4; }
    .addition-list small { font-size: 12px; }
    .pricing-faq-list details p { font-size: 15px; line-height: 1.65; }
    .pricing-studio-page .pricing-final-cta { padding: 48px var(--mobile-gutter) 56px; text-align: left; background: #e0ebef; }
    .pricing-final-cta h2 { font-size: 36px; max-width: 12ch; }
    .pricing-final-cta .studio-actions { margin-top: 28px; }
    .pricing-final-cta .button { min-height: 54px; width: 100%; font-size: 15px; }

    /* Compact catalog cards keep the plan and price in the same glance. */
    .plan-category .build-card, .plan-category .care-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 16px; }
    .plan-category .build-card__header { grid-column: 1; grid-row: 1; align-self: center; }
    .plan-category .build-card h3, .plan-category .care-card h3 { font-size: 25px; line-height: 1.12; }
    .plan-category .build-card__scale { grid-column: 1; grid-row: 2; margin: 10px 0 0; padding: 0; border: 0; gap: 6px; }
    .plan-category .build-card__scale strong { font-size: 20px; }
    .plan-category .build-card__scale span { font-size: 10px; line-height: 1.4; }
    .plan-category .build-card__price { grid-column: 2; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; padding: 0; margin: 0; border: 0; }
    .plan-category .build-card__price strong { font-size: 30px; font-weight: 500; }
    .plan-category .build-card__price > span, .plan-category .build-card__price > small { font: 400 11px/1.4 var(--font-brand); letter-spacing: 0; text-transform: none; }
    .plan-category .care-card header { grid-column: 1; align-self: center; }
    .plan-category .care-card__price { grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; margin: 0; padding: 0; border: 0; }
    .plan-category .care-card__price strong { font-size: 32px; font-weight: 500; }
    .plan-category .care-card__price span { font: 400 11px var(--font-brand); }
    .plan-category .build-card__promise, .plan-category .care-card__promise { grid-column: 1 / -1; margin: 22px 0 0; padding: 18px 0; border-top: 1px solid #cfdee4; font-size: 15px; font-weight: 400; }
    .plan-category .build-card__details, .plan-category .care-card__details { grid-column: 1 / -1; margin: 0; }
    .plan-category .build-card__details summary, .plan-category .care-card__details summary { font: 500 14px/1.4 var(--font-brand); color: #264f62; text-transform: none; letter-spacing: 0; padding: 12px 0; }
    .plan-category .included-strip { grid-template-columns: 1fr; padding: 24px 0 0; gap: 0; border: 0; }
    .plan-category .included-strip > * { padding: 13px 0; border: 0; border-bottom: 1px solid #c3d3db; font: 400 14px/1.5 var(--font-brand); text-transform: none; letter-spacing: 0; }
    .plan-category .included-strip strong { color: #173747; font-weight: 600; }

    /* Contact: quiet identity above an edge-aligned, readable project brief. */
    .studio-page--contact main { padding-top: 80px; }
    .studio-page--contact .igloo-room { padding: 20px 0 0; }
    .studio-page--contact .igloo-panel { display: flex; width: 100%; gap: 0; padding: 0; flex-direction: column; }
    .studio-page--contact .contact-overview { display: contents; }
    .studio-page--contact .igloo-panel__head { order: 1; padding: 12px var(--mobile-gutter) 0; }
    .studio-page--contact .contact-title { font-size: clamp(44px, 12.4vw, 68px); line-height: .98; letter-spacing: -.055em; }
    .studio-page--contact .contact-title__lead { font-size: 11px; letter-spacing: .17em; margin-bottom: 14px; }
    .studio-page--contact .contact-title__message { font-size: 14px; line-height: 1.5; margin-top: 14px; text-align: left; }
    .studio-page--contact .contact-card { order: 2; margin-top: 28px; padding: 24px var(--mobile-gutter) 32px; border-radius: 20px 20px 0 0; border: 0; background: #edf3f5; box-shadow: none; }
    .studio-page--contact .contact-card::after { display: none; }
    .studio-page--contact .contact-flow { display: none; }
    .studio-page--contact .contact-flow strong { font-size: 10px; letter-spacing: .015em; }
    .studio-page--contact .contact-flow li > span { width: 28px; height: 28px; font-size: 11px; }
    .studio-page--contact .contact-form__fields { gap: 14px; }
    .studio-page--contact .contact-form .form-field::before { border-radius: 8px; background: #fbfdfd; box-shadow: inset 0 0 0 1px #bfced5; }
    .studio-page--contact .contact-form .form-field input,
    .studio-page--contact .contact-form .form-field select { min-height: 66px; font-size: 16px; }
    .studio-page--contact .contact-form .form-field label { font-size: 14px; }
    .studio-page--contact .contact-form .form-field--select label { font-size: 11px; line-height: 1.4; }
    .studio-page--contact .contact-form .form-field textarea { min-height: 160px; font-size: 16px; }
    .studio-page--contact .contact-form__guidance { font-size: 13px; line-height: 1.6; margin-top: -4px; }
    .studio-page--contact .contact-form__actions { margin-top: 22px; }
    .studio-page--contact .contact-form__actions .button { min-height: 56px; border-radius: 6px; font-size: 15px; text-transform: none; box-shadow: none; }
    .studio-page--contact .contact-answer { padding: 18px; }
    .studio-page--contact .contact-answer p, .studio-page--contact .form-status { font-size: 14px; line-height: 1.6; }
    .studio-page--contact .contact-methods {
        order: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
        margin: 0;
        padding: 20px var(--mobile-gutter) 36px;
        border: 0;
    }
    .studio-page--contact .contact-methods a {
        display: grid;
        grid-template-columns: 1fr;
        align-content: space-between;
        gap: 10px;
        min-height: 96px;
        padding: 16px;
        border: 0;
        border-radius: 8px;
        background: rgba(19, 55, 70, 0.9);
        color: #e5f5fa;
        box-shadow: inset 0 0 0 1px rgba(175, 218, 229, 0.2);
    }
    .studio-page--contact .contact-methods a::after { display: none; }
    .studio-page--contact .contact-methods a:hover,
    .studio-page--contact .contact-methods a:focus-visible { border: 0; background: #204b5c; }
    .studio-page--contact .contact-methods span:first-child { color: #a9ddea; font-size: 10px; letter-spacing: .1em; }
    .studio-page--contact .contact-methods span:last-child {
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
        overflow: visible;
        overflow-wrap: anywhere;
        text-overflow: clip;
        white-space: normal;
    }
    .studio-page--contact .contact-methods a[href^="mailto:"] span:last-child {
        font-size: 12px;
        letter-spacing: -0.015em;
        overflow-wrap: normal;
        white-space: nowrap;
    }

    /* Services: an oversized opening statement and a compact, legible blueprint. */
    .services-page .services-hero { padding: 114px var(--mobile-gutter) 0; gap: 28px; background: #edf2f3; }
    .services-hero h1 { font-size: clamp(48px, 13.5vw, 68px); line-height: 1; max-width: 10ch; }
    .services-page .services-eyebrow { font-size: 11px; line-height: 1.5; margin-bottom: 18px; }
    .services-hero__lede { font-size: 16px; line-height: 1.6; }
    .services-hero__copy > .services-link { display: flex; width: 100%; min-height: 54px; font-size: 16px; }
    .services-blueprint { height: 340px; max-width: 420px; margin: 8px auto 0; }
    .services-blueprint__orbit { display: none; }
    .blueprint-sheet { width: 84%; border-radius: 6px; }
    .blueprint-sheet--structure { top: 0; height: 228px; transform: rotate(4deg); right: 3px; }
    .blueprint-sheet--design { top: 58px; transform: rotate(-3deg); left: 4px; }
    .blueprint-sheet__bar { font-size: 9px; padding: 12px; }
    .blueprint-code { padding: 20px; font-size: 12px; }
    body .blueprint-design__name { font-size: 36px; }
    .blueprint-design { padding: 18px; }
    .blueprint-design svg { max-height: 108px; }
    .blueprint-swatches { padding: 10px 18px 16px; }
    .blueprint-swatches > span { font-size: 8px; }
    .blueprint-discovery { bottom: 24px; right: 0; padding: 12px 16px; gap: 12px; border-radius: 5px; font-size: 9px; }
    .blueprint-discovery strong { font-size: 13px; }
    .services-blueprint figcaption { font-size: 10px; bottom: -8px; }
    .services-hero__baseline { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 20px; padding: 12px 0; font-size: 12px; }
    .services-hero__baseline span { padding: 14px 0; }
    .services-hero__baseline span::before { display: inline-block; }
    .services-close { grid-template-columns: 1fr; gap: 24px; padding: 48px var(--mobile-gutter) 56px; background: #e1ebef; }
    .services-close h2 { font-size: 48px; line-height: 1.04; }
    .services-close .services-eyebrow { margin-bottom: 0; }
    .services-close .services-link { width: 100%; min-height: 56px; font-size: 16px; }

    /* Sign-in: a calm, keyboard-friendly single column, without a nested card. */
    .signin-layout { justify-content: flex-start; width: 100%; padding: max(38px, env(safe-area-inset-top)) var(--mobile-gutter) 28px; }
    .signin-layout > .wordmark { align-self: flex-start; font-size: 14px; margin-bottom: 44px; }
    .signin-layout .wordmark-page { font-size: 11px; }
    .signin-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
    .signin-card::before { left: 0; top: -16px; width: 32px; }
    .signin-card h1 { font-size: 40px; font-weight: 500; margin-bottom: 32px; }
    .signin-card label { font-size: 15px; }
    .signin-card input { min-height: 56px; font-size: 16px; border-radius: 6px; }
    .signin-password-label { margin-top: 18px; align-items: center; }
    .signin-password-label button { min-height: 44px; font-size: 13px; }
    .signin-submit { min-height: 56px; margin-top: 24px; font-size: 16px; }
    .signin-status, .signin-error { font-size: 13px; line-height: 1.6; }
    .signin-help a, .signin-demo summary { min-height: 48px; display: flex; align-items: center; font-size: 14px; }
    .signin-footer { padding: 16px var(--mobile-gutter) max(28px, env(safe-area-inset-bottom)); }
    .signin-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }

    /* Legal and recovery pages: long-form reading with a clear return path. */
    body.mobile-legal { color: #183747; background: #edf2f3; }
    .mobile-legal .glass-nav { position: sticky; background: #102633; border: 0; }
    .mobile-legal .glass-nav > div { gap: 16px; padding: 12px var(--mobile-gutter); }
    .mobile-legal .logo-wordmark { font: 600 12px/1.3 'IBM Plex Mono', monospace; }
    .mobile-legal .glass-nav a:last-child { display: flex; align-items: center; min-height: 44px; font-size: 12px; flex-shrink: 0; color: #d3e5ed; }
    .mobile-legal main { padding: 36px var(--mobile-gutter) 56px; font-size: 16px; line-height: 1.75; }
    .mobile-legal main :is(p, li, td, th) { color: #426170; overflow-wrap: anywhere; }
    .mobile-legal main h1 { font-size: 38px; line-height: 1.1; font-weight: 500; color: #183747; }
    .mobile-legal main h2 { color: #183747; font-size: 23px; line-height: 1.25; margin-bottom: 16px; }
    .mobile-legal main h3 { color: #183747; font-size: 19px; line-height: 1.35; }
    .mobile-legal main > section:nth-child(2) > div { margin-top: 32px; padding-top: 28px; border-top: 1px solid #b5cbd5; }
    .mobile-legal main a { color: #1b607c; text-underline-offset: 4px; }
    .mobile-legal footer { padding: 28px var(--mobile-gutter); background: #102633; }
    .mobile-recovery, .mobile-recovery * { box-sizing: border-box; }
    .mobile-recovery main { width: 100%; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px var(--mobile-gutter); }
    .mobile-recovery h1 { font-size: 100px; font-weight: 500; letter-spacing: -.06em; line-height: 1; margin: 0 0 24px; }
    .mobile-recovery p { font-size: 19px; line-height: 1.5; }
    .mobile-recovery a { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; margin-top: 32px; padding: 14px 18px; border: 1px solid #8caeba; border-radius: 6px; font-size: 16px; }

    /* Quick answers: small launcher, large reading surface when opened. */
    body .bys-quick-answers { right: max(12px, env(safe-area-inset-right)); left: auto; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; }
    body .bys-quick-answers__trigger { width: 56px; height: 56px; min-height: 56px; justify-content: center; padding: 5px; border-radius: 18px; }
    body .bys-quick-answers__trigger-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    body .bys-quick-answers__trigger .bys-quick-answers__mascot { width: 44px; height: 44px; }
    body .bys-quick-answers:has(.bys-quick-answers__panel:not([hidden])) { inset: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom)); width: auto; }
    body .bys-quick-answers__panel { height: 100%; max-height: 100%; margin: 0; border-radius: 14px; }
    body .bys-quick-answers:has(.bys-quick-answers__panel:not([hidden])) .bys-quick-answers__trigger { display: none; }
    body .bys-quick-answers__header { padding: 14px 16px; }
    body .bys-quick-answers__body { padding: 24px 20px; flex: 1; }
    body .bys-quick-answers__title { font-size: 28px; line-height: 1.15; }
    body .bys-quick-answers__option { min-height: 66px; font-size: 15px !important; }
    body .bys-quick-answers__estimate-start { min-height: 64px; }
    body .bys-quick-answers__reply { padding: 18px; }
    body .bys-quick-answers__reply-copy { font-size: 16px; line-height: 1.7; }
    body .bys-quick-answers__note { font-size: 11px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 740px) {
    /* Without a 3D scene, go straight from the headline into the service path. */
    .no-js [data-page="home"] .story-hero,
    body.no-webgl[data-page="home"] .story-hero { height: 350px !important; min-height: 350px; }
    .no-js [data-page="home"] .story-hero__stage,
    body.no-webgl[data-page="home"] .story-hero__stage { height: 350px !important; min-height: 350px; }
    .no-js [data-page="home"] #story-hero-title { color: #173747; text-shadow: none; }
}
@media (max-width: 740px) and (max-height: 480px) and (orientation: landscape) {
    [data-page="home"] .story-hero__content { top: 94px; right: auto; width: 30vw; }
    [data-page="home"] .story-hero__kicker { font-size: 8px; max-width: 24ch; }
    [data-page="home"] #story-hero-title { font-size: clamp(22px, 3.7vw, 28px); line-height: 1.08; margin-top: 12px !important; }
}
