/* Commercial screens. The quote dialog has its own responsive rules. */
@media (min-width: 1680px) {
  .hero-copy { padding-left: 200px; }
  .hero-rail { left: 200px; right: 200px; }
  .story-layout { max-width: 1680px; margin-inline: auto; padding-inline: 200px; }
}

@media (max-width: 1359px) {
  .quick-start,
  .screen-heading,
  .service-hub-grid,
  .spaces-grid,
  .inspiration-note,
  .process-block,
  .home-nudge,
  .service-bottom-callout,
  .julio-screen,
  .app-screen > .image-disclaimer {
    margin-left: 32px;
    margin-right: 32px;
  }
  .quick-start > .image-disclaimer { margin-inline: 0; }
  .app-header { gap: 24px; }
  .app-nav { gap: 22px; }
  .hero-copy { padding-left: 40px; }
  .hero-rail { left: 40px; right: 40px; }
  .julio-screen { gap: 46px; }
  .julio-copy h1 { font-size: clamp(44px, 4.4vw, 57px); }
}

@media (min-width: 851px) and (max-width: 1050px) {
  .app-header { padding-inline: 24px; gap: 20px; }
  .brand-mark { width: 65px; height: 46px; }
  .brand-lockup strong { font-size: 15px; }
  .brand-lockup small { font-size: 9px; letter-spacing: .07em; }
  .brand { gap: 9px; }
  .app-nav { gap: 18px; }
  .nav-item { font-size: 13px; }
  .header-cta { padding-inline: 16px; }
  .header-cta span { margin-left: 8px; }
  .hero-copy { width: 66%; }
  .hero-copy h1 { font-size: 56px; }
  .hero-lede { max-width: 420px; }
  .hero-caption { right: 28px; }
  .quick-grid, .service-hub-grid { gap: 18px; }
  .quick-copy, .hub-content { left: 22px; right: 22px; }
  .quick-copy strong, .hub-content strong { font-size: 28px; }
  .process-grid { gap: 20px; }
}

@media (max-width: 1000px) {
  .app-header { height: 84px; padding-inline: 28px; gap: 18px; }
  .brand-mark { width: 68px; height: 48px; }
  .brand-lockup strong { font-size: 16px; }
  .brand-lockup small { font-size: 9px; }
  .nav-toggle { display: flex; order: 3; flex-shrink: 0; }
  .header-cta { order: 2; margin-left: auto; font-size: 13px; }
  .app-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    padding: 14px 22px;
    margin: 0;
    background: #0b2337;
    border: 1px solid #f4ca6266;
    border-radius: 16px;
    box-shadow: 0 16px 40px #0006;
  }
  .app-nav.is-open { display: grid; gap: 0; }
  .nav-item {
    min-height: 54px;
    padding: 13px 4px;
    text-align: left;
    font-size: 16px;
    border-bottom: 1px solid #dce7f11c;
  }
  .nav-item:last-child { border-bottom: 0; }
  .nav-item.is-active { color: var(--gold); }
  .nav-item.is-active:after { display: none; }

  .home-hero { min-height: 710px; }
  .hero-copy { width: 69%; padding: 55px 0 135px 32px; }
  .hero-copy h1 { font-size: 52px; }
  .hero-overline { font-size: 11px; letter-spacing: .14em; }
  .hero-lede { font-size: 17px; max-width: 405px; }
  .hero-visual { width: 75%; }
  .hero-photo { background-position: right center; }
  .hero-photo:after {
    background: linear-gradient(90deg, #061a2a 2%, #061a2ade 15%, #061a2a55 48%, transparent 78%), linear-gradient(0deg, #061a2a, transparent 28%);
  }
  .hero-actions { gap: 12px; }
  .hero-caption { right: 24px; bottom: 116px; max-width: 200px; }
  .hero-caption strong { font-size: 23px; }
  .hero-rail { left: 32px; right: 32px; gap: 18px; font-size: 12px; }
  .hero-rail span:before { margin-right: 7px; }
  .hero-rail i { flex-shrink: 0; }

  .quick-start { padding-top: 58px; }
  .quick-grid { grid-template-columns: 1fr; gap: 20px; }
  .quick-card { min-height: 330px; }
  .quick-art { background-size: auto 180%; background-position: right 45%; }
  .quick-assembly .quick-art { background-size: auto 220%; background-position: right 50%; }
  .quick-complete .quick-art { background-size: auto 210%; background-position: right 43%; }
  .quick-card-shade { background: linear-gradient(90deg, #061a2af2, #061a2a7a 55%, transparent), linear-gradient(0deg, #061a2ae6, transparent 65%); }
  .quick-copy { left: 28px; bottom: 28px; max-width: 330px; }
  .quick-copy strong { font-size: 34px; }
  .quick-copy > span { font-size: 14px; }
  .home-nudge { flex-wrap: wrap; padding: 26px; gap: 18px; }
  .home-nudge > div:nth-child(2) { flex: 1; min-width: 0; }
  .home-nudge .text-link { margin-left: 72px; }

  .screen-heading { padding-top: 48px; padding-bottom: 32px; gap: 24px; flex-direction: column; align-items: flex-start; }
  .screen-heading h1 { font-size: 48px; }
  .screen-heading > p { max-width: 590px; }
  .service-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .hub-card { min-height: 350px; }
  .hub-content { left: 23px; right: 23px; }
  .hub-content strong { font-size: 30px; }
  .hub-content > span { font-size: 14px; }
  .service-bottom-callout { gap: 20px; }

  .story-layout { padding: 50px 32px 90px; min-height: 710px; }
  .story-copy { width: 70%; }
  .story-copy h1 { font-size: 49px; }
  .story-art { left: 28%; }
  .story-lede { max-width: 420px; font-size: 16px; }
  .story-benefit { font-size: 15px; }
  .story-signature { right: 32px; }
  .spaces-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .space-card { min-height: 180px; }

  .julio-screen { margin-top: 42px; gap: 32px; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; }
  .julio-portrait { min-height: 520px; }
  .julio-copy h1 { font-size: 43px; }
  .julio-copy .micro-label { font-size: 10px; letter-spacing: .1em; }
  .julio-copy .button { padding-inline: 20px; gap: 15px; }
  .portrait-caption { left: 22px; bottom: 25px; padding-left: 14px; }
  .portrait-caption strong { font-size: 30px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { font-size: 14px; }

  .app-footer { padding: 30px 32px; flex-wrap: wrap; gap: 18px 24px; }
  .footer-brand { margin-right: auto; }
  .footer-area { font-size: 13px; }
  .footer-contact { min-height: 48px; }
}

@media (max-width: 600px) {
  .app-header { height: 80px; padding-inline: 20px; gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 60px; height: 43px; }
  .brand-lockup strong { font-size: 14px; letter-spacing: .01em; }
  .brand-lockup small { font-size: 9px; letter-spacing: .045em; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; width: 44px; height: 44px; }
  .app-nav { left: 16px; right: 16px; }

  .home-hero { min-height: 0; }
  .hero-copy { width: 100%; padding: 260px 22px 32px; }
  .hero-visual { inset: 0 0 auto; width: 100%; height: 420px; }
  .hero-photo { background-position: right top; background-size: auto 112%; }
  .hero-photo:after {
    background: linear-gradient(180deg, #061a2a0a 20%, #061a2a24 38%, #061a2aba 63%, #061a2a 91%), linear-gradient(90deg, #061a2a5c, transparent 50%);
  }
  .hero-caption { display: none; }
  .location-pill { font-size: 12px; line-height: 1.6; gap: 9px; }
  .hero-overline { font-size: 10px; letter-spacing: .105em; margin: 24px 0 17px; line-height: 1.6; }
  .hero-copy h1 { font-size: clamp(40px, 10.7vw, 48px); letter-spacing: -.045em; line-height: 1.08; max-width: 490px; }
  .hero-lede { font-size: 16px; line-height: 1.75; max-width: 440px; margin-top: 23px; }
  .hero-actions { margin-top: 27px; gap: 13px; flex-direction: column; align-items: stretch; }
  .hero-actions .button-gold,
  .story-copy .button-gold,
  .julio-copy .button-gold { width: 100%; min-height: 62px; padding: 14px 20px; gap: 16px; justify-content: space-between; font-size: 16px; }
  .hero-actions .button-quiet { min-height: 46px; font-size: 15px; }
  .hero-assurance { margin-top: 22px; gap: 12px; font-size: 14px; }
  .hero-assurance small { font-size: 12px; margin-top: 3px; }
  .assurance-avatar { width: 46px; height: 46px; }
  .hero-rail { position: static; height: auto; margin: 0 22px; padding: 22px 0; display: grid; gap: 11px; font-size: 14px; }
  .hero-rail i { display: none; }
  .hero-rail span:before { margin-right: 12px; }

  .quick-start,
  .screen-heading,
  .service-hub-grid,
  .spaces-grid,
  .inspiration-note,
  .process-block,
  .home-nudge,
  .service-bottom-callout,
  .julio-screen,
  .app-screen > .image-disclaimer { margin-left: 22px; margin-right: 22px; }
  .quick-start { padding-top: 44px; padding-bottom: 26px; }
  .micro-label { font-size: 11px; line-height: 1.6; letter-spacing: .12em; margin-bottom: 16px; }
  .section-intro h2 { font-size: 36px; line-height: 1.14; letter-spacing: -.035em; }
  .section-intro > p:last-child { font-size: 16px; line-height: 1.75; margin-top: 21px; }
  .quick-grid { margin-top: 28px; gap: 20px; }
  .quick-card { min-height: 350px; border-radius: 17px; }
  .quick-art { background-size: auto 145%; background-position: right 45%; }
  .quick-assembly .quick-art { background-size: auto 175%; background-position: right 50%; }
  .quick-complete .quick-art { background-size: auto 170%; background-position: right 45%; }
  .quick-card-shade { background: linear-gradient(0deg, #061a2a 1%, #061a2af5 19%, #061a2a82 48%, transparent 75%); }
  .quick-copy { left: 24px; right: 24px; bottom: 25px; max-width: none; }
  .quick-copy small, .hub-content small { font-size: 11px; letter-spacing: .12em; }
  .quick-copy strong, .hub-content strong { font-size: 31px; line-height: 1.16; margin-top: 10px; margin-bottom: 16px; }
  .quick-copy > span, .hub-content > span { font-size: 14px; line-height: 1.5; }
  .image-disclaimer { font-size: 12px; margin-top: 16px; }
  .home-nudge { display: grid; grid-template-columns: 42px minmax(0, 1fr); padding: 23px 20px; gap: 18px 14px; margin-bottom: 48px; margin-top: 8px; }
  .nudge-mark { width: 42px; height: 42px; font-size: 28px; }
  .home-nudge strong { font-size: 16px; line-height: 1.5; display: block; }
  .home-nudge p { font-size: 14px; line-height: 1.7; margin-top: 7px; }
  .home-nudge .text-link { grid-column: 1 / -1; margin-left: 0; min-height: 44px; justify-content: space-between; font-size: 15px; }

  .screen-heading { padding-top: 39px; padding-bottom: 29px; gap: 21px; }
  .screen-heading h1 { font-size: 42px; line-height: 1.11; }
  .screen-heading > p { font-size: 16px; line-height: 1.75; }
  .service-hub-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hub-card { min-height: 345px; }
  .hub-content { left: 24px; right: 24px; bottom: 25px; }
  .hub-icon { width: 46px; height: 46px; }
  .service-bottom-callout { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 25px; margin-bottom: 44px; padding: 23px 0 0; font-size: 16px; }
  .service-bottom-callout .text-link { min-height: 46px; justify-content: space-between; font-size: 15px; }

  .story-layout { min-height: 0; padding: 270px 22px 34px; }
  .story-art { inset: 0 0 auto; width: 100%; height: 430px; background-position: right top; background-size: auto 113%; }
  .story-art:after { background: linear-gradient(180deg, #061a2a0a 18%, #061a2a33 40%, #061a2abf 64%, #061a2a 92%), linear-gradient(90deg, #061a2a42, transparent 65%); }
  .story-art-assembly, .story-art-disassembly { background-position: right 45%; background-size: auto 164%; }
  .story-art-complete { background-position: right 42%; background-size: auto 158%; }
  .story-copy { width: 100%; max-width: none; }
  .story-kicker { font-size: 11px; letter-spacing: .13em; line-height: 1.6; margin: 25px 0 17px; }
  .story-copy h1 { font-size: 42px; line-height: 1.11; letter-spacing: -.04em; }
  .story-lede { font-size: 16px; line-height: 1.75; margin-top: 24px; }
  .story-benefits { margin-top: 24px; margin-bottom: 28px; gap: 16px; }
  .story-benefit { align-items: flex-start; font-size: 16px; line-height: 1.6; gap: 12px; }
  .story-benefit-icon { flex-shrink: 0; }
  .story-back { width: 100%; min-height: 48px; margin-top: 18px; font-size: 14px; text-align: center; }
  .story-signature { display: block; position: static; margin-top: 23px; padding-top: 23px; border-top: 1px solid var(--line); font-size: 13px; }
  .story-signature i { font-size: 11px; margin-top: 4px; }

  .spaces-grid { gap: 13px; }
  .space-card { min-height: 184px; padding: 16px; border-radius: 14px; }
  .space-card span { left: 16px; right: 16px; bottom: 18px; font-size: 15px; line-height: 1.4; align-items: flex-end; gap: 7px; }
  .space-card i { font-size: 21px; flex-shrink: 0; }
  .space-card:before { right: 18px; transform: perspective(260px) rotateY(-25deg) scale(.82); transform-origin: right center; }
  .space-card:after { opacity: .5; }
  .inspiration-note { margin-top: 25px; padding: 22px 20px; gap: 13px; }
  .note-icon { font-size: 22px; }
  .inspiration-note strong { font-size: 16px; line-height: 1.5; }
  .inspiration-note p { font-size: 14px; line-height: 1.75; margin-top: 9px; }
  #screen-ambientes > .image-disclaimer { margin-bottom: 42px; }

  .julio-screen { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 27px; margin-bottom: 43px; }
  .julio-portrait { min-height: 0; height: 430px; background-position: center 23%; border-radius: 18px; }
  .portrait-caption { bottom: 27px; left: 25px; }
  .portrait-caption span { font-size: 11px; }
  .portrait-caption strong { font-size: 34px; }
  .portrait-caption small { font-size: 13px; }
  .julio-copy .micro-label { font-size: 11px; letter-spacing: .12em; }
  .julio-copy h1 { font-size: 42px; line-height: 1.12; }
  .julio-copy > p:not(.micro-label):not(.julio-kicker) { font-size: 16px; line-height: 1.8; margin-top: 23px; }
  .julio-copy .button { margin-top: 28px; }
  .julio-location { font-size: 13px; line-height: 1.7; margin-top: 25px; }
  .process-block { margin-bottom: 42px; padding-top: 36px; }
  .process-heading h2 { font-size: 36px; line-height: 1.15; }
  .process-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 29px; }
  .process-grid article { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 17px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .process-grid article:last-child { border-bottom: 0; padding-bottom: 0; }
  .process-grid article > span { font-size: 32px; line-height: 1.3; }
  .process-grid h3 { font-size: 16px; margin: 0 0 6px; line-height: 1.5; }
  .process-grid p { font-size: 14px; line-height: 1.75; }

  .app-footer { display: flex; flex-direction: column; align-items: flex-start; padding: 29px 22px calc(25px + env(safe-area-inset-bottom)); gap: 15px; }
  .footer-brand { margin-right: 0; gap: 11px; }
  .footer-brand .brand-mark { width: 64px; height: 44px; }
  .footer-brand strong { font-size: 15px; }
  .footer-brand small { font-size: 10px; letter-spacing: .03em; }
  .footer-area { font-size: 13px; line-height: 1.7; }
  .footer-contact { font-size: 17px; min-height: 48px; padding: 8px 0; }
}

@media (max-width: 375px) {
  .app-header { padding-inline: 16px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { width: 55px; height: 40px; }
  .brand-lockup strong { font-size: 13px; }
  .brand-lockup small { font-size: 8px; letter-spacing: .055em; }
  .hero-copy, .story-layout { padding-left: 20px; padding-right: 20px; }
  .hero-copy h1, .story-copy h1, .screen-heading h1, .julio-copy h1 { font-size: 40px; }
  .hero-actions .button-gold, .story-copy .button-gold, .julio-copy .button-gold { font-size: 15px; padding-inline: 18px; gap: 12px; }
  .hero-overline { font-size: 9px; letter-spacing: .09em; }
  .spaces-grid { grid-template-columns: minmax(0, 1fr); }
  .space-card { min-height: 160px; }
  .space-card span { font-size: 18px; }
}

/* One shared column edge for navigation, photography and content. */
:root { --page-gutter: max(28px, calc((100vw - 1280px) / 2)); }
.app-header,.app-footer { padding-inline: var(--page-gutter); }
.home-hero { max-width: none; }
.hero-copy { padding-left: var(--page-gutter); }
.hero-rail { left: var(--page-gutter); right: var(--page-gutter); }
.quick-start,.screen-heading,.service-hub-grid,.spaces-grid,.inspiration-note,.process-block,.home-nudge,.service-bottom-callout,.julio-screen,.app-screen > .image-disclaimer { margin-inline: var(--page-gutter); }
.story-layout { max-width: none; padding-inline: var(--page-gutter); }
.brand-mark { height: 50px; }
.footer-brand .brand-mark { height: 40px; }
.brand-lockup small { font-size: 10px; letter-spacing: .045em; }
.quick-copy strong,.hub-content strong { text-wrap: balance; }
.hero-lede,.section-intro>p:last-child,.screen-heading>p,.story-lede,.julio-copy>p { text-wrap: pretty; }
.quick-copy small,.hub-content small { font-size: 11px; letter-spacing: .12em; }
.quick-copy>span,.hub-content>span { font-size: 14px; line-height: 1.5; min-height: 32px; }
.hero-rail { font-size: 13px; }
.hero-assurance { font-size: 14px; }
.hero-assurance small { font-size: 12px; }
.button-quiet { min-height: 48px; }
.quick-assembly .quick-art,.hub-assembly .hub-image,.hub-disassembly .hub-image { background-size: auto 285%; background-position: right 31%; }
.quick-complete .quick-art,.hub-complete .hub-image { background-size: auto 282%; background-position: right 29%; }
.story-art-assembly,.story-art-disassembly { background-size: auto 320%; background-position: right 31%; }
.story-art-complete { background-size: auto 310%; background-position: right 27%; }
.hub-icon { font-size: 0; width: 50px; height: 50px; border-radius: 13px; padding: 6px; box-shadow: inset 0 1px 0 #fff2, 3px 4px 0 #05132188; }
.hub-icon svg { width: 100%; height: 100%; }
.footer-area { font-size: 13px; }
.footer-brand small { font-size: 10px; }
@media(min-width:1001px) and (max-width:1180px) { .header-cta { display:none; }.app-header { gap:28px; }.app-nav { gap:26px; } }
@media(max-width:1000px) { .hero-copy h1 { max-width:12ch; }.brand-mark { height:44px; }.hero-caption { display:none; }.story-copy { width:76%; } }
@media(min-width:601px) and (max-width:1000px) { .quick-art { left:25%; }.quick-assembly .quick-art { background-size:auto 280%; }.quick-complete .quick-art { background-size:auto 275%; }.quick-copy { max-width:370px; }.quick-copy strong { font-size:36px; } }
@media(max-width:700px) { .julio-screen { grid-template-columns:minmax(0,1fr);gap:36px; }.julio-portrait { min-height:0;height:540px; }.julio-copy { max-width:560px; }.julio-copy h1 { max-width:18ch; }.julio-copy>p:not(.micro-label):not(.julio-kicker) { font-size:16px; } }
@media(max-width:600px) {
  :root { --page-gutter:22px; }
  .brand-mark { width:60px;height:39px; }
  .brand-lockup small { font-size:9px;letter-spacing:.015em; }
  .hero-copy { padding-right:var(--page-gutter); }
  .hero-copy h1 { max-width:none; }
  .hero-rail { margin-inline:var(--page-gutter);font-size:14px; }
  .hero-overline { font-size:10px;letter-spacing:.085em; }
  .story-copy { width:100%; }
  .story-art-assembly,.story-art-disassembly { background-size:auto 265%;background-position:right 31%; }
  .story-art-complete { background-size:auto 260%;background-position:right 27%; }
  .quick-assembly .quick-art,.hub-assembly .hub-image,.hub-disassembly .hub-image { background-size:auto 270%;background-position:right 31%; }
  .quick-complete .quick-art,.hub-complete .hub-image { background-size:auto 270%;background-position:right 27%; }
  .quick-copy,.hub-content { left:24px;right:24px;bottom:26px; }
  .quick-copy strong,.hub-content strong { margin-bottom:17px;max-width:14ch; }
  .julio-portrait { height:450px; }
  .footer-brand .brand-mark { height:41px; }
  .brand-lockup strong { letter-spacing:0; }
}
@media(max-width:375px) {
  :root { --page-gutter:20px; }
  .brand { gap:8px; }
  .brand-mark { width:54px;height:35px; }
  .brand-lockup strong { font-size:13px; }
  .brand-lockup small { font-size:8px;letter-spacing:0; }
  .nav-toggle { width:42px;height:42px; }
}
@media (prefers-reduced-motion: reduce) {
  .quick-card, .quick-art, .hub-card, .hub-image, .app-screen .button { transition: none; }
  .quick-card:hover, .hub-card:hover, .quick-card:hover .quick-art, .hub-card:hover .hub-image, .app-screen .button-gold:hover { transform: none; }
}
